Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.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.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",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.001434/0.001434, allocations: 106.2 kB / 16.41 MB, free: 6.488 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.001724/0.001724, allocations: 191.9 kB / 17.34 MB, free: 5.762 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.678/1.678, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8183/0.8183, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 65.08 kB / 0.568 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1398, allocations: 77.92 MB / 0.6441 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002518/0.1423, allocations: 1.454 MB / 0.6455 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004184/0.1428, allocations: 152.4 kB / 0.6456 GB, free: 7.926 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.6e-05/0.1428, allocations: 0 / 0.6456 GB, free: 7.926 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.984e-05/0.1429, allocations: 7.938 kB / 0.6456 GB, free: 7.918 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.948e-05/0.143, allocations: 7.922 kB / 0.6456 GB, free: 7.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.1432, allocations: 27.91 kB / 0.6457 GB, free: 7.883 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.1433, allocations: 35.92 kB / 0.6457 GB, free: 7.848 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1435, allocations: 35.91 kB / 0.6457 GB, free: 7.812 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.578e-05/0.1435, allocations: 12 kB / 0.6457 GB, free: 7.801 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.1436, allocations: 23.84 kB / 0.6458 GB, free: 7.777 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1436, allocations: 4 kB / 0.6458 GB, free: 7.773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-05/0.1437, allocations: 27.98 kB / 0.6458 GB, free: 7.746 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.1437, allocations: 11.98 kB / 0.6458 GB, free: 7.734 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.1438, allocations: 15.88 kB / 0.6458 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.1439, allocations: 72.06 kB / 0.6459 GB, free: 7.648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1439, allocations: 0 / 0.6459 GB, free: 7.648 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.144, allocations: 0 / 0.6459 GB, free: 7.648 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.144, allocations: 3.938 kB / 0.6459 GB, free: 7.645 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004508/0.1444, allocations: 359.2 kB / 0.6462 GB, free: 7.242 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1445, allocations: 12.62 kB / 0.6463 GB, free: 7.23 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.1445, allocations: 38.73 kB / 0.6463 GB, free: 7.184 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.1456, allocations: 208.6 kB / 0.6465 GB, free: 6.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.1457, allocations: 176.3 kB / 0.6467 GB, free: 6.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1458, allocations: 4.375 kB / 0.6467 GB, free: 6.766 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.1458, allocations: 384 / 0.6467 GB, free: 6.766 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005767/0.1464, allocations: 202 kB / 0.6469 GB, free: 6.562 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1464, allocations: 3.938 kB / 0.6469 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1464, allocations: 0 / 0.6469 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1464, allocations: 3.938 kB / 0.6469 GB, free: 6.555 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008593/0.1473, allocations: 275.6 kB / 0.6471 GB, free: 6.285 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009067/0.1482, allocations: 441.3 kB / 0.6475 GB, free: 5.801 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.1494, allocations: 286.2 kB / 0.6478 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/0.1498, allocations: 100.8 kB / 0.6479 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.1498, allocations: 8 kB / 0.6479 GB, free: 5.402 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.1499, allocations: 30.56 kB / 0.648 GB, free: 5.363 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1499, allocations: 0 / 0.648 GB, free: 5.363 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001246/0.1511, allocations: 313.2 kB / 0.6483 GB, free: 5.051 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.1512, allocations: 55.41 kB / 0.6483 GB, free: 4.984 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.1513, allocations: 113.8 kB / 0.6484 GB, free: 4.863 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.1514, allocations: 25.7 kB / 0.6484 GB, free: 4.832 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.1514, allocations: 96.12 kB / 0.6485 GB, free: 4.734 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.1515, allocations: 3.953 kB / 0.6485 GB, free: 4.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-05/0.1516, allocations: 13.72 kB / 0.6485 GB, free: 4.711 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1517, allocations: 330.8 kB / 0.6489 GB, free: 4.379 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005469/0.1523, allocations: 91.88 kB / 0.6489 GB, free: 4.289 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005422/0.1528, allocations: 100 kB / 0.649 GB, free: 4.191 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007974/0.1536, allocations: 180.5 kB / 0.6492 GB, free: 4.012 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1536, allocations: 0 / 0.6492 GB, free: 4.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007629/0.1544, allocations: 217.4 kB / 0.6494 GB, free: 3.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1544, allocations: 5.875 kB / 0.6494 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1544, allocations: 0 / 0.6494 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1545, allocations: 4 kB / 0.6494 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.1547, allocations: 31.95 kB / 0.6495 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1547, allocations: 0 / 0.6495 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.155, allocations: 39.94 kB / 0.6495 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.155, allocations: 0 / 0.6495 GB, free: 3.715 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 (3): * Single equations (assignments): 3 * 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 8.109e-05/0.1551, allocations: 118.7 kB / 0.6496 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.1551, allocations: 3.953 kB / 0.6496 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.844e-05/0.1552, allocations: 15.89 kB / 0.6496 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1552, allocations: 0 / 0.6496 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1552, allocations: 384 / 0.6496 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1552, allocations: 4 kB / 0.6496 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.1554, allocations: 221.3 kB / 0.6498 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1554, allocations: 0 / 0.6498 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.1557, allocations: 39.83 kB / 0.6499 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1557, allocations: 0 / 0.6499 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1557, allocations: 3.984 kB / 0.6499 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1557, allocations: 0 / 0.6499 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1557, allocations: 0 / 0.6499 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008035/0.1565, allocations: 315.2 kB / 0.6502 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.1566, allocations: 81.11 kB / 0.6503 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.1566, allocations: 4 kB / 0.6503 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.1568, allocations: 27.95 kB / 0.6503 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.1569, allocations: 7.984 kB / 0.6503 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.1569, allocations: 0 / 0.6503 GB, free: 2.789 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.979e-05/0.1569, allocations: 95.27 kB / 0.6504 GB, free: 2.695 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1569, allocations: 0 / 0.6504 GB, free: 2.695 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1572, allocations: 19.94 kB / 0.6504 GB, free: 2.676 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 (3): * Single equations (assignments): 3 * 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.001171/0.1584, allocations: 0.8372 MB / 0.6512 GB, free: 1.812 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007837/0.1592, allocations: 195.7 kB / 0.6514 GB, free: 1.621 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1592, allocations: 3.938 kB / 0.6514 GB, free: 1.617 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003792/0.1596, allocations: 107.8 kB / 0.6515 GB, free: 1.512 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.1598, allocations: 4 kB / 0.6515 GB, free: 1.508 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.1634, allocations: 1.833 MB / 0.6533 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.1637, allocations: 0.6924 MB / 0.654 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.326e-05/0.1638, allocations: 23.97 kB / 0.654 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.1638, allocations: 19.42 kB / 0.654 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1639, allocations: 0 / 0.654 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.1795, allocations: 1.953 MB / 0.6559 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.474/7.654, allocations: 11.34 kB / 0.656 GB, free: 12.95 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin_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_SmoothMin.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)