Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 106.4 kB / 16.41 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 189.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.666/1.666, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8026/0.8026, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 62.98 kB / 0.568 GB, free: 28.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1357, allocations: 77.93 MB / 0.6441 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002463/0.1382, allocations: 1.448 MB / 0.6455 GB, free: 8.105 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000877/0.1391, allocations: 0.5591 MB / 0.646 GB, free: 7.539 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.35e-05/0.1391, allocations: 0 / 0.646 GB, free: 7.539 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.1392, allocations: 7.922 kB / 0.646 GB, free: 7.531 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.87e-05/0.1392, allocations: 3.938 kB / 0.646 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.1395, allocations: 51.83 kB / 0.6461 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.829e-05/0.1396, allocations: 31.86 kB / 0.6461 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.901e-05/0.1397, allocations: 4 kB / 0.6461 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.534e-05/0.1397, allocations: 23.91 kB / 0.6461 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.1398, allocations: 15.92 kB / 0.6462 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.1398, allocations: 4 kB / 0.6462 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1399, allocations: 51.95 kB / 0.6462 GB, free: 7.348 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.14, allocations: 11.88 kB / 0.6462 GB, free: 7.336 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.14, allocations: 11.92 kB / 0.6462 GB, free: 7.324 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.1401, allocations: 64.08 kB / 0.6463 GB, free: 7.262 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1401, allocations: 0 / 0.6463 GB, free: 7.262 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1401, allocations: 0 / 0.6463 GB, free: 7.262 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1402, allocations: 0 / 0.6463 GB, free: 7.262 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003722/0.1405, allocations: 361.3 kB / 0.6466 GB, free: 6.863 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1406, allocations: 8.625 kB / 0.6466 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.1406, allocations: 34.75 kB / 0.6467 GB, free: 6.812 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.212e-05/0.1406, allocations: 4.938 kB / 0.6467 GB, free: 6.809 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.944e-05/0.1408, allocations: 168.3 kB / 0.6468 GB, free: 6.605 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1408, allocations: 4.359 kB / 0.6468 GB, free: 6.602 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.1408, allocations: 4.375 kB / 0.6469 GB, free: 6.598 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.1409, allocations: 49.75 kB / 0.6469 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1409, allocations: 4 kB / 0.6469 GB, free: 6.539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.1409, allocations: 0 / 0.6469 GB, free: 6.539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.1409, allocations: 3.938 kB / 0.6469 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.723e-05/0.141, allocations: 23.98 kB / 0.6469 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.1413, allocations: 248.9 kB / 0.6472 GB, free: 6.219 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.912e-05/0.1414, allocations: 34.56 kB / 0.6472 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.1415, allocations: 20.91 kB / 0.6472 GB, free: 6.152 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007787/0.1423, allocations: 477.3 kB / 0.6477 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1423, allocations: 34.56 kB / 0.6477 GB, free: 5.551 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.1423, allocations: 0 / 0.6477 GB, free: 5.551 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000223/0.1425, allocations: 69.62 kB / 0.6478 GB, free: 5.477 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.1426, allocations: 51.41 kB / 0.6478 GB, free: 5.414 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.446e-05/0.1427, allocations: 109.8 kB / 0.6479 GB, free: 5.297 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.1427, allocations: 29.7 kB / 0.648 GB, free: 5.262 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.1427, allocations: 80.14 kB / 0.648 GB, free: 5.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.1427, allocations: 7.953 kB / 0.648 GB, free: 5.172 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.1428, allocations: 13.72 kB / 0.6481 GB, free: 5.152 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.324e-05/0.1429, allocations: 322.9 kB / 0.6484 GB, free: 4.828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.706e-05/0.1429, allocations: 15.94 kB / 0.6484 GB, free: 4.812 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.416e-05/0.143, allocations: 7.984 kB / 0.6484 GB, free: 4.805 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.539e-05/0.1431, allocations: 24.84 kB / 0.6484 GB, free: 4.777 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1431, allocations: 0 / 0.6484 GB, free: 4.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001185/0.1432, allocations: 53.78 kB / 0.6485 GB, free: 4.719 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1432, allocations: 12 kB / 0.6485 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.1432, allocations: 0 / 0.6485 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.1432, allocations: 0 / 0.6485 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.1433, allocations: 4 kB / 0.6485 GB, free: 4.703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1433, allocations: 3.984 kB / 0.6485 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.355e-05/0.1434, allocations: 7.938 kB / 0.6485 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.1434, allocations: 0 / 0.6485 GB, free: 4.691 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.085e-05/0.1435, allocations: 114.6 kB / 0.6486 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.1435, allocations: 11.95 kB / 0.6486 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.1437, allocations: 61.2 kB / 0.6487 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1437, allocations: 0 / 0.6487 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.1437, allocations: 0 / 0.6487 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.1437, allocations: 0 / 0.6487 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.1438, allocations: 169.6 kB / 0.6488 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1439, allocations: 0 / 0.6488 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.1439, allocations: 7.938 kB / 0.6488 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1439, allocations: 0 / 0.6488 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1439, allocations: 4 kB / 0.6488 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.1439, allocations: 8.016 kB / 0.6488 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1439, allocations: 4 kB / 0.6488 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.1441, allocations: 147.4 kB / 0.649 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.1441, allocations: 85 kB / 0.6491 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1442, allocations: 4 kB / 0.6491 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.323e-05/0.1442, allocations: 7.984 kB / 0.6491 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/0.1443, allocations: 8.031 kB / 0.6491 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1443, allocations: 0 / 0.6491 GB, free: 3.969 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.967e-05/0.1443, allocations: 91.56 kB / 0.6492 GB, free: 3.879 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1443, allocations: 0 / 0.6492 GB, free: 3.879 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.1446, allocations: 16 kB / 0.6492 GB, free: 3.863 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004465/0.145, allocations: 0.7006 MB / 0.6499 GB, free: 3.137 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.1451, allocations: 19.98 kB / 0.6499 GB, free: 3.117 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1451, allocations: 0 / 0.6499 GB, free: 3.117 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.1452, allocations: 11.98 kB / 0.6499 GB, free: 3.105 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.1454, allocations: 8 kB / 0.6499 GB, free: 3.098 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.1458, allocations: 160.3 kB / 0.6501 GB, free: 2.902 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.146, allocations: 0.6768 MB / 0.6507 GB, free: 2.199 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.518e-05/0.1461, allocations: 4 kB / 0.6507 GB, free: 2.195 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.1461, allocations: 11.44 kB / 0.6507 GB, free: 2.184 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1461, allocations: 0 / 0.6507 GB, free: 2.184 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.1633, allocations: 1.602 MB / 0.6523 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.515, allocations: 11.98 kB / 0.6523 GB, free: 0.6406 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)