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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 110 kB / 18.93 MB, free: 2.945 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.001501/0.001501, allocations: 181.5 kB / 22.22 MB, free: 5.16 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.459/1.459, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9958/0.9958, allocations: 145 MB / 451.2 MB, free: 5.477 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor")
translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 64.52 kB / 0.6253 GB, free: 15.51 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2148, allocations: 86.7 MB / 0.71 GB, free: 8.812 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003982/0.2188, allocations: 1.979 MB / 0.7119 GB, free: 6.82 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001338/0.2201, allocations: 0.7168 MB / 0.7126 GB, free: 6.098 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.2202, allocations: 7.938 kB / 0.7126 GB, free: 6.09 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.2205, allocations: 79.64 kB / 0.7127 GB, free: 6.012 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.2207, allocations: 91.62 kB / 0.7128 GB, free: 5.922 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006345/0.2213, allocations: 190.7 kB / 0.713 GB, free: 5.738 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.0003765/0.2217, allocations: 255.5 kB / 0.7132 GB, free: 5.488 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.2219, allocations: 54.11 kB / 0.7133 GB, free: 5.434 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.222, allocations: 119.7 kB / 0.7134 GB, free: 5.316 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.2223, allocations: 167.4 kB / 0.7135 GB, free: 5.152 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 5.644e-05/0.2223, allocations: 20 kB / 0.7136 GB, free: 5.133 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.2225, allocations: 95.92 kB / 0.7137 GB, free: 5.039 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.2226, allocations: 55.78 kB / 0.7137 GB, free: 4.984 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.2228, allocations: 107.3 kB / 0.7138 GB, free: 4.879 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004724/0.2232, allocations: 318.7 kB / 0.7141 GB, free: 4.566 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2232, allocations: 0 / 0.7141 GB, free: 4.566 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.412e-06/0.2233, allocations: 0 / 0.7141 GB, free: 4.566 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 7.715e-06/0.2233, allocations: 3.938 kB / 0.7141 GB, free: 4.562 MB / 0.5294 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.001013/0.2243, allocations: 0.5219 MB / 0.7146 GB, free: 4.004 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.2243, allocations: 8.031 kB / 0.7146 GB, free: 3.996 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.208e-05/0.2244, allocations: 32.75 kB / 0.7147 GB, free: 3.965 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.225, allocations: 249.1 kB / 0.7149 GB, free: 3.691 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.225, allocations: 8.375 kB / 0.7149 GB, free: 3.684 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.2251, allocations: 16.38 kB / 0.7149 GB, free: 3.668 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/0.2255, allocations: 228.2 kB / 0.7151 GB, free: 3.422 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2255, allocations: 0 / 0.7151 GB, free: 3.422 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.2256, allocations: 8 kB / 0.7152 GB, free: 3.414 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2256, allocations: 8 kB / 0.7152 GB, free: 3.406 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.2259, allocations: 128.4 kB / 0.7153 GB, free: 3.281 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009992/0.2269, allocations: 0.6488 MB / 0.7159 GB, free: 2.582 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.2272, allocations: 158.6 kB / 0.7161 GB, free: 2.418 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.2274, allocations: 92.84 kB / 0.7162 GB, free: 2.324 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.2274, allocations: 0 / 0.7162 GB, free: 2.324 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000306/0.2277, allocations: 169 kB / 0.7163 GB, free: 2.141 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.2277, allocations: 0 / 0.7163 GB, free: 2.141 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=15): time 0.0007372/0.2285, allocations: 379 kB / 0.7167 GB, free: 1.758 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.2286, allocations: 136.5 kB / 0.7168 GB, free: 1.594 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.2289, allocations: 277.9 kB / 0.7171 GB, free: 1.312 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.2289, allocations: 33.69 kB / 0.7171 GB, free: 1.273 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.2291, allocations: 160.3 kB / 0.7173 GB, free: 1.113 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.2291, allocations: 43.69 kB / 0.7173 GB, free: 1.07 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.847e-05/0.2292, allocations: 41.7 kB / 0.7173 GB, free: 1.023 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001868/0.2294, allocations: 338.8 kB / 0.7177 GB, free: 0.6836 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.2296, allocations: 79.91 kB / 0.7177 GB, free: 0.6055 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.2298, allocations: 143.4 kB / 0.7179 GB, free: 460 kB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.2302, allocations: 245.6 kB / 0.7181 GB, free: 192 kB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2302, allocations: 0 / 0.7181 GB, free: 192 kB / 0.5294 GB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005766/0.2307, allocations: 347.1 kB / 0.7184 GB, free: 15.83 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 5.694e-05/0.2308, allocations: 35.89 kB / 0.7185 GB, free: 15.79 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2308, allocations: 4 kB / 0.7185 GB, free: 15.79 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.2308, allocations: 0 / 0.7185 GB, free: 15.79 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.231, allocations: 23.98 kB / 0.7185 GB, free: 15.77 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.231, allocations: 0 / 0.7185 GB, free: 15.77 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.2311, allocations: 27.88 kB / 0.7185 GB, free: 15.74 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.2311, allocations: 4 kB / 0.7185 GB, free: 15.73 MB / 0.545 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.0002125/0.2313, allocations: 204.3 kB / 0.7187 GB, free: 15.52 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.2314, allocations: 27.8 kB / 0.7188 GB, free: 15.5 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.93e-05/0.2314, allocations: 29.77 kB / 0.7188 GB, free: 15.46 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2314, allocations: 4 kB / 0.7188 GB, free: 15.46 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2314, allocations: 0 / 0.7188 GB, free: 15.46 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2314, allocations: 0 / 0.7188 GB, free: 15.46 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.2317, allocations: 264.5 kB / 0.719 GB, free: 15.16 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2317, allocations: 0 / 0.719 GB, free: 15.16 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.2318, allocations: 15.98 kB / 0.7191 GB, free: 15.14 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2318, allocations: 4 kB / 0.7191 GB, free: 15.14 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.2319, allocations: 8 kB / 0.7191 GB, free: 15.13 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2319, allocations: 0 / 0.7191 GB, free: 15.13 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2319, allocations: 0 / 0.7191 GB, free: 15.13 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007745/0.2326, allocations: 473.3 kB / 0.7195 GB, free: 14.65 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.2327, allocations: 23.89 kB / 0.7195 GB, free: 14.62 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.2327, allocations: 8.062 kB / 0.7195 GB, free: 14.62 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.2328, allocations: 15.98 kB / 0.7196 GB, free: 14.6 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.2329, allocations: 23.95 kB / 0.7196 GB, free: 14.58 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.2329, allocations: 7.984 kB / 0.7196 GB, free: 14.57 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0002097/0.2331, allocations: 201.2 kB / 0.7198 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/0.2331, allocations: 0 / 0.7198 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002985/0.2334, allocations: 63.83 kB / 0.7198 GB, free: 14.31 MB / 0.545 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.0002262/0.2337, allocations: 139 kB / 0.72 GB, free: 14.17 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0005093/0.2342, allocations: 262.6 kB / 0.7202 GB, free: 13.9 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2342, allocations: 0 / 0.7202 GB, free: 13.9 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.2344, allocations: 155.3 kB / 0.7204 GB, free: 13.74 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.2347, allocations: 36.67 kB / 0.7204 GB, free: 13.7 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.2358, allocations: 488.9 kB / 0.7209 GB, free: 13.19 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.2363, allocations: 0.7518 MB / 0.7216 GB, free: 12.41 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 8.018e-05/0.2363, allocations: 21.47 kB / 0.7216 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.2364, allocations: 23.42 kB / 0.7217 GB, free: 12.37 MB / 0.545 GB
Notification: Performance of SimCode: time 3e-07/0.2364, allocations: 3.938 kB / 0.7217 GB, free: 12.37 MB / 0.545 GB
Notification: Performance of Templates: time 0.007423/0.2438, allocations: 2.925 MB / 0.7245 GB, free: 9.461 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660]
(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) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.104993501678109]
Failed to read output from testmodel.py, exit status != 0:
0.25229071360081434 0.26764097 0.041228433
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f79166417b0>