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.001097/0.001097, allocations: 111.2 kB / 16.42 MB, free: 6.473 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.001168/0.001168, allocations: 187.9 kB / 17.35 MB, free: 5.711 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.37/1.37, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.8943/0.8943, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001223, allocations: 60.28 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1385, allocations: 82.04 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002777/0.1413, allocations: 1.947 MB / 0.6782 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1424, allocations: 0.7091 MB / 0.6789 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.627e-05/0.1425, allocations: 7.938 kB / 0.6789 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.1427, allocations: 79.69 kB / 0.679 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.1428, allocations: 95.58 kB / 0.6791 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.1434, allocations: 186.6 kB / 0.6793 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.1437, allocations: 267.4 kB / 0.6795 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.1438, allocations: 73.81 kB / 0.6796 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.144, allocations: 119.6 kB / 0.6797 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.1442, allocations: 147.5 kB / 0.6798 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.1442, allocations: 20 kB / 0.6799 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1444, allocations: 91.94 kB / 0.6799 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.509e-05/0.1444, allocations: 63.7 kB / 0.68 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.1445, allocations: 111.3 kB / 0.6801 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.1449, allocations: 314.8 kB / 0.6804 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1449, allocations: 0 / 0.6804 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1449, allocations: 0 / 0.6804 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.1449, allocations: 0 / 0.6804 GB, free: 6.125 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.0007815/0.1457, allocations: 0.5894 MB / 0.681 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1458, allocations: 16.03 kB / 0.681 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/0.1458, allocations: 28.75 kB / 0.681 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.1463, allocations: 307.1 kB / 0.6813 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.1463, allocations: 12.38 kB / 0.6813 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.1463, allocations: 12.38 kB / 0.6813 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.1467, allocations: 232 kB / 0.6816 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1467, allocations: 0 / 0.6816 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.1468, allocations: 4 kB / 0.6816 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1468, allocations: 4 kB / 0.6816 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.147, allocations: 128.4 kB / 0.6817 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007635/0.1478, allocations: 0.6925 MB / 0.6824 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.1481, allocations: 170.5 kB / 0.6825 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.1483, allocations: 96.95 kB / 0.6826 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1483, allocations: 4.031 kB / 0.6826 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.1486, allocations: 173 kB / 0.6828 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.1486, allocations: 0 / 0.6828 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006299/0.1492, allocations: 376.2 kB / 0.6832 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.1493, allocations: 132.5 kB / 0.6833 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.1496, allocations: 286.6 kB / 0.6836 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.1496, allocations: 33.7 kB / 0.6836 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.894e-05/0.1497, allocations: 156.3 kB / 0.6837 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.1497, allocations: 43.67 kB / 0.6838 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.859e-05/0.1498, allocations: 41.7 kB / 0.6838 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1499, allocations: 334.8 kB / 0.6841 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.1501, allocations: 88.05 kB / 0.6842 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.1503, allocations: 146.1 kB / 0.6844 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.1506, allocations: 242.7 kB / 0.6846 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1506, allocations: 0 / 0.6846 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004879/0.1511, allocations: 332.6 kB / 0.6849 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.1512, allocations: 41.64 kB / 0.6849 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.1512, allocations: 4 kB / 0.6849 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1512, allocations: 3.984 kB / 0.685 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1513, allocations: 20.09 kB / 0.685 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.1513, allocations: 7.984 kB / 0.685 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.1515, allocations: 27.88 kB / 0.685 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.1515, allocations: 4 kB / 0.685 GB, free: 1.07 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.0001542/0.1516, allocations: 192.2 kB / 0.6852 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.1517, allocations: 23.86 kB / 0.6852 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.316e-05/0.1517, allocations: 33.77 kB / 0.6852 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1518, allocations: 4 kB / 0.6853 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1518, allocations: 7.984 kB / 0.6853 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.1518, allocations: 96.91 kB / 0.6854 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.1519, allocations: 8 kB / 0.6854 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.152, allocations: 15.92 kB / 0.6854 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.1521, allocations: 27.97 kB / 0.6854 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006977/0.1528, allocations: 493.2 kB / 0.6859 GB, free: 132 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007083/0.1535, allocations: 0.5978 MB / 0.6865 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001803/0.1537, allocations: 120 kB / 0.6866 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001689/0.1538, allocations: 210 kB / 0.6868 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of Backend: time 5.41e-07/0.1539, allocations: 0 / 0.6868 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006346/0.1545, allocations: 301.7 kB / 0.6871 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0008416/0.1553, allocations: 0.9318 MB / 0.688 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of Templates: time 0.006285/0.1616, allocations: 3.065 MB / 0.691 GB, free: 10.83 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)