Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001183/0.001183, allocations: 97.44 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 175.1 kB / 16.56 MB, free: 6.391 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.395/1.395, allocations: 223.2 MB / 240.5 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6616/0.6616, allocations: 113.8 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003927, allocations: 8 kB / 493 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1877, allocations: 77.16 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002581/0.1904, allocations: 1.592 MB / 0.5584 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1917, allocations: 0.6433 MB / 0.559 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.1919, allocations: 0 / 0.559 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.1921, allocations: 79.75 kB / 0.5591 GB, free: 9.285 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.1923, allocations: 87.78 kB / 0.5592 GB, free: 9.199 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006237/0.1929, allocations: 129 kB / 0.5593 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003975/0.1933, allocations: 143.7 kB / 0.5594 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.1935, allocations: 65.61 kB / 0.5595 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.1937, allocations: 91.67 kB / 0.5596 GB, free: 8.785 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.194, allocations: 103.6 kB / 0.5597 GB, free: 8.684 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.194, allocations: 4 kB / 0.5597 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.1942, allocations: 71.92 kB / 0.5598 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.592e-05/0.1942, allocations: 47.77 kB / 0.5598 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.637e-05/0.1943, allocations: 61.58 kB / 0.5599 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.1946, allocations: 215.8 kB / 0.5601 GB, free: 8.285 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1946, allocations: 0 / 0.5601 GB, free: 8.285 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.1946, allocations: 0 / 0.5601 GB, free: 8.285 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1946, allocations: 7.938 kB / 0.5601 GB, free: 8.277 MB / 430.1 MB 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.0008481/0.1955, allocations: 0.539 MB / 0.5606 GB, free: 7.684 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1955, allocations: 23.95 kB / 0.5606 GB, free: 7.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.1e-05/0.1956, allocations: 31.61 kB / 0.5607 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006575/0.1963, allocations: 297.6 kB / 0.5609 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.1963, allocations: 8 kB / 0.561 GB, free: 7.293 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.1964, allocations: 19.95 kB / 0.561 GB, free: 7.273 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004754/0.1968, allocations: 227.1 kB / 0.5612 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1969, allocations: 0 / 0.5612 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.1969, allocations: 4 kB / 0.5612 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1969, allocations: 4 kB / 0.5612 GB, free: 7.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002411/0.1972, allocations: 136.3 kB / 0.5613 GB, free: 6.887 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.1983, allocations: 0.6925 MB / 0.562 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.1986, allocations: 182.4 kB / 0.5622 GB, free: 5.949 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.1987, allocations: 0 / 0.5622 GB, free: 5.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003179/0.199, allocations: 177.1 kB / 0.5623 GB, free: 5.758 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.199, allocations: 0 / 0.5623 GB, free: 5.758 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007295/0.1997, allocations: 465.2 kB / 0.5628 GB, free: 5.273 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/0.1999, allocations: 132.5 kB / 0.5629 GB, free: 5.113 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.2002, allocations: 278.7 kB / 0.5632 GB, free: 4.836 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.2003, allocations: 29.69 kB / 0.5632 GB, free: 4.801 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.2004, allocations: 164.2 kB / 0.5634 GB, free: 4.633 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.2005, allocations: 47.33 kB / 0.5634 GB, free: 4.586 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.2005, allocations: 4 kB / 0.5634 GB, free: 4.582 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.2007, allocations: 334.8 kB / 0.5637 GB, free: 4.246 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.2009, allocations: 88.14 kB / 0.5638 GB, free: 4.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.2011, allocations: 136.3 kB / 0.564 GB, free: 4.012 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.2012, allocations: 121.6 kB / 0.5641 GB, free: 3.887 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2013, allocations: 0 / 0.5641 GB, free: 3.887 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005688/0.2018, allocations: 344.8 kB / 0.5644 GB, free: 3.539 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.2019, allocations: 37.7 kB / 0.5644 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2019, allocations: 0 / 0.5644 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2019, allocations: 7.953 kB / 0.5644 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.2021, allocations: 28.02 kB / 0.5645 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2021, allocations: 4 kB / 0.5645 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.2022, allocations: 23.83 kB / 0.5645 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.2022, allocations: 12 kB / 0.5645 GB, free: 3.422 MB / 430.1 MB 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.00019/0.2024, allocations: 191.5 kB / 0.5647 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.2025, allocations: 23.72 kB / 0.5647 GB, free: 3.195 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.439e-05/0.2025, allocations: 29.83 kB / 0.5647 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2025, allocations: 4.094 kB / 0.5647 GB, free: 3.164 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.2026, allocations: 7.891 kB / 0.5647 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2026, allocations: 0 / 0.5647 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.2029, allocations: 285.5 kB / 0.565 GB, free: 2.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2029, allocations: 0 / 0.565 GB, free: 2.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.203, allocations: 19.92 kB / 0.565 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.203, allocations: 8 kB / 0.565 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.203, allocations: 0 / 0.565 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.203, allocations: 8 kB / 0.5651 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.203, allocations: 0 / 0.5651 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007216/0.2038, allocations: 488 kB / 0.5655 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.2039, allocations: 96.86 kB / 0.5656 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.2039, allocations: 11.94 kB / 0.5656 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.204, allocations: 15.98 kB / 0.5656 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.166e-05/0.2041, allocations: 35.92 kB / 0.5657 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.2042, allocations: 4 kB / 0.5657 GB, free: 2.113 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002226/0.2044, allocations: 205.9 kB / 0.5659 GB, free: 1.918 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2044, allocations: 0 / 0.5659 GB, free: 1.918 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.2047, allocations: 60 kB / 0.5659 GB, free: 1.859 MB / 430.1 MB 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.0002152/0.2049, allocations: 132 kB / 0.5661 GB, free: 1.723 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004854/0.2054, allocations: 291.2 kB / 0.5663 GB, free: 1.426 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.2054, allocations: 8.188 kB / 0.5663 GB, free: 1.418 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.2057, allocations: 187.3 kB / 0.5665 GB, free: 1.223 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.206, allocations: 26.58 kB / 0.5665 GB, free: 1.195 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.207, allocations: 0.5143 MB / 0.567 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.2074, allocations: 0.7636 MB / 0.5678 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.198e-05/0.2075, allocations: 17.55 kB / 0.5678 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.2075, allocations: 15.44 kB / 0.5678 GB, free: 15.83 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2075, allocations: 0 / 0.5678 GB, free: 15.83 MB / 446.1 MB Notification: Performance of Templates: time 0.005911/0.2135, allocations: 2.448 MB / 0.5702 GB, free: 13.41 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)