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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 112.1 kB / 17.33 MB, free: 5.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 198.6 kB / 18.32 MB, free: 4.051 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.483/1.483, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8864/0.8864, allocations: 128.4 MB / 426.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002661/0.002661, allocations: 67.69 kB / 0.5911 GB, free: 21.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1858, allocations: 83.27 MB / 0.6725 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004198/0.19, allocations: 1.943 MB / 0.6744 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.1917, allocations: 0.7284 MB / 0.6751 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.1919, allocations: 8 kB / 0.6751 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.1922, allocations: 83.62 kB / 0.6752 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.1925, allocations: 91.58 kB / 0.6752 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.1933, allocations: 190.8 kB / 0.6754 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004437/0.1937, allocations: 263.3 kB / 0.6757 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.1939, allocations: 57.81 kB / 0.6757 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.1941, allocations: 111.7 kB / 0.6758 GB, free: 420 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003235/0.1944, allocations: 167.4 kB / 0.676 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.967e-05/0.1945, allocations: 20 kB / 0.676 GB, free: 232 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.1947, allocations: 95.92 kB / 0.6761 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.1948, allocations: 51.83 kB / 0.6762 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.1949, allocations: 107.4 kB / 0.6763 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005105/0.1954, allocations: 314.7 kB / 0.6766 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1955, allocations: 0 / 0.6766 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1955, allocations: 0 / 0.6766 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.1955, allocations: 0 / 0.6766 GB, free: 15.67 MB / 0.5137 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.001075/0.1965, allocations: 0.5855 MB / 0.6771 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1966, allocations: 20.02 kB / 0.6772 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.451e-05/0.1967, allocations: 28.75 kB / 0.6772 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006012/0.1973, allocations: 303.1 kB / 0.6775 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.1973, allocations: 20.06 kB / 0.6775 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.1973, allocations: 12 kB / 0.6775 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.1978, allocations: 227.2 kB / 0.6777 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1978, allocations: 0 / 0.6777 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.1978, allocations: 4 kB / 0.6777 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1978, allocations: 4 kB / 0.6777 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.1981, allocations: 132.3 kB / 0.6779 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.1994, allocations: 0.6848 MB / 0.6785 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.1998, allocations: 154.5 kB / 0.6787 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.2, allocations: 88.95 kB / 0.6788 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.2, allocations: 0 / 0.6788 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003261/0.2003, allocations: 173.1 kB / 0.6789 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.2003, allocations: 0 / 0.6789 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0009936/0.2013, allocations: 374.1 kB / 0.6793 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.522e-05/0.2014, allocations: 132.5 kB / 0.6794 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.2017, allocations: 286.6 kB / 0.6797 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.2018, allocations: 25.7 kB / 0.6797 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.2019, allocations: 160.3 kB / 0.6799 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.202, allocations: 47.58 kB / 0.6799 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.972e-05/0.2021, allocations: 41.7 kB / 0.6799 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.2023, allocations: 342.7 kB / 0.6803 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.2024, allocations: 91.95 kB / 0.6804 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.2027, allocations: 134.3 kB / 0.6805 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.2031, allocations: 243.7 kB / 0.6807 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2031, allocations: 0 / 0.6807 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006235/0.2037, allocations: 333.1 kB / 0.681 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.2038, allocations: 37.69 kB / 0.6811 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2038, allocations: 0 / 0.6811 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.2038, allocations: 4 kB / 0.6811 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.2039, allocations: 28.02 kB / 0.6811 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.204, allocations: 4 kB / 0.6811 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.2041, allocations: 27.81 kB / 0.6811 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.2041, allocations: 8 kB / 0.6811 GB, free: 10.65 MB / 0.5137 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 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002265/0.2043, allocations: 191.5 kB / 0.6813 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.2044, allocations: 27.81 kB / 0.6813 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.43e-05/0.2045, allocations: 29.83 kB / 0.6814 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2045, allocations: 11.94 kB / 0.6814 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.2045, allocations: 3.984 kB / 0.6814 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2045, allocations: 3.938 kB / 0.6814 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005928/0.2051, allocations: 285.6 kB / 0.6817 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2051, allocations: 0 / 0.6817 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.2052, allocations: 15.98 kB / 0.6817 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2052, allocations: 0 / 0.6817 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.2052, allocations: 8 kB / 0.6817 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2052, allocations: 0 / 0.6817 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.2052, allocations: 0 / 0.6817 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008406/0.2061, allocations: 478.3 kB / 0.6821 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.298e-05/0.2061, allocations: 100.9 kB / 0.6822 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.329e-05/0.2062, allocations: 8 kB / 0.6822 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.2063, allocations: 15.98 kB / 0.6823 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.073e-05/0.2064, allocations: 31.83 kB / 0.6823 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.2064, allocations: 8.062 kB / 0.6823 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000236/0.2066, allocations: 202 kB / 0.6825 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.2066, allocations: 0 / 0.6825 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003082/0.207, allocations: 59.89 kB / 0.6825 GB, free: 9.094 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002339/0.2072, allocations: 130 kB / 0.6827 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005123/0.2077, allocations: 271.4 kB / 0.6829 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2077, allocations: 0 / 0.6829 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.2079, allocations: 155.3 kB / 0.6831 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.2083, allocations: 40.75 kB / 0.6831 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.2095, allocations: 484.6 kB / 0.6836 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006927/0.2102, allocations: 0.7475 MB / 0.6843 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.293e-05/0.2102, allocations: 21.55 kB / 0.6843 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.2103, allocations: 19.42 kB / 0.6843 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of SimCode: time 4.1e-07/0.2103, allocations: 0 / 0.6843 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of Templates: time 0.008799/0.2191, allocations: 2.873 MB / 0.6872 GB, free: 4.305 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (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) [Timeout 480]