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.001477/0.001477, allocations: 109 kB / 16.41 MB, free: 6.449 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.001512/0.001512, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.368/1.368, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.8684/0.8684, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 65.14 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1582, allocations: 82.03 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003319/0.1616, allocations: 1.956 MB / 0.6782 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.1628, allocations: 0.7168 MB / 0.6789 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.935e-05/0.1629, allocations: 4 kB / 0.6789 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.1631, allocations: 83.64 kB / 0.679 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.1633, allocations: 91.61 kB / 0.6791 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005715/0.1639, allocations: 191 kB / 0.6793 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.1642, allocations: 255.5 kB / 0.6795 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.1643, allocations: 57.77 kB / 0.6796 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.1645, allocations: 115.7 kB / 0.6797 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.1647, allocations: 147.5 kB / 0.6798 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.1647, allocations: 20 kB / 0.6798 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.1649, allocations: 103.8 kB / 0.6799 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.292e-05/0.1649, allocations: 55.78 kB / 0.68 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.1651, allocations: 107.3 kB / 0.6801 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003911/0.1654, allocations: 318.7 kB / 0.6804 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1654, allocations: 0 / 0.6804 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1654, allocations: 3.938 kB / 0.6804 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.1655, allocations: 0 / 0.6804 GB, free: 6.168 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.0008992/0.1664, allocations: 0.5959 MB / 0.681 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1664, allocations: 8.031 kB / 0.681 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.572e-05/0.1665, allocations: 32.75 kB / 0.681 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/0.167, allocations: 307.1 kB / 0.6813 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.167, allocations: 8.375 kB / 0.6813 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.167, allocations: 20.38 kB / 0.6813 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004061/0.1674, allocations: 224 kB / 0.6815 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1675, allocations: 0 / 0.6815 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.1675, allocations: 11.98 kB / 0.6815 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1675, allocations: 4 kB / 0.6816 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000258/0.1677, allocations: 128.3 kB / 0.6817 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008629/0.1686, allocations: 0.6848 MB / 0.6823 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.169, allocations: 162.4 kB / 0.6825 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.1691, allocations: 88.95 kB / 0.6826 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1692, allocations: 0 / 0.6826 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002767/0.1694, allocations: 169 kB / 0.6827 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.183e-06/0.1694, allocations: 0 / 0.6827 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006981/0.1701, allocations: 378 kB / 0.6831 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.74e-05/0.1702, allocations: 136.5 kB / 0.6832 GB, free: 3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.1705, allocations: 282.6 kB / 0.6835 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.1705, allocations: 33.7 kB / 0.6835 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1707, allocations: 152.3 kB / 0.6837 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.1707, allocations: 43.69 kB / 0.6837 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/0.1708, allocations: 45.7 kB / 0.6838 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1709, allocations: 334.8 kB / 0.6841 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.1711, allocations: 91.89 kB / 0.6842 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.1713, allocations: 137.9 kB / 0.6843 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.1717, allocations: 242.8 kB / 0.6845 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1717, allocations: 0 / 0.6845 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000516/0.1722, allocations: 336.7 kB / 0.6849 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.1722, allocations: 41.69 kB / 0.6849 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1722, allocations: 4.094 kB / 0.6849 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1723, allocations: 0 / 0.6849 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1724, allocations: 23.98 kB / 0.6849 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1724, allocations: 3.938 kB / 0.6849 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.1725, allocations: 23.88 kB / 0.685 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1725, allocations: 8.094 kB / 0.685 GB, free: 1.141 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.0001891/0.1727, allocations: 200.8 kB / 0.6852 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.1727, allocations: 31.8 kB / 0.6852 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.321e-05/0.1728, allocations: 33.83 kB / 0.6852 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1728, allocations: 0 / 0.6852 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1728, allocations: 0 / 0.6852 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1728, allocations: 0 / 0.6852 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.1731, allocations: 293.3 kB / 0.6855 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1731, allocations: 0 / 0.6855 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.1732, allocations: 19.92 kB / 0.6855 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1732, allocations: 4 kB / 0.6855 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.1732, allocations: 0 / 0.6855 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.1732, allocations: 7.984 kB / 0.6855 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1732, allocations: 4 kB / 0.6855 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007307/0.174, allocations: 462.5 kB / 0.686 GB, free: 16 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.694e-05/0.174, allocations: 100.9 kB / 0.6861 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.1741, allocations: 8 kB / 0.6861 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.1742, allocations: 16.05 kB / 0.6861 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.886e-05/0.1743, allocations: 31.89 kB / 0.6861 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.1743, allocations: 8 kB / 0.6861 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001936/0.1745, allocations: 198 kB / 0.6863 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1745, allocations: 0 / 0.6863 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002805/0.1748, allocations: 59.88 kB / 0.6864 GB, free: 15.59 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.0002017/0.175, allocations: 131.2 kB / 0.6865 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004884/0.1755, allocations: 263.2 kB / 0.6867 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.1755, allocations: 0 / 0.6867 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.1757, allocations: 155.3 kB / 0.6869 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.176, allocations: 39.36 kB / 0.6869 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.177, allocations: 0.5067 MB / 0.6874 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.1774, allocations: 0.7601 MB / 0.6882 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.478e-05/0.1775, allocations: 15.44 kB / 0.6882 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.1775, allocations: 7.875 kB / 0.6882 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of Templates: time 0.005469/0.1829, allocations: 3.012 MB / 0.6911 GB, free: 10.62 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)