Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.817/1.817, allocations: 288.3 MB / 303.2 MB, free: 8.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 187.7 kB / 371.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 94.92 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004163, allocations: 11.16 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2545, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002301/0.2568, allocations: 1.612 MB / 0.981 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.2579, allocations: 0.691 MB / 0.9817 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.258, allocations: 11.94 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.2582, allocations: 71.75 kB / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.2583, allocations: 83.84 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.2588, allocations: 138 kB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.2591, allocations: 151.7 kB / 0.9821 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.2592, allocations: 53.59 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.2593, allocations: 83.72 kB / 0.9822 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.2595, allocations: 111.6 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.2595, allocations: 8 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.2596, allocations: 67.92 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.908e-05/0.2597, allocations: 43.83 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.2597, allocations: 61.52 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.2599, allocations: 215.6 kB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2599, allocations: 0 / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.26, allocations: 0 / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.26, allocations: 0 / 0.9827 GB, free: 24.31 MB / 0.6198 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.000677/0.2606, allocations: 0.5584 MB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2607, allocations: 12.02 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/0.2608, allocations: 35.61 kB / 0.9833 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.2612, allocations: 293.5 kB / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.2612, allocations: 16 kB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.2612, allocations: 12 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.2616, allocations: 219.2 kB / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2616, allocations: 0 / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.2616, allocations: 15.94 kB / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.2616, allocations: 0 / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.2618, allocations: 132.4 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007069/0.2625, allocations: 0.6962 MB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.2629, allocations: 178.5 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.2629, allocations: 0 / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003044/0.2632, allocations: 177.2 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.2632, allocations: 0 / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0006194/0.2639, allocations: 456.1 kB / 0.9854 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.2639, allocations: 136.5 kB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.2641, allocations: 286.5 kB / 0.9858 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.2641, allocations: 37.69 kB / 0.9859 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.989e-05/0.2642, allocations: 152.2 kB / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.2643, allocations: 47.44 kB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/0.2643, allocations: 0 / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.2644, allocations: 342.8 kB / 0.9864 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.2645, allocations: 92.14 kB / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.2647, allocations: 140.9 kB / 0.9866 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.2648, allocations: 114.6 kB / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2648, allocations: 0 / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003975/0.2652, allocations: 347.7 kB / 0.987 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.2653, allocations: 33.7 kB / 0.9871 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2653, allocations: 4.094 kB / 0.9871 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2653, allocations: 4 kB / 0.9871 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.2654, allocations: 23.98 kB / 0.9871 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2654, allocations: 96 / 0.9871 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.2656, allocations: 35.77 kB / 0.9871 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.2656, allocations: 7.984 kB / 0.9871 GB, free: 19.44 MB / 0.6198 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 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.2657, allocations: 197.6 kB / 0.9873 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.2658, allocations: 27.67 kB / 0.9874 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/0.2658, allocations: 29.83 kB / 0.9874 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2658, allocations: 4 kB / 0.9874 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2658, allocations: 0 / 0.9874 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2658, allocations: 0 / 0.9874 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.266, allocations: 285.4 kB / 0.9877 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.266, allocations: 4 kB / 0.9877 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-05/0.2661, allocations: 23.94 kB / 0.9877 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2662, allocations: 4 kB / 0.9877 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.2662, allocations: 8 kB / 0.9877 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2662, allocations: 0 / 0.9877 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2662, allocations: 0 / 0.9877 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.2668, allocations: 480.2 kB / 0.9882 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.2668, allocations: 92.86 kB / 0.9882 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.2669, allocations: 15.95 kB / 0.9883 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.267, allocations: 15.98 kB / 0.9883 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.2671, allocations: 27.94 kB / 0.9883 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.2671, allocations: 11.98 kB / 0.9883 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001273/0.2673, allocations: 206 kB / 0.9885 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2673, allocations: 0 / 0.9885 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002475/0.2675, allocations: 63.95 kB / 0.9886 GB, free: 17.88 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001746/0.2677, allocations: 131.2 kB / 0.9887 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004083/0.2681, allocations: 303.4 kB / 0.989 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2681, allocations: 0 / 0.989 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.2683, allocations: 187.3 kB / 0.9892 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.2685, allocations: 30.44 kB / 0.9892 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008548/0.2694, allocations: 0.5106 MB / 0.9897 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.2696, allocations: 0.7599 MB / 0.9904 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.023e-05/0.2697, allocations: 21.55 kB / 0.9905 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.2697, allocations: 15.44 kB / 0.9905 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2697, allocations: 3.938 kB / 0.9905 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of Templates: time 0.005355/0.2751, allocations: 2.443 MB / 0.9929 GB, free: 13.42 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)