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.723/2.723, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001661/0.001661, allocations: 182.3 kB / 370.8 MB, free: 10.84 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.257/2.257, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001209/0.001209, allocations: 107.6 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005028/0.000503, allocations: 12.69 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.216, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002367/0.2185, allocations: 1.615 MB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.22, allocations: 0.6835 MB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.2201, allocations: 7.938 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.2203, allocations: 71.77 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.2205, allocations: 91.78 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006519/0.2212, allocations: 122.3 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.2215, allocations: 155.7 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.2217, allocations: 57.52 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.2218, allocations: 99.66 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.222, allocations: 107.6 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.222, allocations: 4 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.2222, allocations: 63.94 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.827e-05/0.2223, allocations: 47.81 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.158e-05/0.2224, allocations: 61.58 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.2227, allocations: 207.5 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2227, allocations: 0 / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2227, allocations: 4 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.2227, allocations: 4 kB / 0.9815 GB, free: 24.97 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.000957/0.2237, allocations: 0.5429 MB / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.2237, allocations: 16.02 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.823e-05/0.2238, allocations: 35.58 kB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005796/0.2244, allocations: 301.5 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.2245, allocations: 12 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/0.2245, allocations: 12 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005097/0.2251, allocations: 231.1 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2251, allocations: 0 / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.2251, allocations: 8 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2251, allocations: 4 kB / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003669/0.2255, allocations: 132.4 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009905/0.2265, allocations: 0.6924 MB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005614/0.2271, allocations: 178.7 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.2271, allocations: 4 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003942/0.2275, allocations: 169.1 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.845e-06/0.2276, allocations: 0 / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.000982/0.2286, allocations: 462.6 kB / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.2286, allocations: 136.5 kB / 0.9843 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.229, allocations: 286.6 kB / 0.9846 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.229, allocations: 37.7 kB / 0.9846 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.2291, allocations: 156.2 kB / 0.9848 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.2292, allocations: 39.45 kB / 0.9848 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.2292, allocations: 0 / 0.9848 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.711e-05/0.2293, allocations: 338.8 kB / 0.9851 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.2296, allocations: 88.14 kB / 0.9852 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.2298, allocations: 141.4 kB / 0.9854 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.2301, allocations: 115.7 kB / 0.9855 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2301, allocations: 4.125 kB / 0.9855 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007236/0.2309, allocations: 342.8 kB / 0.9858 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.2309, allocations: 41.69 kB / 0.9858 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2309, allocations: 7.938 kB / 0.9858 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.231, allocations: 0 / 0.9858 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.2312, allocations: 28.08 kB / 0.9859 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.2312, allocations: 0 / 0.9859 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.2314, allocations: 31.83 kB / 0.9859 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.2315, allocations: 7.938 kB / 0.9859 GB, free: 20.11 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.0001941/0.2317, allocations: 191.5 kB / 0.9861 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.2317, allocations: 23.72 kB / 0.9861 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.063e-05/0.2318, allocations: 41.81 kB / 0.9862 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2318, allocations: 0 / 0.9862 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2318, allocations: 0 / 0.9862 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2318, allocations: 0 / 0.9862 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.2321, allocations: 293.4 kB / 0.9864 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2321, allocations: 4 kB / 0.9864 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.2323, allocations: 15.98 kB / 0.9865 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2323, allocations: 0 / 0.9865 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.2324, allocations: 7.938 kB / 0.9865 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.2324, allocations: 4 kB / 0.9865 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2324, allocations: 0 / 0.9865 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009744/0.2334, allocations: 478.3 kB / 0.9869 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.2334, allocations: 100.8 kB / 0.987 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.797e-05/0.2335, allocations: 8 kB / 0.987 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.2337, allocations: 15.98 kB / 0.987 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.2338, allocations: 23.95 kB / 0.9871 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.2339, allocations: 4 kB / 0.9871 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002214/0.2341, allocations: 209.9 kB / 0.9873 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2341, allocations: 0 / 0.9873 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003709/0.2345, allocations: 68.03 kB / 0.9873 GB, free: 18.55 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.0002315/0.2347, allocations: 132.2 kB / 0.9875 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006455/0.2354, allocations: 303.4 kB / 0.9877 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.2354, allocations: 4 kB / 0.9878 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.2357, allocations: 183.3 kB / 0.9879 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.2361, allocations: 38.83 kB / 0.988 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.2375, allocations: 0.5105 MB / 0.9885 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.2377, allocations: 0.7636 MB / 0.9892 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.2378, allocations: 17.55 kB / 0.9892 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.2379, allocations: 15.44 kB / 0.9892 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.2379, allocations: 0 / 0.9892 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.007785/0.2457, allocations: 2.456 MB / 0.9916 GB, free: 14.08 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)