Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0006578/0.0006578, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009021/0.00156, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006836/0.0006836, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000941/0.001625, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9458/0.9458, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07646/1.022, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.884/1.884, allocations: 390 MB / 0.6193 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5047/2.389, allocations: 127.1 MB / 0.7435 GB, free: 4.535 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.7448 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.855e-05/2.03e-05, allocations: 4.141 kB / 0.7448 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002361/0.002381, allocations: 2.031 MB / 0.7468 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009265/0.003308, allocations: 0.7349 MB / 0.7475 GB, free: 500 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.003417, allocations: 10.72 kB / 0.7475 GB, free: 492 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.003569, allocations: 84.23 kB / 0.7476 GB, free: 408 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.003676, allocations: 106.7 kB / 0.7477 GB, free: 312 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.00405, allocations: 170.8 kB / 0.7479 GB, free: 144 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.004328, allocations: 253.8 kB / 0.7481 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.004443, allocations: 54.73 kB / 0.7482 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.004625, allocations: 180.2 kB / 0.7483 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.004769, allocations: 112.7 kB / 0.7484 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.004796, allocations: 20 kB / 0.7484 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.004949, allocations: 99.86 kB / 0.7485 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.72e-05/0.005006, allocations: 49.27 kB / 0.7486 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.435e-05/0.00506, allocations: 47.88 kB / 0.7486 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.005284, allocations: 199.2 kB / 0.7488 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.162e-05/0.005296, allocations: 0 / 0.7488 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.272e-06/0.005297, allocations: 0.5625 kB / 0.7488 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.005308, allocations: 0.75 kB / 0.7488 GB, free: 15.15 MB / 0.7292 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.0005326/0.005841, allocations: 0.5137 MB / 0.7493 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.005869, allocations: 12.03 kB / 0.7493 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.005918, allocations: 24.92 kB / 0.7494 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.006123, allocations: 205.7 kB / 0.7496 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.006142, allocations: 13.27 kB / 0.7496 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.006167, allocations: 16.38 kB / 0.7496 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.006385, allocations: 262.8 kB / 0.7498 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.006392, allocations: 192 / 0.7498 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.006402, allocations: 4.375 kB / 0.7498 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.00641, allocations: 7.938 kB / 0.7499 GB, free: 14 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.869e-05/0.006478, allocations: 72.98 kB / 0.7499 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.006889, allocations: 463.5 kB / 0.7504 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.007009, allocations: 140.2 kB / 0.7505 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.007053, allocations: 62.55 kB / 0.7506 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.007062, allocations: 3.984 kB / 0.7506 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.007184, allocations: 153.6 kB / 0.7507 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 9.32e-07/0.007185, allocations: 0 / 0.7507 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0001919/0.007377, allocations: 220.5 kB / 0.7509 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.007432, allocations: 178.1 kB / 0.7511 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.007555, allocations: 228.9 kB / 0.7513 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.007574, allocations: 33.7 kB / 0.7513 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.007631, allocations: 128.9 kB / 0.7515 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.00766, allocations: 51.61 kB / 0.7515 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.007705, allocations: 41.69 kB / 0.7515 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.384e-05/0.007789, allocations: 334.8 kB / 0.7519 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.491e-05/0.007833, allocations: 57.39 kB / 0.7519 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.569e-05/0.007909, allocations: 160.7 kB / 0.7521 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.761e-05/0.008007, allocations: 148.8 kB / 0.7522 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008009, allocations: 0 / 0.7522 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001401/0.008149, allocations: 188.8 kB / 0.7524 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.008183, allocations: 45.12 kB / 0.7524 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.008188, allocations: 0 / 0.7524 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.008197, allocations: 7.938 kB / 0.7524 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.456e-05/0.008271, allocations: 27.98 kB / 0.7525 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.008274, allocations: 0 / 0.7525 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.677e-05/0.008331, allocations: 15.89 kB / 0.7525 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.008342, allocations: 12 kB / 0.7525 GB, free: 11.04 MB / 0.7292 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 8.682e-05/0.008429, allocations: 157.5 kB / 0.7527 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.008452, allocations: 27.97 kB / 0.7527 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.008481, allocations: 25.72 kB / 0.7527 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.008483, allocations: 0 / 0.7527 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.008485, allocations: 3.984 kB / 0.7527 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.008488, allocations: 0 / 0.7527 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.008589, allocations: 129.7 kB / 0.7528 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.00859, allocations: 0 / 0.7528 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.008638, allocations: 19.98 kB / 0.7529 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.008652, allocations: 16.42 kB / 0.7529 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008654, allocations: 0.9375 kB / 0.7529 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.008666, allocations: 11.94 kB / 0.7529 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.008667, allocations: 3.938 kB / 0.7529 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.008669, allocations: 5.062 kB / 0.7529 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.008883, allocations: 275.7 kB / 0.7532 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.008905, allocations: 8.5 kB / 0.7532 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.9e-05/0.008944, allocations: 8.531 kB / 0.7532 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.008991, allocations: 24.61 kB / 0.7532 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.009003, allocations: 11.98 kB / 0.7532 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.238e-05/0.009056, allocations: 79.64 kB / 0.7533 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.009056, allocations: 0 / 0.7533 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001618/0.009217, allocations: 63.83 kB / 0.7533 GB, free: 10.12 MB / 0.7292 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.0001336/0.009351, allocations: 122 kB / 0.7535 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001696/0.009521, allocations: 214.3 kB / 0.7537 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.00953, allocations: 5.156 kB / 0.7537 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.912e-05/0.009619, allocations: 149.9 kB / 0.7538 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.009818, allocations: 221.3 kB / 0.754 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.01038, allocations: 417.4 kB / 0.7544 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.153e-05/0.01042, allocations: 84.59 kB / 0.7545 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.908e-05/0.01047, allocations: 20.03 kB / 0.7545 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.01058, allocations: 100.1 kB / 0.7546 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of SimCode: time 7.32e-07/0.01059, allocations: 0.9375 kB / 0.7546 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of Templates: time 0.004912/0.0155, allocations: 3.217 MB / 0.7578 GB, free: 5.633 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.917968410998583]