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.001066/0.001066, allocations: 117.4 kB / 16.42 MB, free: 6.504 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.001078/0.001078, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.335/1.335, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.8578/0.8578, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 68.64 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2214, 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.005338/0.2268, allocations: 1.949 MB / 0.6782 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002136/0.229, allocations: 0.7169 MB / 0.6789 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.2292, allocations: 7.938 kB / 0.6789 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.2295, allocations: 67.72 kB / 0.679 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.2299, allocations: 107.5 kB / 0.6791 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009681/0.2309, allocations: 182.7 kB / 0.6792 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000518/0.2314, allocations: 263.4 kB / 0.6795 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002618/0.2317, allocations: 65.84 kB / 0.6796 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.232, allocations: 127.6 kB / 0.6797 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.2323, allocations: 147.5 kB / 0.6798 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.473e-05/0.2324, allocations: 20 kB / 0.6798 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.2327, allocations: 91.92 kB / 0.6799 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.2328, allocations: 67.7 kB / 0.68 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.233, allocations: 107.3 kB / 0.6801 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005801/0.2336, allocations: 307 kB / 0.6804 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2336, allocations: 4 kB / 0.6804 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2337, allocations: 4 kB / 0.6804 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.2337, allocations: 0 / 0.6804 GB, free: 6.16 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.001283/0.235, allocations: 0.5819 MB / 0.681 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.235, allocations: 8.031 kB / 0.681 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.2351, allocations: 32.56 kB / 0.681 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007629/0.2359, allocations: 306.9 kB / 0.6813 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.236, allocations: 12.38 kB / 0.6813 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.236, allocations: 12.38 kB / 0.6813 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000626/0.2367, allocations: 232 kB / 0.6815 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.2367, allocations: 3.984 kB / 0.6815 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.2368, allocations: 4 kB / 0.6816 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.2368, allocations: 4 kB / 0.6816 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.2372, allocations: 132.4 kB / 0.6817 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.2386, allocations: 0.6884 MB / 0.6824 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/0.2391, allocations: 166.5 kB / 0.6825 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.2394, allocations: 96.95 kB / 0.6826 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.2395, allocations: 8.031 kB / 0.6826 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003873/0.2399, allocations: 165 kB / 0.6828 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 2.805e-06/0.2399, allocations: 0 / 0.6828 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.001213/0.2411, allocations: 377 kB / 0.6831 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001613/0.2413, allocations: 136.5 kB / 0.6833 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.2417, allocations: 282.6 kB / 0.6835 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.2418, allocations: 33.69 kB / 0.6836 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.242, allocations: 156.3 kB / 0.6837 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.78e-05/0.2421, allocations: 39.45 kB / 0.6837 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.2422, allocations: 45.61 kB / 0.6838 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.2424, allocations: 334.8 kB / 0.6841 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/0.2427, allocations: 79.97 kB / 0.6842 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.2431, allocations: 142.9 kB / 0.6843 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006506/0.2438, allocations: 240.6 kB / 0.6846 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2438, allocations: 0 / 0.6846 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008968/0.2447, allocations: 340.4 kB / 0.6849 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.2448, allocations: 35.42 kB / 0.6849 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2448, allocations: 3.938 kB / 0.6849 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.2448, allocations: 4 kB / 0.6849 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.245, allocations: 19.98 kB / 0.6849 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.245, allocations: 7.984 kB / 0.6849 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.2453, allocations: 23.94 kB / 0.685 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.2453, allocations: 11.98 kB / 0.685 GB, free: 1.129 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.0002878/0.2456, allocations: 198.3 kB / 0.6852 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.2457, allocations: 27.66 kB / 0.6852 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.446e-05/0.2458, allocations: 29.83 kB / 0.6852 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2458, allocations: 0 / 0.6852 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2458, allocations: 0 / 0.6852 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.921e-05/0.2459, allocations: 108.8 kB / 0.6853 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.768e-05/0.246, allocations: 8 kB / 0.6853 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.2462, allocations: 15.92 kB / 0.6853 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.2464, allocations: 23.97 kB / 0.6854 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00129/0.2477, allocations: 489.8 kB / 0.6858 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001335/0.249, allocations: 0.6011 MB / 0.6864 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003471/0.2494, allocations: 124 kB / 0.6865 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003128/0.2497, allocations: 205.9 kB / 0.6867 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of Backend: time 8.42e-07/0.2498, allocations: 0 / 0.6867 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.2509, allocations: 309.7 kB / 0.687 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of SimCode: time 0.00148/0.2524, allocations: 0.9207 MB / 0.6879 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of Templates: time 0.01037/0.2628, allocations: 3.054 MB / 0.6909 GB, free: 10.9 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)