Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.868/2.868, allocations: 287.5 MB / 302.4 MB, free: 8.312 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.001457/0.001457, allocations: 175.7 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.247/2.247, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.001865/0.001864, allocations: 101.8 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004906/0.0004908, allocations: 12.45 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2231, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00238/0.2256, allocations: 1.619 MB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.227, allocations: 0.6952 MB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.2272, allocations: 7.938 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.2274, allocations: 67.77 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.2276, allocations: 87.75 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005998/0.2282, allocations: 134.8 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.2285, allocations: 219.4 kB / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.2286, allocations: 53.59 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.2288, allocations: 95.66 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.229, allocations: 111.6 kB / 0.9814 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.229, allocations: 11.94 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.2292, allocations: 71.88 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/0.2293, allocations: 47.81 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.121e-05/0.2293, allocations: 57.58 kB / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.2296, allocations: 211.6 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2296, allocations: 0 / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2296, allocations: 0 / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2297, allocations: 0 / 0.9817 GB, free: 24.88 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.000919/0.2306, allocations: 0.5507 MB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2306, allocations: 12.02 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.552e-05/0.2307, allocations: 35.58 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/0.2313, allocations: 301.5 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.2313, allocations: 16 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.2314, allocations: 12 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/0.2319, allocations: 231.1 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.2319, allocations: 0 / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.232, allocations: 8 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.232, allocations: 4 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.2323, allocations: 128.3 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009424/0.2333, allocations: 0.6924 MB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000541/0.2339, allocations: 178.6 kB / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.2341, allocations: 104.8 kB / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.2342, allocations: 0 / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004228/0.2346, allocations: 173 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.2346, allocations: 7.938 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0009277/0.2356, allocations: 381 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.2356, allocations: 136.5 kB / 0.9846 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.236, allocations: 282.6 kB / 0.9849 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.236, allocations: 37.69 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.2361, allocations: 156.2 kB / 0.9851 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.2362, allocations: 39.45 kB / 0.9851 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.2362, allocations: 4 kB / 0.9851 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.918e-05/0.2363, allocations: 338.8 kB / 0.9854 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.2366, allocations: 88.14 kB / 0.9855 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.2369, allocations: 141.3 kB / 0.9856 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.2371, allocations: 109.7 kB / 0.9857 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2371, allocations: 4 kB / 0.9857 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006936/0.2378, allocations: 343.8 kB / 0.9861 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.2379, allocations: 35.11 kB / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2379, allocations: 4 kB / 0.9861 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.2379, allocations: 4 kB / 0.9861 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.2381, allocations: 32.02 kB / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2382, allocations: 0 / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.2384, allocations: 31.83 kB / 0.9862 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.2384, allocations: 4 kB / 0.9862 GB, free: 20.01 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.0001878/0.2386, allocations: 195.4 kB / 0.9864 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.2387, allocations: 27.81 kB / 0.9864 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.463e-05/0.2388, allocations: 33.77 kB / 0.9864 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2388, allocations: 4 kB / 0.9864 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2388, allocations: 0 / 0.9864 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2388, allocations: 3.984 kB / 0.9864 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.2391, allocations: 293.5 kB / 0.9867 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2391, allocations: 0 / 0.9867 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.2393, allocations: 23.92 kB / 0.9867 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2393, allocations: 0 / 0.9867 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.2393, allocations: 12 kB / 0.9867 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2393, allocations: 0 / 0.9867 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2394, allocations: 0 / 0.9867 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009924/0.2404, allocations: 478.3 kB / 0.9872 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.2404, allocations: 96.81 kB / 0.9873 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.2405, allocations: 8 kB / 0.9873 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.2407, allocations: 19.98 kB / 0.9873 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.317e-05/0.2408, allocations: 23.95 kB / 0.9873 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.2408, allocations: 11.98 kB / 0.9874 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002167/0.2411, allocations: 194 kB / 0.9875 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2411, allocations: 4.062 kB / 0.9875 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003503/0.2414, allocations: 67.83 kB / 0.9876 GB, free: 18.45 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.0002227/0.2417, allocations: 128.1 kB / 0.9877 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006524/0.2423, allocations: 311.4 kB / 0.988 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2424, allocations: 0 / 0.988 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.2427, allocations: 183.4 kB / 0.9882 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.2431, allocations: 29.58 kB / 0.9882 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.2444, allocations: 0.5182 MB / 0.9887 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.2447, allocations: 0.7609 MB / 0.9895 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001278/0.2448, allocations: 21.55 kB / 0.9895 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.204e-05/0.2449, allocations: 15.44 kB / 0.9895 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of SimCode: time 8.62e-07/0.2449, allocations: 0 / 0.9895 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.007707/0.2526, allocations: 2.459 MB / 0.9919 GB, free: 13.97 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)