Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008728/0.008728, allocations: 172.3 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 473.4 MB / 0.7469 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.000338, allocations: 18.22 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3401, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002577/0.3427, allocations: 1.658 MB / 1.076 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.3443, allocations: 0.7053 MB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.3445, allocations: 3.938 kB / 1.076 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.3448, allocations: 75.77 kB / 1.077 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.345, allocations: 87.67 kB / 1.077 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006181/0.3456, allocations: 155.5 kB / 1.077 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.346, allocations: 247.2 kB / 1.077 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.3462, allocations: 66.09 kB / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.3464, allocations: 91.61 kB / 1.077 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.3466, allocations: 131.5 kB / 1.077 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.3467, allocations: 8 kB / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.3468, allocations: 75.88 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.251e-05/0.3469, allocations: 51.75 kB / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.347, allocations: 109.1 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.3474, allocations: 279 kB / 1.078 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3474, allocations: 0 / 1.078 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3474, allocations: 0 / 1.078 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.3474, allocations: 0 / 1.078 GB, free: 3.84 MB / 0.8262 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.0009016/0.3483, allocations: 0.5431 MB / 1.078 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3484, allocations: 12.03 kB / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.775e-05/0.3485, allocations: 28.56 kB / 1.078 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004993/0.349, allocations: 314.8 kB / 1.079 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.349, allocations: 8.375 kB / 1.079 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.3491, allocations: 16.38 kB / 1.079 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.3496, allocations: 235.2 kB / 1.079 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3497, allocations: 0 / 1.079 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.3497, allocations: 8 kB / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.3497, allocations: 4 kB / 1.079 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.35, allocations: 136.3 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.3513, allocations: 0.6924 MB / 1.08 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.3517, allocations: 186.5 kB / 1.08 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.3519, allocations: 100.8 kB / 1.08 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.3519, allocations: 7.984 kB / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000386/0.3523, allocations: 173.1 kB / 1.08 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 3.076e-06/0.3523, allocations: 0 / 1.08 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0007881/0.3531, allocations: 384.8 kB / 1.081 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.3532, allocations: 132.5 kB / 1.081 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/0.3536, allocations: 282.6 kB / 1.081 GB, free: 372 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.3537, allocations: 33.7 kB / 1.081 GB, free: 332 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.3538, allocations: 160.2 kB / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.3539, allocations: 43.45 kB / 1.081 GB, free: 124 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.3539, allocations: 25.7 kB / 1.081 GB, free: 92 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3541, allocations: 334.8 kB / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.3542, allocations: 99.73 kB / 1.082 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.3545, allocations: 141.8 kB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.3548, allocations: 248.6 kB / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3548, allocations: 0 / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005004/0.3553, allocations: 340.3 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.455e-05/0.3554, allocations: 37.78 kB / 1.082 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3554, allocations: 4 kB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3554, allocations: 0 / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.3555, allocations: 27.92 kB / 1.082 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.3556, allocations: 4 kB / 1.082 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.3557, allocations: 27.83 kB / 1.082 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.3557, allocations: 8 kB / 1.082 GB, free: 14.78 MB / 0.8419 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 0.0001794/0.3559, allocations: 195.5 kB / 1.083 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.356, allocations: 27.72 kB / 1.083 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.695e-05/0.356, allocations: 29.83 kB / 1.083 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.356, allocations: 4 kB / 1.083 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.356, allocations: 96 / 1.083 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3561, allocations: 7.875 kB / 1.083 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.3563, allocations: 293.3 kB / 1.083 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3563, allocations: 0 / 1.083 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.3564, allocations: 23.92 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3564, allocations: 4 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.3565, allocations: 4 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3565, allocations: 4 kB / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3565, allocations: 0 / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006983/0.3572, allocations: 484 kB / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.3573, allocations: 96.86 kB / 1.083 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.3573, allocations: 8 kB / 1.084 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3574, allocations: 19.98 kB / 1.084 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.559e-05/0.3575, allocations: 19.95 kB / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.3575, allocations: 12.06 kB / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001882/0.3577, allocations: 201.9 kB / 1.084 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3577, allocations: 0 / 1.084 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002787/0.358, allocations: 63.97 kB / 1.084 GB, free: 13.2 MB / 0.8419 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.0002048/0.3582, allocations: 131.2 kB / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000483/0.3587, allocations: 303.2 kB / 1.084 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3587, allocations: 0 / 1.084 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.359, allocations: 187.3 kB / 1.084 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.3593, allocations: 28.73 kB / 1.084 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009647/0.3603, allocations: 0.5417 MB / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.3606, allocations: 0.7517 MB / 1.086 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.45e-05/0.3607, allocations: 17.55 kB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.3607, allocations: 19.44 kB / 1.086 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of SimCode: time 2.013e-06/0.3607, allocations: 0 / 1.086 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of Templates: time 0.006165/0.3669, allocations: 2.532 MB / 1.088 GB, free: 8.645 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)