Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.102/2.102, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001438/0.001437, allocations: 178 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.442/2.442, allocations: 205.4 MB / 0.5772 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009154/0.0009148, allocations: 89.92 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007066/0.0007068, allocations: 12.75 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2551, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2375/0.4927, allocations: 134.7 MB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/0.4931, allocations: 87.95 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02866/0.5218, allocations: 5.867 MB / 1.037 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5218, allocations: 0 / 1.037 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.404e-05/0.5219, allocations: 8 kB / 1.037 GB, free: 4.684 MB / 0.6823 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.00135/0.5232, allocations: 0.5879 MB / 1.037 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.5233, allocations: 8.031 kB / 1.037 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.5234, allocations: 32.56 kB / 1.037 GB, free: 4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006284/0.5241, allocations: 290.9 kB / 1.038 GB, free: 3.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.5241, allocations: 16.31 kB / 1.038 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.5242, allocations: 12.38 kB / 1.038 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007562/0.525, allocations: 263.6 kB / 1.038 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.525, allocations: 192 / 1.038 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/0.5251, allocations: 11.94 kB / 1.038 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.5251, allocations: 4 kB / 1.038 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005534/0.5256, allocations: 164.3 kB / 1.038 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.5271, allocations: 0.7432 MB / 1.039 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009113/0.528, allocations: 218.4 kB / 1.039 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004321/0.5285, allocations: 132.9 kB / 1.039 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.5285, allocations: 7.938 kB / 1.039 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005772/0.5291, allocations: 209 kB / 1.039 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 3.597e-06/0.5291, allocations: 0 / 1.039 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.001771/0.5309, allocations: 495.1 kB / 1.04 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.5311, allocations: 132.5 kB / 1.04 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004921/0.5316, allocations: 278.7 kB / 1.04 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.826e-05/0.5316, allocations: 37.69 kB / 1.04 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.5318, allocations: 152.2 kB / 1.041 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.185e-05/0.5319, allocations: 47.38 kB / 1.041 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.5319, allocations: 4 kB / 1.041 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.5321, allocations: 338.8 kB / 1.041 GB, free: 288 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/0.5326, allocations: 115.9 kB / 1.041 GB, free: 172 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/0.533, allocations: 158.3 kB / 1.041 GB, free: 16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.5335, allocations: 145.6 kB / 1.041 GB, free: 15.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5335, allocations: 0 / 1.041 GB, free: 15.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001291/0.5348, allocations: 422.7 kB / 1.042 GB, free: 15.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.092e-05/0.5349, allocations: 41.69 kB / 1.042 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.535, allocations: 3.938 kB / 1.042 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.535, allocations: 0 / 1.042 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.5353, allocations: 32.08 kB / 1.042 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.5353, allocations: 3.984 kB / 1.042 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/0.5357, allocations: 43.88 kB / 1.042 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/0.5358, allocations: 8 kB / 1.042 GB, free: 15.29 MB / 0.698 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.0003484/0.5361, allocations: 199.3 kB / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.372e-05/0.5362, allocations: 27.7 kB / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.136e-05/0.5363, allocations: 25.84 kB / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.5363, allocations: 4 kB / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5363, allocations: 0 / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.5364, allocations: 3.984 kB / 1.042 GB, free: 15.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.5368, allocations: 301.4 kB / 1.042 GB, free: 14.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5368, allocations: 0 / 1.042 GB, free: 14.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.5371, allocations: 20 kB / 1.042 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.5371, allocations: 3.984 kB / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.5371, allocations: 4 kB / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5371, allocations: 0 / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5371, allocations: 0 / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.539, allocations: 0.5959 MB / 1.043 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.5391, allocations: 96.83 kB / 1.043 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.767e-05/0.5392, allocations: 8 kB / 1.043 GB, free: 13.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.5396, allocations: 40.03 kB / 1.043 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.5397, allocations: 19.95 kB / 1.043 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.363e-05/0.5398, allocations: 16.19 kB / 1.043 GB, free: 13.83 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003301/0.5401, allocations: 201.9 kB / 1.043 GB, free: 13.63 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.21e-07/0.5401, allocations: 3.938 kB / 1.043 GB, free: 13.63 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004656/0.5406, allocations: 75.91 kB / 1.043 GB, free: 13.55 MB / 0.698 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 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * 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.0003038/0.5409, allocations: 133.5 kB / 1.044 GB, free: 13.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009704/0.5419, allocations: 319.4 kB / 1.044 GB, free: 13.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5419, allocations: 0 / 1.044 GB, free: 13.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004633/0.5424, allocations: 203.2 kB / 1.044 GB, free: 12.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.5429, allocations: 34.03 kB / 1.044 GB, free: 12.84 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.5447, allocations: 0.5147 MB / 1.045 GB, free: 12.31 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.5451, allocations: 0.7489 MB / 1.045 GB, free: 11.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000162/0.5453, allocations: 17.42 kB / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.929e-05/0.5454, allocations: 19.42 kB / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/0.5454, allocations: 0 / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of Templates: time 0.009574/0.555, allocations: 2.52 MB / 1.048 GB, free: 8.996 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)