Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential",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.0008574/0.0008577, allocations: 93.73 kB / 16.02 MB, free: 84 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.000902/0.0009021, allocations: 176.8 kB / 16.92 MB, free: 6.684 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.522/1.522, allocations: 223.3 MB / 241 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.815/0.815, allocations: 115.5 MB / 407.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005436/0.0005437, allocations: 8 kB / 495.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.17, allocations: 77.54 MB / 0.56 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.001833/0.1718, allocations: 1.154 MB / 0.5612 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005515/0.1724, allocations: 188.4 kB / 0.5613 GB, free: 7.574 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.1725, allocations: 3.938 kB / 0.5614 GB, free: 7.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.1725, allocations: 0 / 0.5614 GB, free: 7.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.521e-05/0.1726, allocations: 7.922 kB / 0.5614 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.1729, allocations: 31.97 kB / 0.5614 GB, free: 7.531 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.217e-05/0.1729, allocations: 23.92 kB / 0.5614 GB, free: 7.508 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1731, allocations: 8 kB / 0.5614 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.455e-05/0.1731, allocations: 0 / 0.5614 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.332e-05/0.1732, allocations: 15.92 kB / 0.5614 GB, free: 7.484 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1732, allocations: 4 kB / 0.5614 GB, free: 7.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.511e-05/0.1733, allocations: 31.95 kB / 0.5615 GB, free: 7.449 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.1733, allocations: 7.984 kB / 0.5615 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.1734, allocations: 33.64 kB / 0.5615 GB, free: 7.402 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.1735, allocations: 31.89 kB / 0.5615 GB, free: 7.371 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1735, allocations: 0 / 0.5615 GB, free: 7.371 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1735, allocations: 4 kB / 0.5615 GB, free: 7.367 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1735, allocations: 0 / 0.5615 GB, free: 7.367 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004838/0.174, allocations: 347.7 kB / 0.5619 GB, free: 6.977 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.1741, allocations: 12.03 kB / 0.5619 GB, free: 6.965 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.1741, allocations: 34.73 kB / 0.5619 GB, free: 6.922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.437e-05/0.1741, allocations: 4.938 kB / 0.5619 GB, free: 6.918 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1743, allocations: 168.4 kB / 0.5621 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1743, allocations: 4.375 kB / 0.5621 GB, free: 6.711 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.1743, allocations: 4.312 kB / 0.5621 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.1745, allocations: 54.23 kB / 0.5621 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.1745, allocations: 7.938 kB / 0.5622 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1745, allocations: 3.938 kB / 0.5622 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1745, allocations: 0 / 0.5622 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.1747, allocations: 47.95 kB / 0.5622 GB, free: 6.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.175, allocations: 248.9 kB / 0.5624 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.1752, allocations: 58.48 kB / 0.5625 GB, free: 6.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.089e-05/0.1753, allocations: 24.78 kB / 0.5625 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.22e-05/0.1754, allocations: 85.11 kB / 0.5626 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.1754, allocations: 30.56 kB / 0.5626 GB, free: 6.062 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1754, allocations: 0 / 0.5626 GB, free: 6.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003596/0.1758, allocations: 97.64 kB / 0.5627 GB, free: 5.961 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.1758, allocations: 55.41 kB / 0.5628 GB, free: 5.895 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.23e-05/0.1759, allocations: 105.9 kB / 0.5629 GB, free: 5.781 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1759, allocations: 25.7 kB / 0.5629 GB, free: 5.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.176, allocations: 88.14 kB / 0.563 GB, free: 5.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.176, allocations: 3.906 kB / 0.563 GB, free: 5.656 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.176, allocations: 9.719 kB / 0.563 GB, free: 5.641 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.1761, allocations: 318.8 kB / 0.5633 GB, free: 5.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.818e-05/0.1762, allocations: 19.98 kB / 0.5633 GB, free: 5.301 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.201e-05/0.1763, allocations: 27.98 kB / 0.5633 GB, free: 5.273 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.1765, allocations: 48.89 kB / 0.5634 GB, free: 5.223 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1765, allocations: 3.938 kB / 0.5634 GB, free: 5.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002126/0.1767, allocations: 73.66 kB / 0.5635 GB, free: 5.141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1768, allocations: 4 kB / 0.5635 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1768, allocations: 4 kB / 0.5635 GB, free: 5.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1768, allocations: 11.95 kB / 0.5635 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.418e-05/0.1769, allocations: 11.98 kB / 0.5635 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1769, allocations: 0 / 0.5635 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.832e-05/0.177, allocations: 7.984 kB / 0.5635 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.177, allocations: 4 kB / 0.5635 GB, free: 5.098 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 (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 8.935e-05/0.1771, allocations: 117.7 kB / 0.5636 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.1771, allocations: 0 / 0.5636 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.1774, allocations: 88.69 kB / 0.5637 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1774, allocations: 4 kB / 0.5637 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1774, allocations: 0 / 0.5637 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1774, allocations: 0 / 0.5637 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.1776, allocations: 161.6 kB / 0.5639 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1776, allocations: 4.031 kB / 0.5639 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.909e-05/0.1777, allocations: 15.92 kB / 0.5639 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1777, allocations: 0 / 0.5639 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1777, allocations: 4.25 kB / 0.5639 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1777, allocations: 3.938 kB / 0.5639 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1777, allocations: 4 kB / 0.5639 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.178, allocations: 179.4 kB / 0.5641 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.178, allocations: 77.11 kB / 0.5641 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.1781, allocations: 4 kB / 0.5641 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.1781, allocations: 7.984 kB / 0.5642 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.1782, allocations: 8.031 kB / 0.5642 GB, free: 4.336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1782, allocations: 0 / 0.5642 GB, free: 4.336 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.957e-05/0.1782, allocations: 83.28 kB / 0.5642 GB, free: 4.254 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1782, allocations: 0 / 0.5642 GB, free: 4.254 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.1785, allocations: 11.98 kB / 0.5642 GB, free: 4.242 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 (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.0005377/0.179, allocations: 0.7163 MB / 0.5649 GB, free: 3.496 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.1793, allocations: 48 kB / 0.565 GB, free: 3.449 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1793, allocations: 0 / 0.565 GB, free: 3.449 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.422e-05/0.1794, allocations: 27.97 kB / 0.565 GB, free: 3.422 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.1797, allocations: 4 kB / 0.565 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.18, allocations: 146.3 kB / 0.5652 GB, free: 3.238 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.1803, allocations: 0.6809 MB / 0.5658 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.32e-05/0.1803, allocations: 0 / 0.5658 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.1803, allocations: 11.44 kB / 0.5658 GB, free: 2.52 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1803, allocations: 0 / 0.5658 GB, free: 2.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01061/0.191, allocations: 1.18 MB / 0.567 GB, free: 1.477 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/0.1912, allocations: 204.3 kB / 0.5672 GB, free: 1.219 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/1.974, allocations: 0 / 0.5672 GB, free: 1.219 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)