Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 109 kB / 20.48 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 210.7 kB / 23.79 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 257.6 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9796/0.9796, allocations: 150 MB / 464 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 67.61 kB / 0.642 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2162, allocations: 89.17 MB / 0.7291 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003591/0.2198, allocations: 1.987 MB / 0.731 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.2213, allocations: 0.7557 MB / 0.7318 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.2214, allocations: 4 kB / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.2216, allocations: 87.64 kB / 0.7319 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.2218, allocations: 91.56 kB / 0.732 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006196/0.2224, allocations: 191.1 kB / 0.7321 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.2228, allocations: 259.4 kB / 0.7324 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.2229, allocations: 54.17 kB / 0.7324 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.2231, allocations: 115.7 kB / 0.7325 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.2233, allocations: 159.5 kB / 0.7327 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.2234, allocations: 23.94 kB / 0.7327 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.2235, allocations: 95.91 kB / 0.7328 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.887e-05/0.2236, allocations: 59.78 kB / 0.7329 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.2237, allocations: 103.3 kB / 0.733 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004409/0.2242, allocations: 306.8 kB / 0.7333 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2242, allocations: 0 / 0.7333 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.552e-06/0.2242, allocations: 4 kB / 0.7333 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.2242, allocations: 0 / 0.7333 GB, free: 12.96 MB / 0.5606 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.0009225/0.2251, allocations: 0.518 MB / 0.7338 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.2252, allocations: 8.031 kB / 0.7338 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.986e-05/0.2252, allocations: 8.188 kB / 0.7338 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.93e-05/0.2252, allocations: 50.73 kB / 0.7338 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.605e-05/0.2253, allocations: 32.75 kB / 0.7339 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005548/0.2259, allocations: 244.9 kB / 0.7341 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.2259, allocations: 12 kB / 0.7341 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.2259, allocations: 16 kB / 0.7341 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004108/0.2263, allocations: 223.1 kB / 0.7343 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2264, allocations: 0 / 0.7343 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.2264, allocations: 8 kB / 0.7343 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.2264, allocations: 4 kB / 0.7343 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.2266, allocations: 128.3 kB / 0.7345 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000952/0.2276, allocations: 0.6565 MB / 0.7351 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.228, allocations: 154.6 kB / 0.7353 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.2282, allocations: 96.8 kB / 0.7354 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.2282, allocations: 0 / 0.7354 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003146/0.2285, allocations: 165.1 kB / 0.7355 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.2285, allocations: 0 / 0.7355 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0007609/0.2293, allocations: 385.5 kB / 0.7359 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.2294, allocations: 132.5 kB / 0.736 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.2297, allocations: 277.9 kB / 0.7363 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.2297, allocations: 33.78 kB / 0.7363 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.2299, allocations: 160.3 kB / 0.7365 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.2299, allocations: 47.62 kB / 0.7365 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.467e-05/0.23, allocations: 41.7 kB / 0.7365 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.2302, allocations: 338.8 kB / 0.7369 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.2304, allocations: 87.91 kB / 0.7369 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.2306, allocations: 133.7 kB / 0.7371 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003654/0.231, allocations: 245.1 kB / 0.7373 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.231, allocations: 0 / 0.7373 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005591/0.2315, allocations: 336.8 kB / 0.7376 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.863e-05/0.2316, allocations: 36.05 kB / 0.7377 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2316, allocations: 0 / 0.7377 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2316, allocations: 4 kB / 0.7377 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.2318, allocations: 28.02 kB / 0.7377 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.2318, allocations: 7.938 kB / 0.7377 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.2319, allocations: 27.83 kB / 0.7377 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.2319, allocations: 11.98 kB / 0.7377 GB, free: 8.074 MB / 0.5606 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.0002123/0.2321, allocations: 183.5 kB / 0.7379 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.2322, allocations: 27.8 kB / 0.7379 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.801e-05/0.2322, allocations: 29.77 kB / 0.738 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2323, allocations: 8 kB / 0.738 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2323, allocations: 3.938 kB / 0.738 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2323, allocations: 0 / 0.738 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.2326, allocations: 256.5 kB / 0.7382 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2326, allocations: 4 kB / 0.7382 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.2327, allocations: 19.92 kB / 0.7382 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2327, allocations: 0 / 0.7382 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.2327, allocations: 11.98 kB / 0.7383 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2327, allocations: 0 / 0.7383 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2327, allocations: 3.938 kB / 0.7383 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007759/0.2335, allocations: 470.4 kB / 0.7387 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.2335, allocations: 27.83 kB / 0.7387 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.2336, allocations: 4 kB / 0.7387 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.2337, allocations: 15.98 kB / 0.7388 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.532e-05/0.2337, allocations: 27.89 kB / 0.7388 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.2338, allocations: 12.05 kB / 0.7388 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001989/0.234, allocations: 201.2 kB / 0.739 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.234, allocations: 0 / 0.739 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002991/0.2343, allocations: 59.89 kB / 0.739 GB, free: 6.66 MB / 0.5606 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.001188/0.2355, allocations: 1.031 MB / 0.7401 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005345/0.236, allocations: 263.1 kB / 0.7403 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.236, allocations: 0 / 0.7403 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.2362, allocations: 159.3 kB / 0.7405 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.2366, allocations: 36.67 kB / 0.7405 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.2404, allocations: 2.754 MB / 0.7432 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.2408, allocations: 0.7515 MB / 0.7439 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.538e-05/0.2409, allocations: 17.47 kB / 0.7439 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.241, allocations: 67.42 kB / 0.744 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of SimCode: time 1.493e-06/0.241, allocations: 4 kB / 0.744 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.2712, allocations: 5.62 MB / 0.7495 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.91, allocations: 13.58 kB / 0.7495 GB, free: 11.95 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.078899109037593] Failed to read output from testmodel.py, exit status != 0: 12.068102132994682 12.362921488 12.135218888 Calling exit ...