Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.773/1.773, allocations: 288.4 MB / 304.3 MB, free: 8.008 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.001051/0.001051, allocations: 181.8 kB / 372.9 MB, free: 10.16 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.562/1.562, allocations: 205.4 MB / 0.6316 GB, free: 9.938 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.0009463/0.000946, allocations: 100.7 kB / 0.745 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004056/0.0004058, allocations: 15.88 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2366, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.001874/0.2385, allocations: 1.615 MB / 0.9823 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009434/0.2394, allocations: 0.6871 MB / 0.983 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.2396, allocations: 7.938 kB / 0.983 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.2398, allocations: 75.75 kB / 0.9831 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.69e-05/0.2399, allocations: 83.7 kB / 0.9831 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.2403, allocations: 130 kB / 0.9833 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.2405, allocations: 223.4 kB / 0.9835 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.2406, allocations: 65.84 kB / 0.9835 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.158e-05/0.2407, allocations: 91.66 kB / 0.9836 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.2409, allocations: 111.6 kB / 0.9837 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.2409, allocations: 8 kB / 0.9837 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.241, allocations: 75.86 kB / 0.9838 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.2411, allocations: 35.84 kB / 0.9839 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.108e-05/0.2412, allocations: 113.1 kB / 0.984 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.2413, allocations: 211.6 kB / 0.9842 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2414, allocations: 4 kB / 0.9842 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2414, allocations: 0 / 0.9842 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.2414, allocations: 0 / 0.9842 GB, free: 23.83 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.0005979/0.242, allocations: 0.5469 MB / 0.9847 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.242, allocations: 12.02 kB / 0.9847 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.2421, allocations: 36.56 kB / 0.9847 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.2425, allocations: 299 kB / 0.985 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.2425, allocations: 12.38 kB / 0.985 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.2425, allocations: 20.38 kB / 0.9851 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.2429, allocations: 231.2 kB / 0.9853 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.2429, allocations: 0 / 0.9853 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.2429, allocations: 7.984 kB / 0.9853 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2429, allocations: 4 kB / 0.9853 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.2431, allocations: 136.4 kB / 0.9854 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006407/0.2438, allocations: 0.6923 MB / 0.9861 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.2441, allocations: 182.6 kB / 0.9863 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.2442, allocations: 100.9 kB / 0.9864 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.2443, allocations: 4 kB / 0.9864 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.2445, allocations: 181 kB / 0.9865 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.2445, allocations: 0 / 0.9865 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0005611/0.2451, allocations: 381 kB / 0.9869 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.2452, allocations: 136.5 kB / 0.987 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.2454, allocations: 282.5 kB / 0.9873 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.2454, allocations: 33.7 kB / 0.9873 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/0.2455, allocations: 156.3 kB / 0.9875 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.2455, allocations: 43.36 kB / 0.9875 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-06/0.2455, allocations: 4 kB / 0.9875 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.569e-05/0.2456, allocations: 334.8 kB / 0.9879 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.2457, allocations: 95.95 kB / 0.9879 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.2459, allocations: 137.8 kB / 0.9881 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.2462, allocations: 248.6 kB / 0.9883 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2462, allocations: 0 / 0.9883 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003974/0.2466, allocations: 346.9 kB / 0.9886 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.2466, allocations: 41.69 kB / 0.9887 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.2466, allocations: 0 / 0.9887 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2466, allocations: 0 / 0.9887 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.2468, allocations: 23.98 kB / 0.9887 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.2468, allocations: 4 kB / 0.9887 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.2469, allocations: 27.92 kB / 0.9887 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.2469, allocations: 15.98 kB / 0.9888 GB, free: 18.79 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.0001228/0.247, allocations: 199.1 kB / 0.9889 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.2471, allocations: 27.72 kB / 0.989 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.2471, allocations: 29.83 kB / 0.989 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2471, allocations: 0 / 0.989 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2471, allocations: 7.938 kB / 0.989 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.2472, allocations: 100.8 kB / 0.9891 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.2472, allocations: 8 kB / 0.9891 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.2473, allocations: 19.92 kB / 0.9891 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.2474, allocations: 27.94 kB / 0.9892 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006328/0.2481, allocations: 0.5057 MB / 0.9896 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005921/0.2487, allocations: 0.6153 MB / 0.9903 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001597/0.2488, allocations: 124.3 kB / 0.9904 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001577/0.249, allocations: 205.9 kB / 0.9906 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of Backend: time 3.11e-07/0.249, allocations: 3.938 kB / 0.9906 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005834/0.2496, allocations: 316 kB / 0.9909 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0006747/0.2503, allocations: 0.9619 MB / 0.9918 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.005054/0.2554, allocations: 2.647 MB / 0.9944 GB, free: 12.89 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)