Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.836/1.836, allocations: 292.6 MB / 307.8 MB, free: 7.141 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 196.4 kB / 376.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 225.7 MB / 0.655 GB, free: 13.15 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008748/0.0008746, allocations: 101.5 kB / 0.7711 GB, free: 50.21 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.0004711, allocations: 12.62 kB / 0.897 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7539/0.7544, allocations: 118.2 MB / 1.012 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002417/0.7569, allocations: 1.608 MB / 1.014 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.758, allocations: 0.6577 MB / 1.015 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.7581, allocations: 6.281 kB / 1.015 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.7584, allocations: 78.44 kB / 1.015 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.7585, allocations: 83.33 kB / 1.015 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.759, allocations: 129.4 kB / 1.015 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.7593, allocations: 224.6 kB / 1.015 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.7594, allocations: 65.22 kB / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.7596, allocations: 91.52 kB / 1.015 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.7597, allocations: 118.4 kB / 1.015 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.7598, allocations: 4.188 kB / 1.015 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.7599, allocations: 73.83 kB / 1.015 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.76, allocations: 41.06 kB / 1.015 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.7601, allocations: 110.2 kB / 1.016 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.7604, allocations: 219.4 kB / 1.016 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7604, allocations: 0 / 1.016 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7604, allocations: 0.6875 kB / 1.016 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.7604, allocations: 1.125 kB / 1.016 GB, free: 57.3 MB / 0.7136 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.0007388/0.7611, allocations: 0.55 MB / 1.016 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.7612, allocations: 8.438 kB / 1.016 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/0.7612, allocations: 35.28 kB / 1.016 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.7617, allocations: 305.2 kB / 1.017 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.7617, allocations: 13.19 kB / 1.017 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.7617, allocations: 16.06 kB / 1.017 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.7621, allocations: 235.8 kB / 1.017 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.7621, allocations: 0 / 1.017 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.7622, allocations: 5.594 kB / 1.017 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.7622, allocations: 5.375 kB / 1.017 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.7624, allocations: 136.7 kB / 1.017 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007369/0.7632, allocations: 0.6873 MB / 1.018 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.7635, allocations: 183.2 kB / 1.018 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.7637, allocations: 100.6 kB / 1.018 GB, free: 56.01 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.7637, allocations: 5.422 kB / 1.018 GB, free: 56.01 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003206/0.7641, allocations: 172.6 kB / 1.018 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.824e-06/0.7641, allocations: 0 / 1.018 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0007172/0.7648, allocations: 386.7 kB / 1.019 GB, free: 55.85 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.7649, allocations: 136.8 kB / 1.019 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.7651, allocations: 282.7 kB / 1.019 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.7652, allocations: 31.73 kB / 1.019 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.989e-05/0.7653, allocations: 154.6 kB / 1.019 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.7653, allocations: 47.42 kB / 1.019 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.7653, allocations: 2.938 kB / 1.019 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.7654, allocations: 342.8 kB / 1.019 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.7655, allocations: 87.89 kB / 1.02 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.7657, allocations: 133.7 kB / 1.02 GB, free: 55.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.766, allocations: 249.3 kB / 1.02 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.766, allocations: 0 / 1.02 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004393/0.7665, allocations: 346.5 kB / 1.02 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.7665, allocations: 39.59 kB / 1.02 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7665, allocations: 0 / 1.02 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.7665, allocations: 2.75 kB / 1.02 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.7667, allocations: 23.58 kB / 1.02 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.7667, allocations: 4.656 kB / 1.02 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.7668, allocations: 33.98 kB / 1.02 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.7668, allocations: 6.812 kB / 1.02 GB, free: 54.85 MB / 0.7136 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.0001493/0.767, allocations: 193.4 kB / 1.021 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.767, allocations: 25.03 kB / 1.021 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.7671, allocations: 33.75 kB / 1.021 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.7671, allocations: 0 / 1.021 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7671, allocations: 0 / 1.021 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.7671, allocations: 1.406 kB / 1.021 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.7673, allocations: 297.9 kB / 1.021 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7673, allocations: 0 / 1.021 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.7674, allocations: 18.45 kB / 1.021 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7675, allocations: 3.938 kB / 1.021 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.7675, allocations: 13.16 kB / 1.021 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.7675, allocations: 3.094 kB / 1.021 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7675, allocations: 1.312 kB / 1.021 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006761/0.7682, allocations: 479.4 kB / 1.021 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.7682, allocations: 94.45 kB / 1.021 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.7683, allocations: 9.875 kB / 1.022 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.7684, allocations: 15.62 kB / 1.022 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.82e-05/0.7685, allocations: 32.77 kB / 1.022 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.7685, allocations: 13.27 kB / 1.022 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001531/0.7687, allocations: 206.3 kB / 1.022 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7687, allocations: 0 / 1.022 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002434/0.7689, allocations: 54.34 kB / 1.022 GB, free: 54.16 MB / 0.7136 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.0001813/0.7691, allocations: 143.5 kB / 1.022 GB, free: 54.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.7695, allocations: 305.7 kB / 1.022 GB, free: 53.99 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.7696, allocations: 0 / 1.022 GB, free: 53.99 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.7698, allocations: 188.8 kB / 1.022 GB, free: 53.92 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.7701, allocations: 35.56 kB / 1.022 GB, free: 53.92 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009249/0.771, allocations: 0.5165 MB / 1.023 GB, free: 53.65 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.7712, allocations: 0.7469 MB / 1.024 GB, free: 52.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.638e-05/0.7713, allocations: 18.52 kB / 1.024 GB, free: 52.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.7713, allocations: 16.31 kB / 1.024 GB, free: 52.94 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.7713, allocations: 0 / 1.024 GB, free: 52.94 MB / 0.7136 GB Notification: Performance of Templates: time 0.005558/0.7769, allocations: 2.474 MB / 1.026 GB, free: 52.84 MB / 0.7136 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)