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.687/1.687, allocations: 288.4 MB / 303.7 MB, free: 8.109 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.001016/0.001016, allocations: 179.3 kB / 372.3 MB, free: 10.11 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.948/1.948, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.00101/0.00101, allocations: 86.38 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004268/0.0004268, allocations: 12.16 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2339, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.001934/0.2359, allocations: 1.615 MB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.2369, allocations: 0.691 MB / 0.9824 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.2371, allocations: 11.94 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.2373, allocations: 79.75 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.723e-05/0.2374, allocations: 75.7 kB / 0.9825 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.2379, allocations: 134.6 kB / 0.9827 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.2381, allocations: 223.4 kB / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.2383, allocations: 61.78 kB / 0.9829 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.2384, allocations: 95.66 kB / 0.983 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.2386, allocations: 107.6 kB / 0.9831 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.2386, allocations: 8 kB / 0.9831 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.2387, allocations: 75.86 kB / 0.9832 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.2388, allocations: 43.84 kB / 0.9833 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.195e-05/0.2389, allocations: 109.1 kB / 0.9834 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.2391, allocations: 219.5 kB / 0.9836 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2391, allocations: 0 / 0.9836 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2391, allocations: 0 / 0.9836 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.2391, allocations: 0 / 0.9836 GB, free: 23.77 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.00069/0.2398, allocations: 0.547 MB / 0.9841 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2398, allocations: 8.031 kB / 0.9841 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.2399, allocations: 32.56 kB / 0.9841 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.2403, allocations: 302.9 kB / 0.9844 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.2403, allocations: 16.38 kB / 0.9844 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.2403, allocations: 12.38 kB / 0.9845 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.2407, allocations: 239.2 kB / 0.9847 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2407, allocations: 0 / 0.9847 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.2407, allocations: 0 / 0.9847 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.2407, allocations: 4 kB / 0.9847 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.241, allocations: 132.4 kB / 0.9848 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006741/0.2416, allocations: 0.6924 MB / 0.9855 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.242, allocations: 182.6 kB / 0.9857 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.2421, allocations: 108.8 kB / 0.9858 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.2421, allocations: 7.984 kB / 0.9858 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.2424, allocations: 165 kB / 0.9859 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.2424, allocations: 0 / 0.9859 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0005602/0.243, allocations: 386 kB / 0.9863 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.2431, allocations: 140.5 kB / 0.9864 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.2433, allocations: 282.5 kB / 0.9867 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.2433, allocations: 33.7 kB / 0.9867 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/0.2434, allocations: 152.3 kB / 0.9869 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.2435, allocations: 47.36 kB / 0.9869 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/0.2435, allocations: 4 kB / 0.9869 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.399e-05/0.2436, allocations: 338.8 kB / 0.9873 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.2437, allocations: 95.89 kB / 0.9874 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.2439, allocations: 130.8 kB / 0.9875 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.2442, allocations: 248.9 kB / 0.9877 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2442, allocations: 0 / 0.9877 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003962/0.2446, allocations: 352.6 kB / 0.988 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.2446, allocations: 39.25 kB / 0.9881 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2446, allocations: 0 / 0.9881 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2447, allocations: 0 / 0.9881 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.2448, allocations: 32.08 kB / 0.9881 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.2448, allocations: 4.094 kB / 0.9881 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.2449, allocations: 27.77 kB / 0.9881 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.2449, allocations: 8 kB / 0.9882 GB, free: 18.75 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.000144/0.2451, allocations: 200.9 kB / 0.9883 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.2451, allocations: 31.72 kB / 0.9884 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.2452, allocations: 25.83 kB / 0.9884 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2452, allocations: 0 / 0.9884 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2452, allocations: 0 / 0.9884 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2452, allocations: 4 kB / 0.9884 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.2454, allocations: 301.2 kB / 0.9887 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2454, allocations: 4 kB / 0.9887 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.2455, allocations: 12 kB / 0.9887 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2455, allocations: 0 / 0.9887 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.2456, allocations: 15.98 kB / 0.9887 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2456, allocations: 0 / 0.9887 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2456, allocations: 0 / 0.9887 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/0.2462, allocations: 478.3 kB / 0.9892 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.2462, allocations: 104.8 kB / 0.9893 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.2463, allocations: 4 kB / 0.9893 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.916e-05/0.2464, allocations: 19.98 kB / 0.9893 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.2465, allocations: 27.95 kB / 0.9893 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.2465, allocations: 4 kB / 0.9893 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001373/0.2466, allocations: 201.9 kB / 0.9895 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2466, allocations: 4.062 kB / 0.9895 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002538/0.2469, allocations: 55.91 kB / 0.9896 GB, free: 17.19 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.0001736/0.2471, allocations: 136.6 kB / 0.9897 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004167/0.2475, allocations: 299.4 kB / 0.99 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2475, allocations: 0 / 0.99 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.2477, allocations: 191.3 kB / 0.9902 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.248, allocations: 28.55 kB / 0.9902 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008182/0.2488, allocations: 0.5144 MB / 0.9907 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.249, allocations: 0.7559 MB / 0.9914 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.343e-05/0.2491, allocations: 17.55 kB / 0.9915 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.2491, allocations: 15.44 kB / 0.9915 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2491, allocations: 3.938 kB / 0.9915 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.00517/0.2543, allocations: 2.485 MB / 0.9939 GB, free: 12.69 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)