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.001462/0.001462, allocations: 80.81 kB / 21.55 MB, free: 2.945 MB / 18.57 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.001753/0.001753, allocations: 163 kB / 24.97 MB, free: 9.133 MB / 18.57 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.9576/0.9576, allocations: 177.1 MB / 205.4 MB, free: 5.145 MB / 186.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 2.039/2.039, allocations: 389.6 MB / 0.6362 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 177] 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.222e-06/1.222e-06, allocations: 0 / 0.776 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.942e-05, allocations: 2.312 kB / 0.776 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002778/0.002797, allocations: 2.04 MB / 0.7779 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.003827, allocations: 0.7293 MB / 0.7787 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.003932, allocations: 4 kB / 0.7787 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.004209, allocations: 85.48 kB / 0.7787 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.004322, allocations: 99.83 kB / 0.7788 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.004733, allocations: 171.6 kB / 0.779 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.004971, allocations: 263.4 kB / 0.7793 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.005092, allocations: 54.75 kB / 0.7793 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.005244, allocations: 163 kB / 0.7795 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.005392, allocations: 123.7 kB / 0.7796 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.005421, allocations: 20 kB / 0.7796 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.005562, allocations: 95.92 kB / 0.7797 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.014e-05/0.005622, allocations: 51.83 kB / 0.7797 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.931e-05/0.005681, allocations: 59.77 kB / 0.7798 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.005919, allocations: 231.2 kB / 0.78 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005921, allocations: 0 / 0.78 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.02e-07/0.005922, allocations: 1.156 kB / 0.78 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.005926, allocations: 0 / 0.78 GB, free: 1.246 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.0006154/0.006542, allocations: 474 kB / 0.7805 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.006577, allocations: 9.344 kB / 0.7805 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.006622, allocations: 33.44 kB / 0.7805 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.00682, allocations: 206.3 kB / 0.7807 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.006839, allocations: 12.38 kB / 0.7807 GB, free: 492 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.006862, allocations: 16.38 kB / 0.7807 GB, free: 476 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.007084, allocations: 256.8 kB / 0.781 GB, free: 172 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.007091, allocations: 0.75 kB / 0.781 GB, free: 172 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.007103, allocations: 6.031 kB / 0.781 GB, free: 168 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.007111, allocations: 7.938 kB / 0.781 GB, free: 160 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.918e-05/0.00718, allocations: 72.91 kB / 0.7811 GB, free: 80 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.007611, allocations: 457.4 kB / 0.7815 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.007732, allocations: 128.2 kB / 0.7816 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.007779, allocations: 68.34 kB / 0.7817 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.007788, allocations: 4 kB / 0.7817 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/0.007912, allocations: 145.6 kB / 0.7818 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.007913, allocations: 0 / 0.7818 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0002404/0.008153, allocations: 211.7 kB / 0.782 GB, free: 15 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.008209, allocations: 140.5 kB / 0.7822 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.008357, allocations: 229 kB / 0.7824 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.008375, allocations: 34.45 kB / 0.7824 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.00844, allocations: 128.9 kB / 0.7825 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.008469, allocations: 51.56 kB / 0.7826 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.008516, allocations: 46.55 kB / 0.7826 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.008598, allocations: 334.8 kB / 0.783 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.292e-05/0.008641, allocations: 53.08 kB / 0.783 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.369e-05/0.008715, allocations: 147.6 kB / 0.7831 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.523e-05/0.00881, allocations: 148.7 kB / 0.7833 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008812, allocations: 1.469 kB / 0.7833 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001418/0.008954, allocations: 185.8 kB / 0.7835 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.008985, allocations: 45.06 kB / 0.7835 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.008991, allocations: 3.938 kB / 0.7835 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.009002, allocations: 0 / 0.7835 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.009079, allocations: 25.05 kB / 0.7835 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.009082, allocations: 0 / 0.7835 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.645e-05/0.009138, allocations: 20.45 kB / 0.7836 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.009148, allocations: 4 kB / 0.7836 GB, free: 13.28 MB / 0.7448 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 9.408e-05/0.009242, allocations: 168 kB / 0.7837 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.009265, allocations: 19.97 kB / 0.7837 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.009298, allocations: 29.7 kB / 0.7838 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.009301, allocations: 1.062 kB / 0.7838 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.009302, allocations: 0 / 0.7838 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.009322, allocations: 20.98 kB / 0.7838 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000308/0.00963, allocations: 12 kB / 0.7838 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.581e-05/0.009676, allocations: 15.97 kB / 0.7838 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.009728, allocations: 24.86 kB / 0.7838 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002149/0.009943, allocations: 300.9 kB / 0.7841 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002515/0.01019, allocations: 459.1 kB / 0.7846 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.49e-05/0.01027, allocations: 75.12 kB / 0.7846 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.328e-05/0.01033, allocations: 78.77 kB / 0.7847 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of Backend: time 3.1e-07/0.01033, allocations: 1.125 kB / 0.7847 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004177/0.01075, allocations: 252 kB / 0.785 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0008091/0.01156, allocations: 0.9797 MB / 0.7859 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of Templates: time 0.005479/0.01704, allocations: 3.368 MB / 0.7892 GB, free: 7.535 MB / 0.7448 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: 5.171318924054503]