Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",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.004665/0.004665, allocations: 100.4 kB / 15.87 MB, free: 6.293 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.001135/0.001135, allocations: 199.3 kB / 16.79 MB, free: 6.223 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.337/1.337, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6557/0.6557, allocations: 115.3 MB / 406 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 72.61 kB / 493 MB, free: 6.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1437, allocations: 76.18 MB / 0.5558 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003284/0.1471, allocations: 1.824 MB / 0.5576 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1483, allocations: 0.6555 MB / 0.5583 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.794e-05/0.1484, allocations: 0 / 0.5583 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.27e-05/0.1485, allocations: 7.922 kB / 0.5583 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.146e-05/0.1486, allocations: 15.86 kB / 0.5583 GB, free: 8.254 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.1491, allocations: 157.9 kB / 0.5584 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.1493, allocations: 111.6 kB / 0.5585 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.1494, allocations: 53.06 kB / 0.5586 GB, free: 7.945 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.1496, allocations: 59.77 kB / 0.5587 GB, free: 7.887 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.497e-05/0.1497, allocations: 43.77 kB / 0.5587 GB, free: 7.844 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.1498, allocations: 8 kB / 0.5587 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1499, allocations: 43.97 kB / 0.5587 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.861e-05/0.1499, allocations: 27.91 kB / 0.5588 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.033e-05/0.15, allocations: 47.72 kB / 0.5588 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1502, allocations: 155.8 kB / 0.559 GB, free: 7.566 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1502, allocations: 0 / 0.559 GB, free: 7.566 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1502, allocations: 0 / 0.559 GB, free: 7.566 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1502, allocations: 0 / 0.559 GB, free: 7.566 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006569/0.1509, allocations: 435 kB / 0.5594 GB, free: 7.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.151, allocations: 12.03 kB / 0.5594 GB, free: 7.082 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.463e-05/0.151, allocations: 34.75 kB / 0.5594 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008648/0.1519, allocations: 112.7 kB / 0.5595 GB, free: 6.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.1521, allocations: 192 kB / 0.5597 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.713e-05/0.1522, allocations: 63.97 kB / 0.5598 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.1522, allocations: 8.375 kB / 0.5598 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.1527, allocations: 173.5 kB / 0.56 GB, free: 6.445 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1528, allocations: 0 / 0.56 GB, free: 6.445 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.1528, allocations: 7.984 kB / 0.56 GB, free: 6.438 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1528, allocations: 0 / 0.56 GB, free: 6.438 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000592/0.1534, allocations: 159.8 kB / 0.5601 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.1546, allocations: 477.8 kB / 0.5606 GB, free: 5.762 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009772/0.1556, allocations: 230.2 kB / 0.5608 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.1559, allocations: 76.91 kB / 0.5609 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.1559, allocations: 8 kB / 0.5609 GB, free: 5.441 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.156, allocations: 30.56 kB / 0.5609 GB, free: 5.402 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.156, allocations: 0 / 0.5609 GB, free: 5.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009706/0.157, allocations: 261.5 kB / 0.5611 GB, free: 5.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.157, allocations: 63.28 kB / 0.5612 GB, free: 5.066 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1572, allocations: 140.2 kB / 0.5613 GB, free: 4.922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.1572, allocations: 25.7 kB / 0.5614 GB, free: 4.891 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.1573, allocations: 112.1 kB / 0.5615 GB, free: 4.777 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.1573, allocations: 27.64 kB / 0.5615 GB, free: 4.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.078e-05/0.1574, allocations: 29.7 kB / 0.5615 GB, free: 4.715 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1576, allocations: 314.8 kB / 0.5618 GB, free: 4.398 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.1579, allocations: 83.91 kB / 0.5619 GB, free: 4.316 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.1582, allocations: 90.5 kB / 0.562 GB, free: 4.219 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/0.1588, allocations: 158.4 kB / 0.5621 GB, free: 4.055 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1588, allocations: 0 / 0.5621 GB, free: 4.055 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006304/0.1594, allocations: 205.4 kB / 0.5623 GB, free: 3.848 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1594, allocations: 4 kB / 0.5623 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1594, allocations: 7.938 kB / 0.5623 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1595, allocations: 0 / 0.5623 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.1597, allocations: 39.94 kB / 0.5624 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1598, allocations: 0 / 0.5624 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.16, allocations: 24 kB / 0.5624 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.16, allocations: 8.312 kB / 0.5624 GB, free: 3.766 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.0001158/0.1601, allocations: 113.8 kB / 0.5625 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.1602, allocations: 11.89 kB / 0.5625 GB, free: 3.633 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006889/0.1609, allocations: 214.1 kB / 0.5627 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1609, allocations: 4 kB / 0.5627 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1609, allocations: 0 / 0.5627 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1609, allocations: 0 / 0.5627 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.1611, allocations: 245.9 kB / 0.563 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1612, allocations: 0 / 0.563 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.1614, allocations: 43.94 kB / 0.563 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1614, allocations: 0 / 0.563 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.1614, allocations: 3.938 kB / 0.563 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1614, allocations: 0 / 0.563 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1614, allocations: 0 / 0.563 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/0.1621, allocations: 287.2 kB / 0.5633 GB, free: 2.781 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.1621, allocations: 85.02 kB / 0.5634 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.1622, allocations: 7.875 kB / 0.5634 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.1625, allocations: 31.95 kB / 0.5634 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.1625, allocations: 11.92 kB / 0.5634 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.1626, allocations: 7.984 kB / 0.5634 GB, free: 2.621 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.378e-05/0.1626, allocations: 109 kB / 0.5635 GB, free: 2.516 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1626, allocations: 0 / 0.5635 GB, free: 2.516 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.1629, allocations: 20 kB / 0.5636 GB, free: 2.496 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 (6): * Single equations (assignments): 6 * 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.001008/0.1639, allocations: 0.8176 MB / 0.5644 GB, free: 1.652 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006398/0.1646, allocations: 159.8 kB / 0.5645 GB, free: 1.496 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.1646, allocations: 4.125 kB / 0.5645 GB, free: 1.492 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.1649, allocations: 87.84 kB / 0.5646 GB, free: 1.406 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.1653, allocations: 10.34 kB / 0.5646 GB, free: 1.398 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/0.1683, allocations: 1.853 MB / 0.5664 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.1686, allocations: 0.7004 MB / 0.5671 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.1687, allocations: 19.98 kB / 0.5671 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.951e-05/0.1688, allocations: 31.42 kB / 0.5672 GB, free: 14.68 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1688, allocations: 0 / 0.5672 GB, free: 14.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.204/0.3728, allocations: 2.5 MB / 0.5696 GB, free: 12.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.373, allocations: 194.3 kB / 0.5698 GB, free: 12.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.217/2.59, allocations: 0 / 0.5698 GB, free: 12.02 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)