Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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) 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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001185/0.001185, allocations: 183 kB / 17.34 MB, free: 5.742 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.7969/0.7969, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 60.84 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1463, allocations: 82.04 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003227/0.1496, allocations: 1.94 MB / 0.6782 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1509, allocations: 0.7129 MB / 0.6789 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.1511, allocations: 0 / 0.6789 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.1513, allocations: 83.62 kB / 0.679 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.1515, allocations: 99.56 kB / 0.6791 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008052/0.1523, allocations: 183 kB / 0.6792 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.1528, allocations: 267.4 kB / 0.6795 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.153, allocations: 73.81 kB / 0.6796 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.1533, allocations: 119.6 kB / 0.6797 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.1535, allocations: 143.5 kB / 0.6798 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.12e-05/0.1536, allocations: 23.94 kB / 0.6798 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.1538, allocations: 95.92 kB / 0.6799 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.1539, allocations: 51.78 kB / 0.68 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.1541, allocations: 115.3 kB / 0.6801 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000509/0.1546, allocations: 315 kB / 0.6804 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1546, allocations: 0 / 0.6804 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1546, allocations: 4 kB / 0.6804 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.1546, allocations: 0 / 0.6804 GB, free: 6.141 MB / 0.5137 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.001047/0.1557, allocations: 0.5846 MB / 0.681 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1557, allocations: 8.031 kB / 0.681 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.504e-05/0.1558, allocations: 32.56 kB / 0.681 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.1564, allocations: 306.9 kB / 0.6813 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.1564, allocations: 12.38 kB / 0.6813 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.1564, allocations: 16.38 kB / 0.6813 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.1568, allocations: 228 kB / 0.6815 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1569, allocations: 0 / 0.6815 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.1569, allocations: 11.94 kB / 0.6815 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.1569, allocations: 4 kB / 0.6816 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.1571, allocations: 128.3 kB / 0.6817 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008712/0.158, allocations: 0.6769 MB / 0.6823 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.1584, allocations: 178.5 kB / 0.6825 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.1586, allocations: 88.83 kB / 0.6826 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.1586, allocations: 8 kB / 0.6826 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/0.1589, allocations: 169 kB / 0.6828 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.1589, allocations: 0 / 0.6828 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006367/0.1595, allocations: 374.5 kB / 0.6831 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.911e-05/0.1596, allocations: 136.5 kB / 0.6832 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.1599, allocations: 282.6 kB / 0.6835 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.1599, allocations: 33.7 kB / 0.6835 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.16, allocations: 164.3 kB / 0.6837 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.1601, allocations: 35.45 kB / 0.6837 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.1602, allocations: 41.62 kB / 0.6838 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1603, allocations: 338.8 kB / 0.6841 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.1604, allocations: 87.89 kB / 0.6842 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.1606, allocations: 139.1 kB / 0.6843 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.161, allocations: 234.7 kB / 0.6845 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.161, allocations: 8.031 kB / 0.6845 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004732/0.1615, allocations: 331 kB / 0.6849 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/0.1615, allocations: 41.69 kB / 0.6849 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1615, allocations: 0 / 0.6849 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1615, allocations: 0 / 0.6849 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1617, allocations: 23.98 kB / 0.6849 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1617, allocations: 3.938 kB / 0.6849 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.1618, allocations: 31.92 kB / 0.685 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.1618, allocations: 7.938 kB / 0.685 GB, free: 1.109 MB / 0.5137 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.0001655/0.162, allocations: 192.7 kB / 0.6852 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.162, allocations: 23.72 kB / 0.6852 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.1621, allocations: 33.83 kB / 0.6852 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1621, allocations: 0 / 0.6852 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1621, allocations: 3.984 kB / 0.6852 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1621, allocations: 4 kB / 0.6852 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.1624, allocations: 297.3 kB / 0.6855 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1624, allocations: 4 kB / 0.6855 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.817e-05/0.1625, allocations: 19.92 kB / 0.6855 GB, free: 488 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.1625, allocations: 96 / 0.6855 GB, free: 488 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.1625, allocations: 11.94 kB / 0.6855 GB, free: 476 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1625, allocations: 4 kB / 0.6855 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1625, allocations: 0 / 0.6855 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006877/0.1632, allocations: 462.4 kB / 0.686 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.1633, allocations: 100.8 kB / 0.6861 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.1634, allocations: 8 kB / 0.6861 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1635, allocations: 15.92 kB / 0.6861 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.06e-05/0.1635, allocations: 27.95 kB / 0.6861 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.1636, allocations: 8 kB / 0.6861 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001659/0.1637, allocations: 202 kB / 0.6863 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1638, allocations: 4.062 kB / 0.6863 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002809/0.164, allocations: 55.89 kB / 0.6864 GB, free: 15.55 MB / 0.5294 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.0001848/0.1642, allocations: 131.2 kB / 0.6865 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004416/0.1647, allocations: 287.2 kB / 0.6868 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1647, allocations: 0 / 0.6868 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.1649, allocations: 191.5 kB / 0.687 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.1652, allocations: 33.08 kB / 0.687 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009528/0.1662, allocations: 0.4989 MB / 0.6875 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.1665, allocations: 0.7561 MB / 0.6882 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.1665, allocations: 19.44 kB / 0.6882 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.1665, allocations: 0 / 0.6882 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of Templates: time 0.005339/0.1719, allocations: 3.06 MB / 0.6912 GB, free: 10.5 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)