Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.809/1.809, allocations: 297.4 MB / 312.6 MB, free: 2.93 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.001027/0.001027, allocations: 189.5 kB / 382.3 MB, free: 14.82 MB / 314.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.576/1.576, allocations: 225.7 MB / 0.6617 GB, free: 7.238 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.0007666/0.0007667, allocations: 98.72 kB / 0.7789 GB, free: 46.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003276, allocations: 12 kB / 0.9058 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6602/0.6605, allocations: 119.2 MB / 1.022 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002279/0.6628, allocations: 1.621 MB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.664, allocations: 0.8437 MB / 1.025 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.441e-05/0.6641, allocations: 3.219 kB / 1.025 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.6644, allocations: 69.39 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.6645, allocations: 95.55 kB / 1.025 GB, free: 56.31 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.665, allocations: 152.2 kB / 1.025 GB, free: 56.23 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.6653, allocations: 240.5 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.6655, allocations: 67.98 kB / 1.025 GB, free: 56.11 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.6656, allocations: 96.28 kB / 1.025 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.6658, allocations: 125.9 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.6658, allocations: 6.062 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.666, allocations: 70.58 kB / 1.026 GB, free: 56.02 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.414e-05/0.666, allocations: 45.84 kB / 1.026 GB, free: 56 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.926e-05/0.6662, allocations: 119.9 kB / 1.026 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.6665, allocations: 274.4 kB / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6665, allocations: 3.438 kB / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6665, allocations: 1 kB / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.6665, allocations: 0 / 1.026 GB, free: 55.82 MB / 0.698 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.6672, allocations: 0.5486 MB / 1.027 GB, free: 55.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.6673, allocations: 11.16 kB / 1.027 GB, free: 55.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.6673, allocations: 31.08 kB / 1.027 GB, free: 55.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.6677, allocations: 304.9 kB / 1.027 GB, free: 55.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.6678, allocations: 17.41 kB / 1.027 GB, free: 55.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.6678, allocations: 15.44 kB / 1.027 GB, free: 55.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.6682, allocations: 240 kB / 1.027 GB, free: 54.92 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.6682, allocations: 0 / 1.027 GB, free: 54.92 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.6682, allocations: 5.938 kB / 1.027 GB, free: 54.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.6682, allocations: 6.219 kB / 1.027 GB, free: 54.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.6685, allocations: 129.5 kB / 1.027 GB, free: 54.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006812/0.6692, allocations: 0.6914 MB / 1.028 GB, free: 54.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.6695, allocations: 179.5 kB / 1.028 GB, free: 54.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.6697, allocations: 105.5 kB / 1.028 GB, free: 54.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.6697, allocations: 0 / 1.028 GB, free: 54.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.67, allocations: 168.1 kB / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.67, allocations: 4 kB / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0006503/0.6706, allocations: 387.7 kB / 1.029 GB, free: 53.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.6707, allocations: 132.2 kB / 1.029 GB, free: 53.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.6709, allocations: 286.4 kB / 1.029 GB, free: 53.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.671, allocations: 27.92 kB / 1.029 GB, free: 53.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/0.6711, allocations: 155.7 kB / 1.029 GB, free: 53.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.6711, allocations: 44.36 kB / 1.029 GB, free: 53.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.577e-06/0.6711, allocations: 6.094 kB / 1.029 GB, free: 53.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.31e-05/0.6712, allocations: 337.5 kB / 1.03 GB, free: 53.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.6713, allocations: 91.25 kB / 1.03 GB, free: 53.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.6715, allocations: 139.9 kB / 1.03 GB, free: 53.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.6718, allocations: 248.4 kB / 1.03 GB, free: 52.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6718, allocations: 0 / 1.03 GB, free: 52.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004414/0.6723, allocations: 343.5 kB / 1.03 GB, free: 52.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.6723, allocations: 38.38 kB / 1.03 GB, free: 52.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.6723, allocations: 1.875 kB / 1.03 GB, free: 52.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.6724, allocations: 1.844 kB / 1.031 GB, free: 52.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.6725, allocations: 28.48 kB / 1.031 GB, free: 52.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.6725, allocations: 1.688 kB / 1.031 GB, free: 52.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.6726, allocations: 32.2 kB / 1.031 GB, free: 52.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.6726, allocations: 9.688 kB / 1.031 GB, free: 52.68 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.6728, allocations: 195.9 kB / 1.031 GB, free: 52.51 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.6728, allocations: 24.88 kB / 1.031 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.779e-05/0.6729, allocations: 31.39 kB / 1.031 GB, free: 52.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.6729, allocations: 1.281 kB / 1.031 GB, free: 52.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6729, allocations: 0 / 1.031 GB, free: 52.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6729, allocations: 4.016 kB / 1.031 GB, free: 52.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.6731, allocations: 300.3 kB / 1.031 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6731, allocations: 4 kB / 1.031 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.6732, allocations: 16.89 kB / 1.031 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.6732, allocations: 2.484 kB / 1.031 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.6733, allocations: 6.453 kB / 1.031 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.6733, allocations: 1.328 kB / 1.031 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6733, allocations: 0 / 1.031 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006438/0.6739, allocations: 486.7 kB / 1.032 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.674, allocations: 95.36 kB / 1.032 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.674, allocations: 8.125 kB / 1.032 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.6741, allocations: 15.39 kB / 1.032 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/0.6742, allocations: 31.41 kB / 1.032 GB, free: 51.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.6743, allocations: 5.469 kB / 1.032 GB, free: 51.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001601/0.6744, allocations: 202.8 kB / 1.032 GB, free: 51.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6744, allocations: 0 / 1.032 GB, free: 51.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002595/0.6747, allocations: 60.94 kB / 1.032 GB, free: 51.78 MB / 0.698 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.0001775/0.6749, allocations: 140.6 kB / 1.032 GB, free: 51.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004438/0.6753, allocations: 305.8 kB / 1.032 GB, free: 51.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6754, allocations: 0 / 1.032 GB, free: 51.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.6756, allocations: 194.2 kB / 1.033 GB, free: 51.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.6759, allocations: 37.7 kB / 1.033 GB, free: 51.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009025/0.6768, allocations: 0.5342 MB / 1.033 GB, free: 51.08 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.677, allocations: 0.7496 MB / 1.034 GB, free: 50.38 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.736e-05/0.6771, allocations: 21.16 kB / 1.034 GB, free: 50.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.6771, allocations: 16.41 kB / 1.034 GB, free: 50.37 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.6771, allocations: 0 / 1.034 GB, free: 50.37 MB / 0.698 GB Notification: Performance of Templates: time 0.005654/0.6828, allocations: 2.524 MB / 1.036 GB, free: 50.2 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)