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.0008629/0.0008629, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.001698/0.001698, allocations: 165.5 kB / 24.96 MB, free: 8.121 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.9427/0.9427, allocations: 177.1 MB / 205.4 MB, free: 5.496 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 1.852/1.852, allocations: 389.6 MB / 0.6361 GB, free: 12.31 MB / 0.6042 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.182e-06/1.182e-06, allocations: 0 / 0.776 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.364e-05, allocations: 2.312 kB / 0.776 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002161/0.002175, allocations: 2.033 MB / 0.7779 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009362/0.003111, allocations: 0.7289 MB / 0.7787 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.762e-05/0.003199, allocations: 4 kB / 0.7787 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.003391, allocations: 79.58 kB / 0.7787 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.299e-05/0.003484, allocations: 97.53 kB / 0.7788 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.00384, allocations: 175.6 kB / 0.779 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.004051, allocations: 259.4 kB / 0.7792 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.004161, allocations: 60.98 kB / 0.7793 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.004297, allocations: 163.6 kB / 0.7795 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.004427, allocations: 111.7 kB / 0.7796 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.004451, allocations: 16 kB / 0.7796 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.004572, allocations: 103.6 kB / 0.7797 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.00463, allocations: 59.77 kB / 0.7797 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.00468, allocations: 55.84 kB / 0.7798 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.004903, allocations: 235.2 kB / 0.78 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004905, allocations: 0 / 0.78 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004906, allocations: 0 / 0.78 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.004909, allocations: 0 / 0.78 GB, free: 1.258 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.0004324/0.005342, allocations: 473.1 kB / 0.7805 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.005371, allocations: 10.22 kB / 0.7805 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.005413, allocations: 32.91 kB / 0.7805 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.005599, allocations: 205.5 kB / 0.7807 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.005618, allocations: 13.56 kB / 0.7807 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.00564, allocations: 16.38 kB / 0.7807 GB, free: 488 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.005847, allocations: 257.1 kB / 0.781 GB, free: 184 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.005855, allocations: 192 / 0.781 GB, free: 184 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.005864, allocations: 1.781 kB / 0.781 GB, free: 184 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.005871, allocations: 7.938 kB / 0.781 GB, free: 176 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.933e-05/0.005941, allocations: 76.91 kB / 0.7811 GB, free: 92 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.00635, allocations: 453.4 kB / 0.7815 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.006457, allocations: 137.8 kB / 0.7816 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/0.006498, allocations: 62.53 kB / 0.7817 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.00651, allocations: 4 kB / 0.7817 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.006619, allocations: 141.6 kB / 0.7818 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.00662, allocations: 5.594 kB / 0.7818 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0001871/0.006807, allocations: 210.7 kB / 0.782 GB, free: 15 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.006849, allocations: 136.5 kB / 0.7822 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.006968, allocations: 228.9 kB / 0.7824 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.006984, allocations: 34.45 kB / 0.7824 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.007037, allocations: 132.9 kB / 0.7825 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.007063, allocations: 52.53 kB / 0.7826 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.007104, allocations: 37.69 kB / 0.7826 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003191/0.007423, allocations: 339.8 kB / 0.7829 GB, free: 14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.851e-05/0.007462, allocations: 52.52 kB / 0.783 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.748e-05/0.007529, allocations: 151.7 kB / 0.7831 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.461e-05/0.007614, allocations: 142.2 kB / 0.7833 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.007616, allocations: 4 kB / 0.7833 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001327/0.007749, allocations: 184.7 kB / 0.7835 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.007776, allocations: 45.62 kB / 0.7835 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.00778, allocations: 1.062 kB / 0.7835 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.007791, allocations: 0 / 0.7835 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.007857, allocations: 23.98 kB / 0.7835 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.007861, allocations: 4.438 kB / 0.7835 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.103e-05/0.007912, allocations: 20.45 kB / 0.7835 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.007924, allocations: 12.58 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 8.012e-05/0.008004, allocations: 160.3 kB / 0.7837 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.008023, allocations: 19.97 kB / 0.7837 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.008056, allocations: 30.52 kB / 0.7838 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.008057, allocations: 0 / 0.7838 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.008059, allocations: 0.9062 kB / 0.7838 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.008062, allocations: 0 / 0.7838 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.37e-05/0.008155, allocations: 126.5 kB / 0.7839 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.008156, allocations: 4 kB / 0.7839 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/0.008204, allocations: 24.61 kB / 0.7839 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.008205, allocations: 0 / 0.7839 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.008213, allocations: 0.9375 kB / 0.7839 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.008214, allocations: 0 / 0.7839 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.008216, allocations: 7.938 kB / 0.7839 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.008405, allocations: 271.7 kB / 0.7842 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.008424, allocations: 23.8 kB / 0.7842 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.008443, allocations: 9.406 kB / 0.7842 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.603e-05/0.008479, allocations: 7.984 kB / 0.7842 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.008529, allocations: 31.89 kB / 0.7842 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.00854, allocations: 5.375 kB / 0.7842 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.869e-05/0.008589, allocations: 78.77 kB / 0.7843 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008589, allocations: 0 / 0.7843 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001411/0.00873, allocations: 59.89 kB / 0.7844 GB, free: 12.38 MB / 0.7448 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.0001133/0.008843, allocations: 121.8 kB / 0.7845 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.008998, allocations: 204.6 kB / 0.7847 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.009003, allocations: 8 kB / 0.7847 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.301e-05/0.009076, allocations: 137.9 kB / 0.7848 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.009197, allocations: 32.3 kB / 0.7849 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.009598, allocations: 421.4 kB / 0.7853 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.316e-05/0.009642, allocations: 90.94 kB / 0.7853 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.508e-05/0.009687, allocations: 16.27 kB / 0.7854 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.009795, allocations: 95.34 kB / 0.7855 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.009796, allocations: 0 / 0.7855 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.004304/0.0141, allocations: 3.131 MB / 0.7885 GB, free: 8.215 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: 4.697402481921017]