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.818/1.818, allocations: 287.4 MB / 303.2 MB, free: 8.246 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.000967/0.0009672, allocations: 170.2 kB / 371.8 MB, free: 10.82 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.586/1.586, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0008057/0.0008057, allocations: 92.64 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004511/0.0004511, allocations: 9.969 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2226, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.001858/0.2245, allocations: 1.61 MB / 0.9808 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.2256, allocations: 0.6999 MB / 0.9815 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.2258, allocations: 4 kB / 0.9815 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.226, allocations: 75.7 kB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.2262, allocations: 83.75 kB / 0.9817 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005385/0.2267, allocations: 129 kB / 0.9818 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000264/0.227, allocations: 227.4 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.2272, allocations: 64.23 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.2273, allocations: 91.66 kB / 0.9822 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.2275, allocations: 115.5 kB / 0.9823 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.2275, allocations: 8 kB / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.2276, allocations: 71.88 kB / 0.9824 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.2277, allocations: 47.81 kB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.831e-05/0.2278, allocations: 57.58 kB / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.228, allocations: 215.6 kB / 0.9827 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.228, allocations: 0 / 0.9827 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2281, allocations: 0 / 0.9827 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.2281, allocations: 0 / 0.9827 GB, free: 24.68 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.0006937/0.2288, allocations: 0.5469 MB / 0.9832 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.2288, allocations: 8.031 kB / 0.9832 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.67e-05/0.2289, allocations: 32.56 kB / 0.9832 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.2293, allocations: 302.9 kB / 0.9835 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.2293, allocations: 16.38 kB / 0.9835 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.2294, allocations: 16.38 kB / 0.9836 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.2297, allocations: 227.2 kB / 0.9838 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2297, allocations: 4 kB / 0.9838 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.2298, allocations: 8 kB / 0.9838 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2298, allocations: 4 kB / 0.9838 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.23, allocations: 132.3 kB / 0.9839 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007232/0.2307, allocations: 0.6963 MB / 0.9846 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.2311, allocations: 178.4 kB / 0.9848 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.2312, allocations: 105 kB / 0.9849 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.2312, allocations: 0 / 0.9849 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/0.2315, allocations: 185 kB / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.883e-06/0.2315, allocations: 0 / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0006212/0.2322, allocations: 379 kB / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.2322, allocations: 136.5 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.2324, allocations: 282.5 kB / 0.9858 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.2325, allocations: 33.7 kB / 0.9858 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.2326, allocations: 152.3 kB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.2326, allocations: 47.36 kB / 0.986 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/0.2326, allocations: 0 / 0.986 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.795e-05/0.2327, allocations: 342.8 kB / 0.9864 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.2328, allocations: 79.97 kB / 0.9864 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.233, allocations: 147.2 kB / 0.9866 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.2333, allocations: 247 kB / 0.9868 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2333, allocations: 4 kB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004431/0.2338, allocations: 343 kB / 0.9871 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.2338, allocations: 33.7 kB / 0.9872 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2338, allocations: 7.984 kB / 0.9872 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2338, allocations: 0 / 0.9872 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.234, allocations: 28.02 kB / 0.9872 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.234, allocations: 7.984 kB / 0.9872 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.2341, allocations: 27.84 kB / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.2341, allocations: 7.984 kB / 0.9872 GB, free: 19.66 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.0001409/0.2343, allocations: 191.5 kB / 0.9874 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.2343, allocations: 23.72 kB / 0.9875 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.2344, allocations: 37.83 kB / 0.9875 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2344, allocations: 0 / 0.9875 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2344, allocations: 0 / 0.9875 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.2344, allocations: 100.8 kB / 0.9876 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.2345, allocations: 12 kB / 0.9876 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.2346, allocations: 19.92 kB / 0.9876 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.2347, allocations: 31.83 kB / 0.9876 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000663/0.2354, allocations: 0.5018 MB / 0.9881 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006179/0.236, allocations: 0.6265 MB / 0.9887 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001772/0.2362, allocations: 128 kB / 0.9889 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001298/0.2363, allocations: 205.9 kB / 0.9891 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of Backend: time 2.31e-07/0.2363, allocations: 0 / 0.9891 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006081/0.2369, allocations: 311.2 kB / 0.9894 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007955/0.2377, allocations: 0.9737 MB / 0.9903 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of Templates: time 0.005307/0.2431, allocations: 2.608 MB / 0.9929 GB, free: 13.78 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)