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 1.795/1.795, allocations: 287.5 MB / 302.6 MB, free: 8.258 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.001662/0.001662, allocations: 179 kB / 371.2 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 1.568/1.568, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008948/0.0008948, allocations: 98.8 kB / 0.7432 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006161/0.0006161, allocations: 15.52 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2223, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00199/0.2244, allocations: 1.614 MB / 0.9802 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.2256, allocations: 0.7038 MB / 0.9809 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.2257, allocations: 7.938 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.226, allocations: 67.77 kB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.2261, allocations: 87.73 kB / 0.9811 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.2267, allocations: 125.8 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000274/0.2269, allocations: 223.4 kB / 0.9814 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.2271, allocations: 69.81 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.2273, allocations: 91.67 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.2274, allocations: 115.5 kB / 0.9817 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.2275, allocations: 8 kB / 0.9817 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.2276, allocations: 71.88 kB / 0.9818 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.2277, allocations: 39.83 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.2277, allocations: 61.58 kB / 0.9819 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.228, allocations: 211.6 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.228, allocations: 0 / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.228, allocations: 4 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.228, allocations: 4 kB / 0.9821 GB, free: 24.7 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.000686/0.2287, allocations: 0.543 MB / 0.9826 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.2287, allocations: 12.03 kB / 0.9826 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.148e-05/0.2288, allocations: 32.56 kB / 0.9826 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.2293, allocations: 302.9 kB / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.2293, allocations: 8.375 kB / 0.9829 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.2294, allocations: 16.38 kB / 0.983 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.2297, allocations: 239.2 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2297, allocations: 0 / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.2298, allocations: 8 kB / 0.9832 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.2298, allocations: 3.984 kB / 0.9832 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.23, allocations: 140.3 kB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007131/0.2307, allocations: 0.6846 MB / 0.984 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.2311, allocations: 186.5 kB / 0.9842 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.2312, allocations: 96.83 kB / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.2312, allocations: 4 kB / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.2315, allocations: 185 kB / 0.9844 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.864e-06/0.2315, allocations: 0 / 0.9844 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0005844/0.2321, allocations: 388.5 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.2322, allocations: 132.5 kB / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.2324, allocations: 286.5 kB / 0.9852 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.2324, allocations: 29.7 kB / 0.9852 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.2325, allocations: 156.3 kB / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.2325, allocations: 39.36 kB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.2325, allocations: 8 kB / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.717e-05/0.2326, allocations: 330.8 kB / 0.9858 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.2328, allocations: 103.8 kB / 0.9859 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.2329, allocations: 129.1 kB / 0.986 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.2332, allocations: 249 kB / 0.9862 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2333, allocations: 0 / 0.9862 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004188/0.2337, allocations: 343 kB / 0.9865 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.2337, allocations: 41.69 kB / 0.9866 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2337, allocations: 0 / 0.9866 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.2338, allocations: 4 kB / 0.9866 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.2339, allocations: 23.92 kB / 0.9866 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2339, allocations: 4 kB / 0.9866 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.234, allocations: 31.92 kB / 0.9866 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.234, allocations: 8 kB / 0.9866 GB, free: 19.68 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.0001297/0.2342, allocations: 195.4 kB / 0.9868 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.2342, allocations: 23.72 kB / 0.9869 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.2343, allocations: 25.84 kB / 0.9869 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.2343, allocations: 7.984 kB / 0.9869 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2343, allocations: 4 kB / 0.9869 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2343, allocations: 0 / 0.9869 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.2345, allocations: 301.3 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2345, allocations: 7.875 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.989e-05/0.2346, allocations: 16 kB / 0.9872 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2346, allocations: 0 / 0.9872 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.2346, allocations: 7.984 kB / 0.9872 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2346, allocations: 0 / 0.9872 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2346, allocations: 0 / 0.9872 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005822/0.2352, allocations: 479 kB / 0.9877 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.2353, allocations: 100.8 kB / 0.9878 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/0.2353, allocations: 12 kB / 0.9878 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.2354, allocations: 16.05 kB / 0.9878 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/0.2355, allocations: 27.95 kB / 0.9878 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.2355, allocations: 8 kB / 0.9878 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001357/0.2357, allocations: 205.9 kB / 0.988 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2357, allocations: 192 / 0.988 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002513/0.2359, allocations: 51.91 kB / 0.9881 GB, free: 18.12 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.0001683/0.2361, allocations: 144.7 kB / 0.9882 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003962/0.2365, allocations: 295.2 kB / 0.9885 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2365, allocations: 0 / 0.9885 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.2367, allocations: 195.5 kB / 0.9887 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.2371, allocations: 31.81 kB / 0.9887 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008684/0.2379, allocations: 0.5183 MB / 0.9892 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.2381, allocations: 0.7569 MB / 0.99 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.12e-05/0.2382, allocations: 17.53 kB / 0.99 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.2383, allocations: 15.44 kB / 0.99 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.2383, allocations: 7.938 kB / 0.99 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of Templates: time 0.005099/0.2434, allocations: 2.447 MB / 0.9924 GB, free: 13.64 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)