Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.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.001421/0.001421, allocations: 109 kB / 17.54 MB, free: 4.766 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.001433/0.001433, allocations: 181.9 kB / 20.71 MB, free: 1.609 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.293 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 0.9878/0.9878, allocations: 175.7 MB / 480.1 MB, free: 2.785 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.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 70.36 kB / 0.6677 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.154, allocations: 94.53 MB / 0.7601 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003063/0.1571, allocations: 1.976 MB / 0.762 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1583, allocations: 0.7207 MB / 0.7627 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.262e-05/0.1584, allocations: 0 / 0.7627 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.1586, allocations: 83.64 kB / 0.7628 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.1587, allocations: 87.61 kB / 0.7629 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005168/0.1592, allocations: 195.1 kB / 0.763 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.1595, allocations: 271.4 kB / 0.7633 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1597, allocations: 41.91 kB / 0.7633 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.1598, allocations: 119.6 kB / 0.7635 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.16, allocations: 163.5 kB / 0.7636 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.16, allocations: 20 kB / 0.7636 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.1602, allocations: 99.86 kB / 0.7637 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.1603, allocations: 55.78 kB / 0.7638 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.1604, allocations: 103.3 kB / 0.7639 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.1608, allocations: 310.8 kB / 0.7642 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1608, allocations: 0 / 0.7642 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1608, allocations: 0 / 0.7642 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.1608, allocations: 4 kB / 0.7642 GB, free: 12.57 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008515/0.1616, allocations: 0.5948 MB / 0.7648 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1616, allocations: 12.03 kB / 0.7648 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.1617, allocations: 46.73 kB / 0.7648 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.1618, allocations: 28.75 kB / 0.7648 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.1622, allocations: 307 kB / 0.7651 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.1622, allocations: 19.94 kB / 0.7651 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.1623, allocations: 12 kB / 0.7652 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.1626, allocations: 223.7 kB / 0.7654 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1627, allocations: 0 / 0.7654 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.1627, allocations: 4 kB / 0.7654 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1627, allocations: 4 kB / 0.7654 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.1629, allocations: 136.3 kB / 0.7655 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008182/0.1637, allocations: 0.6808 MB / 0.7662 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.1641, allocations: 158.6 kB / 0.7663 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.1643, allocations: 84.83 kB / 0.7664 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.1643, allocations: 0 / 0.7664 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/0.1645, allocations: 173 kB / 0.7666 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 9.879e-06/0.1645, allocations: 8.078 kB / 0.7666 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0006773/0.1652, allocations: 384.9 kB / 0.7669 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.135e-05/0.1653, allocations: 132.5 kB / 0.7671 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.1656, allocations: 278.7 kB / 0.7673 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.1656, allocations: 33.7 kB / 0.7674 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.1657, allocations: 160.3 kB / 0.7675 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.1658, allocations: 43.67 kB / 0.7676 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.1658, allocations: 41.72 kB / 0.7676 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.166, allocations: 342.8 kB / 0.7679 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.1661, allocations: 79.95 kB / 0.768 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.1663, allocations: 138.9 kB / 0.7681 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.1667, allocations: 240.5 kB / 0.7684 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1667, allocations: 0 / 0.7684 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004952/0.1672, allocations: 335.1 kB / 0.7687 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/0.1672, allocations: 41.69 kB / 0.7687 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1672, allocations: 4 kB / 0.7687 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1672, allocations: 0 / 0.7687 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1673, allocations: 23.92 kB / 0.7688 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1673, allocations: 7.938 kB / 0.7688 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.1675, allocations: 27.88 kB / 0.7688 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.1675, allocations: 4 kB / 0.7688 GB, free: 7.492 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0001746/0.1677, allocations: 191.5 kB / 0.769 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.1677, allocations: 27.8 kB / 0.769 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.028e-05/0.1677, allocations: 29.83 kB / 0.769 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.1678, allocations: 8 kB / 0.769 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1678, allocations: 3.938 kB / 0.769 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1678, allocations: 0 / 0.769 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.168, allocations: 293.4 kB / 0.7693 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.168, allocations: 0 / 0.7693 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.727e-05/0.1681, allocations: 19.92 kB / 0.7693 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1681, allocations: 0 / 0.7693 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.1681, allocations: 12 kB / 0.7694 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1681, allocations: 0 / 0.7694 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1682, allocations: 3.938 kB / 0.7694 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007188/0.1689, allocations: 462.5 kB / 0.7698 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.1689, allocations: 100.9 kB / 0.7699 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.169, allocations: 8 kB / 0.7699 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1691, allocations: 20.05 kB / 0.7699 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.1692, allocations: 27.89 kB / 0.7699 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.1692, allocations: 4.188 kB / 0.77 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001914/0.1694, allocations: 202 kB / 0.7701 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1694, allocations: 3.938 kB / 0.7701 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002753/0.1696, allocations: 63.88 kB / 0.7702 GB, free: 5.93 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.00107/0.1707, allocations: 1.022 MB / 0.7712 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004453/0.1712, allocations: 263.2 kB / 0.7715 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1712, allocations: 256 / 0.7715 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.1714, allocations: 159.3 kB / 0.7716 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.1716, allocations: 40.47 kB / 0.7716 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.1751, allocations: 2.786 MB / 0.7744 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.1755, allocations: 0.7514 MB / 0.7751 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.39e-05/0.1756, allocations: 21.53 kB / 0.7751 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.1757, allocations: 71.42 kB / 0.7752 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.1757, allocations: 0 / 0.7752 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.2064, allocations: 5.418 MB / 0.7805 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/7.689, allocations: 14.91 kB / 0.7805 GB, free: 11.32 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.087067216998548]