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.0009603/0.0009603, allocations: 83.69 kB / 21.74 MB, free: 2.508 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.001103/0.001103, allocations: 169.3 kB / 25.18 MB, free: 8.926 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.9176/0.9176, allocations: 177.1 MB / 205.6 MB, free: 5.367 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.85/1.85, allocations: 389.6 MB / 0.6364 GB, free: 12.23 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.373e-06/1.373e-06, allocations: 0 / 0.7755 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.405e-05, allocations: 3.062 kB / 0.7755 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002383/0.002397, allocations: 2.033 MB / 0.7775 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009421/0.003339, allocations: 0.7242 MB / 0.7782 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.862e-05/0.003438, allocations: 4.547 kB / 0.7782 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.003645, allocations: 80.39 kB / 0.7783 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.003747, allocations: 105.3 kB / 0.7784 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.00416, allocations: 176.8 kB / 0.7786 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.004416, allocations: 259.4 kB / 0.7788 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.004545, allocations: 52.8 kB / 0.7789 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.004714, allocations: 163.6 kB / 0.779 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.004861, allocations: 115.7 kB / 0.7791 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.004889, allocations: 20 kB / 0.7791 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.005025, allocations: 94.67 kB / 0.7792 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/0.005093, allocations: 59.77 kB / 0.7793 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.797e-05/0.005151, allocations: 63.77 kB / 0.7794 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.005388, allocations: 231.2 kB / 0.7796 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.005389, allocations: 0 / 0.7796 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.01e-07/0.00539, allocations: 0 / 0.7796 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.005393, allocations: 0 / 0.7796 GB, free: 1.883 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.0004659/0.005859, allocations: 476.2 kB / 0.78 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.005888, allocations: 9.344 kB / 0.78 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.005932, allocations: 32.91 kB / 0.7801 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.006123, allocations: 200.7 kB / 0.7803 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.006142, allocations: 16.38 kB / 0.7803 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.006166, allocations: 17.25 kB / 0.7803 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.00638, allocations: 252.8 kB / 0.7805 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.006387, allocations: 192 / 0.7805 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.0064, allocations: 9.156 kB / 0.7805 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.006406, allocations: 7.938 kB / 0.7806 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.386e-05/0.00648, allocations: 81.53 kB / 0.7806 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.006873, allocations: 457.7 kB / 0.7811 GB, free: 244 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.006989, allocations: 144.1 kB / 0.7812 GB, free: 84 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.00703, allocations: 63.48 kB / 0.7813 GB, free: 12 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.007038, allocations: 0 / 0.7813 GB, free: 12 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000123/0.007161, allocations: 150.1 kB / 0.7814 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.243e-06/0.007163, allocations: 1.594 kB / 0.7814 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.000189/0.007352, allocations: 214.7 kB / 0.7816 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.007399, allocations: 132.5 kB / 0.7817 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.007527, allocations: 232.9 kB / 0.782 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.007545, allocations: 34.55 kB / 0.782 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.007605, allocations: 132.9 kB / 0.7821 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.007632, allocations: 48.88 kB / 0.7822 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.007675, allocations: 37.69 kB / 0.7822 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.615e-05/0.007751, allocations: 338.8 kB / 0.7825 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.007791, allocations: 58.27 kB / 0.7826 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.007863, allocations: 152 kB / 0.7827 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.013e-05/0.007953, allocations: 145 kB / 0.7829 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.007956, allocations: 0 / 0.7829 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001373/0.008093, allocations: 202.3 kB / 0.7831 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.008119, allocations: 38.77 kB / 0.7831 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.008125, allocations: 3.984 kB / 0.7831 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.723e-06/0.008131, allocations: 0 / 0.7831 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.008202, allocations: 32.77 kB / 0.7831 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.008205, allocations: 0 / 0.7831 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.255e-05/0.008257, allocations: 24.41 kB / 0.7832 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.008268, allocations: 13.77 kB / 0.7832 GB, free: 13.86 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.677e-05/0.008355, allocations: 155.6 kB / 0.7833 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.008376, allocations: 19.98 kB / 0.7833 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.008409, allocations: 30.7 kB / 0.7834 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.008411, allocations: 3.938 kB / 0.7834 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.008413, allocations: 4 kB / 0.7834 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.008416, allocations: 1.094 kB / 0.7834 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.008519, allocations: 137.7 kB / 0.7835 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.008521, allocations: 3.984 kB / 0.7835 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.008565, allocations: 13.22 kB / 0.7835 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.008566, allocations: 0 / 0.7835 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.008577, allocations: 4 kB / 0.7835 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.00858, allocations: 9.016 kB / 0.7835 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.008581, allocations: 3.938 kB / 0.7835 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.008782, allocations: 272.6 kB / 0.7838 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.008801, allocations: 23.8 kB / 0.7838 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.008822, allocations: 8 kB / 0.7838 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.646e-05/0.008859, allocations: 9.016 kB / 0.7838 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.008907, allocations: 31.88 kB / 0.7839 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.008921, allocations: 8 kB / 0.7839 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.078e-05/0.008971, allocations: 80.3 kB / 0.784 GB, free: 13 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008971, allocations: 0 / 0.784 GB, free: 13 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001456/0.009117, allocations: 59.89 kB / 0.784 GB, free: 12.94 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.0001138/0.009231, allocations: 113.8 kB / 0.7841 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.009398, allocations: 216.5 kB / 0.7843 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.009404, allocations: 0 / 0.7843 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.344e-05/0.009477, allocations: 138.7 kB / 0.7845 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.009598, allocations: 33.42 kB / 0.7845 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.01002, allocations: 457.4 kB / 0.7849 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.174e-05/0.0101, allocations: 136.7 kB / 0.7851 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.01021, allocations: 102.4 kB / 0.7852 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of SimCode: time 7.32e-07/0.01021, allocations: 0 / 0.7852 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of Templates: time 0.003244/0.01346, allocations: 2.995 MB / 0.7881 GB, free: 8.789 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 > Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.500780027359724]