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.00128/0.00128, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 209.6 kB / 16.79 MB, free: 6.84 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.282/1.282, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6631/0.6631, allocations: 115.3 MB / 406 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 60.95 kB / 493 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1398, allocations: 76.18 MB / 0.5558 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002488/0.1423, allocations: 1.517 MB / 0.5573 GB, free: 9.203 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004071/0.1428, allocations: 148.3 kB / 0.5575 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.1428, allocations: 0 / 0.5575 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.317e-05/0.1429, allocations: 0 / 0.5575 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.53e-05/0.143, allocations: 11.92 kB / 0.5575 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.1431, allocations: 27.97 kB / 0.5575 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.162e-05/0.1432, allocations: 39.86 kB / 0.5575 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1434, allocations: 23.98 kB / 0.5576 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.1434, allocations: 11.94 kB / 0.5576 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.781e-05/0.1435, allocations: 15.92 kB / 0.5576 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.1435, allocations: 4 kB / 0.5576 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.69e-05/0.1436, allocations: 31.97 kB / 0.5576 GB, free: 8.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.1436, allocations: 19.91 kB / 0.5576 GB, free: 8.871 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.1436, allocations: 15.88 kB / 0.5577 GB, free: 8.855 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.1438, allocations: 59.84 kB / 0.5577 GB, free: 8.797 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1438, allocations: 0 / 0.5577 GB, free: 8.797 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1438, allocations: 4 kB / 0.5577 GB, free: 8.793 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1438, allocations: 0 / 0.5577 GB, free: 8.793 MB / 430.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.0004432/0.1442, allocations: 359.7 kB / 0.5581 GB, free: 8.391 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1443, allocations: 8.031 kB / 0.5581 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.1443, allocations: 34.73 kB / 0.5581 GB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.1454, allocations: 220.5 kB / 0.5583 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.1455, allocations: 172.2 kB / 0.5585 GB, free: 7.918 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1455, allocations: 4.375 kB / 0.5585 GB, free: 7.914 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.1455, allocations: 384 / 0.5585 GB, free: 7.914 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005449/0.1461, allocations: 198 kB / 0.5587 GB, free: 7.715 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1461, allocations: 3.938 kB / 0.5587 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1461, allocations: 0 / 0.5587 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1461, allocations: 4 kB / 0.5587 GB, free: 7.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008225/0.147, allocations: 275.6 kB / 0.5589 GB, free: 7.438 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008987/0.1479, allocations: 445.1 kB / 0.5594 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.1489, allocations: 290.1 kB / 0.5596 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.1493, allocations: 104.8 kB / 0.5597 GB, free: 6.555 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1493, allocations: 0 / 0.5597 GB, free: 6.555 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.1494, allocations: 34.56 kB / 0.5598 GB, free: 6.512 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.1494, allocations: 0 / 0.5598 GB, free: 6.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.00111/0.1505, allocations: 309.3 kB / 0.5601 GB, free: 6.203 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.1505, allocations: 55.34 kB / 0.5601 GB, free: 6.137 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.1506, allocations: 121.8 kB / 0.5602 GB, free: 6.008 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1506, allocations: 25.7 kB / 0.5603 GB, free: 5.977 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.1507, allocations: 92.19 kB / 0.5604 GB, free: 5.883 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.1507, allocations: 15.75 kB / 0.5604 GB, free: 5.867 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.1508, allocations: 17.72 kB / 0.5604 GB, free: 5.844 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1509, allocations: 318.8 kB / 0.5607 GB, free: 5.523 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.1513, allocations: 99.88 kB / 0.5608 GB, free: 5.426 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.1516, allocations: 91.88 kB / 0.5609 GB, free: 5.336 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006003/0.1522, allocations: 176.6 kB / 0.561 GB, free: 5.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1522, allocations: 0 / 0.561 GB, free: 5.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006721/0.1529, allocations: 213.4 kB / 0.5612 GB, free: 4.945 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1529, allocations: 8 kB / 0.5613 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1529, allocations: 0 / 0.5613 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1529, allocations: 0 / 0.5613 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.1532, allocations: 35.95 kB / 0.5613 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1532, allocations: 0 / 0.5613 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.1534, allocations: 23.95 kB / 0.5613 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.1534, allocations: 7.984 kB / 0.5613 GB, free: 4.871 MB / 430.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.032e-05/0.1535, allocations: 121.8 kB / 0.5614 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.1535, allocations: 3.906 kB / 0.5614 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.881e-05/0.1536, allocations: 12.22 kB / 0.5614 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1536, allocations: 0 / 0.5614 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1536, allocations: 0 / 0.5614 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1536, allocations: 3.984 kB / 0.5615 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.1538, allocations: 209.5 kB / 0.5617 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1538, allocations: 3.938 kB / 0.5617 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.154, allocations: 39.95 kB / 0.5617 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1541, allocations: 0 / 0.5617 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.1541, allocations: 7.984 kB / 0.5617 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1541, allocations: 4 kB / 0.5617 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1541, allocations: 0 / 0.5617 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007515/0.1548, allocations: 319.1 kB / 0.562 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.1549, allocations: 77.11 kB / 0.5621 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.1549, allocations: 0 / 0.5621 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.1551, allocations: 28.33 kB / 0.5621 GB, free: 3.961 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.1552, allocations: 3.984 kB / 0.5621 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.1552, allocations: 4 kB / 0.5621 GB, free: 3.953 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.153e-05/0.1553, allocations: 103.2 kB / 0.5622 GB, free: 3.852 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1553, allocations: 0 / 0.5622 GB, free: 3.852 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.1555, allocations: 15.94 kB / 0.5622 GB, free: 3.836 MB / 430.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.000978/0.1565, allocations: 0.841 MB / 0.5631 GB, free: 2.969 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007053/0.1572, allocations: 195.8 kB / 0.5632 GB, free: 2.777 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1572, allocations: 0 / 0.5632 GB, free: 2.777 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003474/0.1576, allocations: 99.86 kB / 0.5633 GB, free: 2.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.1578, allocations: 4 kB / 0.5633 GB, free: 2.676 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.1611, allocations: 1.848 MB / 0.5651 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.1614, allocations: 0.6848 MB / 0.5658 GB, free: 44 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.976e-05/0.1615, allocations: 23.98 kB / 0.5658 GB, free: 20 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.1616, allocations: 11.44 kB / 0.5658 GB, free: 8 kB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1616, allocations: 0 / 0.5658 GB, free: 8 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2115/0.3731, allocations: 1.73 MB / 0.5675 GB, free: 14.36 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.3733, allocations: 193.4 kB / 0.5677 GB, free: 14.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.309/2.682, allocations: 0 / 0.5677 GB, free: 14.1 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)