Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 186 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.203 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.013/1.013, allocations: 175.7 MB / 480.1 MB, free: 2.855 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.MovingAverage,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.MovingAverage,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 68.08 kB / 0.6678 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1531, allocations: 94.54 MB / 0.7601 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002659/0.1558, allocations: 1.6 MB / 0.7616 GB, free: 15.23 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0009392/0.1567, allocations: 0.5337 MB / 0.7622 GB, free: 14.69 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.1568, allocations: 0 / 0.7622 GB, free: 14.69 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.1568, allocations: 7.875 kB / 0.7622 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 8.94e-05/0.1569, allocations: 23.84 kB / 0.7622 GB, free: 14.66 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.1571, allocations: 47.88 kB / 0.7622 GB, free: 14.61 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.1573, allocations: 103.8 kB / 0.7623 GB, free: 14.51 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 7.816e-05/0.1574, allocations: 8.188 kB / 0.7623 GB, free: 14.5 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 7.804e-05/0.1574, allocations: 43.84 kB / 0.7624 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 9.089e-05/0.1575, allocations: 43.81 kB / 0.7624 GB, free: 14.42 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.1576, allocations: 15.94 kB / 0.7624 GB, free: 14.4 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 2.173e-05/0.1576, allocations: 8 kB / 0.7625 GB, free: 14.39 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.1576, allocations: 15.98 kB / 0.7625 GB, free: 14.38 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 5.688e-05/0.1577, allocations: 43.78 kB / 0.7625 GB, free: 14.34 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.1578, allocations: 87.62 kB / 0.7626 GB, free: 14.25 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1578, allocations: 0 / 0.7626 GB, free: 14.25 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1578, allocations: 0 / 0.7626 GB, free: 14.25 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5e-06/0.1578, allocations: 0 / 0.7626 GB, free: 14.25 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007553/0.1586, allocations: 462.5 kB / 0.763 GB, free: 13.74 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1586, allocations: 8.031 kB / 0.763 GB, free: 13.73 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.1587, allocations: 34.75 kB / 0.7631 GB, free: 13.69 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.1587, allocations: 16.88 kB / 0.7631 GB, free: 13.67 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.1589, allocations: 196.2 kB / 0.7633 GB, free: 13.44 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-05/0.159, allocations: 34.27 kB / 0.7633 GB, free: 13.4 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.159, allocations: 12.12 kB / 0.7633 GB, free: 13.39 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.1593, allocations: 93.62 kB / 0.7634 GB, free: 13.29 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.1593, allocations: 0 / 0.7634 GB, free: 13.29 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.1594, allocations: 4 kB / 0.7634 GB, free: 13.29 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1594, allocations: 4 kB / 0.7634 GB, free: 13.29 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.1597, allocations: 75.86 kB / 0.7635 GB, free: 13.21 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.1602, allocations: 344.6 kB / 0.7638 GB, free: 12.82 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.1606, allocations: 82.58 kB / 0.7639 GB, free: 12.73 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.1608, allocations: 52.81 kB / 0.7639 GB, free: 12.68 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.1608, allocations: 4 kB / 0.764 GB, free: 12.68 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002883/0.1611, allocations: 119.4 kB / 0.7641 GB, free: 12.55 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.1611, allocations: 0 / 0.7641 GB, free: 12.55 MB / 0.5763 GB Notification: Performance of matching and sorting (n=9): time 0.0005925/0.1617, allocations: 177.8 kB / 0.7642 GB, free: 12.37 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.1617, allocations: 55.41 kB / 0.7643 GB, free: 12.3 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.1618, allocations: 122.2 kB / 0.7644 GB, free: 12.17 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1618, allocations: 33.64 kB / 0.7644 GB, free: 12.13 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.1619, allocations: 100 kB / 0.7645 GB, free: 12.03 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.1619, allocations: 31.73 kB / 0.7646 GB, free: 12 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/0.162, allocations: 33.7 kB / 0.7646 GB, free: 11.96 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1622, allocations: 326.8 kB / 0.7649 GB, free: 11.63 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.1624, allocations: 47.97 kB / 0.765 GB, free: 11.59 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.1625, allocations: 69.66 kB / 0.765 GB, free: 11.51 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.1629, allocations: 165 kB / 0.7652 GB, free: 11.33 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1629, allocations: 0 / 0.7652 GB, free: 11.33 MB / 0.5763 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004751/0.1634, allocations: 232 kB / 0.7654 GB, free: 11.09 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.1634, allocations: 55.41 kB / 0.7655 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1634, allocations: 3.984 kB / 0.7655 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1634, allocations: 8.031 kB / 0.7655 GB, free: 11.01 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.1636, allocations: 19.98 kB / 0.7655 GB, free: 10.99 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1636, allocations: 0 / 0.7655 GB, free: 10.99 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.1637, allocations: 27.86 kB / 0.7655 GB, free: 10.96 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.1637, allocations: 7.984 kB / 0.7655 GB, free: 10.96 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,step.count,$PRE.step.count,step.T_start,$PRE.step.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 2 * 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 9.577e-05/0.1638, allocations: 121.8 kB / 0.7656 GB, free: 10.83 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.1638, allocations: 7.953 kB / 0.7656 GB, free: 10.82 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.1639, allocations: 16.38 kB / 0.7657 GB, free: 10.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1639, allocations: 4 kB / 0.7657 GB, free: 10.8 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1639, allocations: 0 / 0.7657 GB, free: 10.8 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1639, allocations: 3.938 kB / 0.7657 GB, free: 10.79 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.1641, allocations: 193.6 kB / 0.7658 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1641, allocations: 0 / 0.7658 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.1642, allocations: 15.98 kB / 0.7659 GB, free: 10.54 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1642, allocations: 4 kB / 0.7659 GB, free: 10.54 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.1642, allocations: 7.984 kB / 0.7659 GB, free: 10.53 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1642, allocations: 0 / 0.7659 GB, free: 10.53 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1642, allocations: 4 kB / 0.7659 GB, free: 10.52 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005842/0.1648, allocations: 220.8 kB / 0.7661 GB, free: 10.29 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.1649, allocations: 85.06 kB / 0.7662 GB, free: 10.19 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.1649, allocations: 8.031 kB / 0.7662 GB, free: 10.18 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.165, allocations: 15.98 kB / 0.7662 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.1651, allocations: 20.02 kB / 0.7662 GB, free: 10.14 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.1651, allocations: 15.86 kB / 0.7662 GB, free: 10.13 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 6.068e-05/0.1651, allocations: 95.27 kB / 0.7663 GB, free: 10.04 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.1651, allocations: 0 / 0.7663 GB, free: 10.04 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0001998/0.1653, allocations: 24 kB / 0.7663 GB, free: 10.01 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (movingAverage.iDelay,movingAverage.iStop,firstOrder.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,step.T_start,step.count) * Number of discrete states: 1 (step.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008772/0.1662, allocations: 0.7528 MB / 0.7671 GB, free: 9.23 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0004603/0.1667, allocations: 226.7 kB / 0.7673 GB, free: 8.984 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1667, allocations: 0 / 0.7673 GB, free: 8.984 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.1669, allocations: 47.97 kB / 0.7673 GB, free: 8.938 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.1671, allocations: 25.94 kB / 0.7674 GB, free: 8.914 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.1695, allocations: 1.729 MB / 0.7691 GB, free: 7.09 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.1698, allocations: 0.6963 MB / 0.7697 GB, free: 6.367 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 4.596e-05/0.1698, allocations: 8.422 kB / 0.7697 GB, free: 6.359 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/0.1699, allocations: 23.44 kB / 0.7698 GB, free: 6.336 MB / 0.5763 GB Notification: Performance of SimCode: time 3.81e-07/0.1699, allocations: 288 / 0.7698 GB, free: 6.336 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.1954, allocations: 2.802 MB / 0.7725 GB, free: 3.621 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.191/7.386, allocations: 6.984 kB / 0.7725 GB, free: 3.617 MB / 0.5763 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_MovingAverage_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_MovingAverage.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.801947478001239]