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.001141/0.001141, allocations: 100.8 kB / 16.4 MB, free: 6.477 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.001129/0.001129, allocations: 197.2 kB / 17.34 MB, free: 5.75 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7242/0.7242, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 66.66 kB / 0.5572 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1638, allocations: 76.18 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.002723/0.1666, allocations: 1.417 MB / 0.633 GB, free: 3.477 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005689/0.1672, allocations: 200.2 kB / 0.6332 GB, free: 3.277 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.242e-05/0.1673, allocations: 0 / 0.6332 GB, free: 3.277 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/0.1673, allocations: 0 / 0.6332 GB, free: 3.277 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.725e-05/0.1674, allocations: 3.938 kB / 0.6332 GB, free: 3.273 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.1677, allocations: 39.91 kB / 0.6332 GB, free: 3.234 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.681e-05/0.1678, allocations: 27.91 kB / 0.6332 GB, free: 3.207 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.673e-05/0.1679, allocations: 4 kB / 0.6332 GB, free: 3.203 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.816e-05/0.168, allocations: 15.92 kB / 0.6333 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.333e-05/0.168, allocations: 8 kB / 0.6333 GB, free: 3.18 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1681, allocations: 0 / 0.6333 GB, free: 3.18 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1682, allocations: 35.95 kB / 0.6333 GB, free: 3.145 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.1682, allocations: 7.938 kB / 0.6333 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.1682, allocations: 8 kB / 0.6333 GB, free: 3.129 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.1684, allocations: 43.86 kB / 0.6334 GB, free: 3.086 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1684, allocations: 0 / 0.6334 GB, free: 3.086 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1684, allocations: 0 / 0.6334 GB, free: 3.086 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1684, allocations: 0 / 0.6334 GB, free: 3.086 MB / 478.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.0004835/0.1689, allocations: 350.3 kB / 0.6337 GB, free: 2.695 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1689, allocations: 8.031 kB / 0.6337 GB, free: 2.688 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.169, allocations: 38.62 kB / 0.6337 GB, free: 2.641 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.169, allocations: 8.938 kB / 0.6337 GB, free: 2.633 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.1691, allocations: 164.3 kB / 0.6339 GB, free: 2.434 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1691, allocations: 4.312 kB / 0.6339 GB, free: 2.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.1692, allocations: 8.359 kB / 0.6339 GB, free: 2.422 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.1693, allocations: 50.23 kB / 0.634 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1694, allocations: 3.938 kB / 0.634 GB, free: 2.363 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.1694, allocations: 4 kB / 0.634 GB, free: 2.359 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1694, allocations: 0 / 0.634 GB, free: 2.359 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.1696, allocations: 39.95 kB / 0.634 GB, free: 2.32 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.1699, allocations: 244.9 kB / 0.6342 GB, free: 2.031 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.1701, allocations: 42.53 kB / 0.6343 GB, free: 1.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.073e-05/0.1702, allocations: 24.91 kB / 0.6343 GB, free: 1.953 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.1703, allocations: 81.11 kB / 0.6344 GB, free: 1.855 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1703, allocations: 34.55 kB / 0.6344 GB, free: 1.812 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1703, allocations: 0 / 0.6344 GB, free: 1.812 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003653/0.1707, allocations: 81.59 kB / 0.6345 GB, free: 1.727 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.1707, allocations: 55.53 kB / 0.6345 GB, free: 1.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.043e-05/0.1708, allocations: 101.8 kB / 0.6346 GB, free: 1.551 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1709, allocations: 29.7 kB / 0.6347 GB, free: 1.516 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.1709, allocations: 80.7 kB / 0.6347 GB, free: 1.434 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.1709, allocations: 12.12 kB / 0.6348 GB, free: 1.422 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.171, allocations: 17.7 kB / 0.6348 GB, free: 1.398 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.1711, allocations: 314.8 kB / 0.6351 GB, free: 1.082 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/0.1712, allocations: 15.98 kB / 0.6351 GB, free: 1.066 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.792e-05/0.1712, allocations: 15.98 kB / 0.6351 GB, free: 1.051 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.1714, allocations: 40.81 kB / 0.6351 GB, free: 1.008 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1714, allocations: 3.938 kB / 0.6351 GB, free: 1.004 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001907/0.1716, allocations: 73.66 kB / 0.6352 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1716, allocations: 5.562 kB / 0.6352 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1716, allocations: 0 / 0.6352 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1716, allocations: 0 / 0.6352 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.801e-05/0.1717, allocations: 12 kB / 0.6352 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1718, allocations: 0 / 0.6352 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.1718, allocations: 7.984 kB / 0.6352 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.1718, allocations: 0 / 0.6352 GB, free: 0.9023 MB / 478.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.359e-05/0.1719, allocations: 113.8 kB / 0.6354 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.1719, allocations: 7.938 kB / 0.6354 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.1722, allocations: 84.64 kB / 0.6354 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1722, allocations: 0 / 0.6354 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1722, allocations: 0 / 0.6354 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1722, allocations: 0 / 0.6354 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.1724, allocations: 165.8 kB / 0.6356 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1724, allocations: 0 / 0.6356 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.1725, allocations: 15.98 kB / 0.6356 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1725, allocations: 4.031 kB / 0.6356 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.1725, allocations: 0 / 0.6356 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1725, allocations: 0 / 0.6356 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1725, allocations: 0 / 0.6356 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.1728, allocations: 163.5 kB / 0.6358 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.1728, allocations: 77.11 kB / 0.6358 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.1729, allocations: 8.031 kB / 0.6359 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.1729, allocations: 7.984 kB / 0.6359 GB, free: 172 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.173, allocations: 3.938 kB / 0.6359 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.173, allocations: 0 / 0.6359 GB, free: 168 kB / 478.1 MB Notification: Performance of sorting global known variables: time 3.984e-05/0.173, allocations: 87.27 kB / 0.6359 GB, free: 80 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.173, allocations: 0 / 0.6359 GB, free: 80 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003366/0.1734, allocations: 12 kB / 0.636 GB, free: 68 kB / 478.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.000628/0.174, allocations: 0.7045 MB / 0.6366 GB, free: 15.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.1742, allocations: 39.95 kB / 0.6367 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1743, allocations: 3.938 kB / 0.6367 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.677e-05/0.1743, allocations: 24.08 kB / 0.6367 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.1746, allocations: 0 / 0.6367 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/0.1751, allocations: 139.3 kB / 0.6368 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.1753, allocations: 0.6729 MB / 0.6375 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.657e-05/0.1754, allocations: 3.984 kB / 0.6375 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.1754, allocations: 11.42 kB / 0.6375 GB, free: 14.37 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1754, allocations: 4.062 kB / 0.6375 GB, free: 14.37 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.1939, allocations: 1.451 MB / 0.6389 GB, free: 13 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/7.776, allocations: 1.641 kB / 0.6389 GB, free: 13 MB / 494.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)