Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.905/1.905, allocations: 291.7 MB / 306.8 MB, free: 7.66 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.001477/0.001477, allocations: 182.6 kB / 375.4 MB, free: 5.121 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.487/1.487, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.0008149/0.000815, allocations: 100.2 kB / 0.7699 GB, free: 50.27 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003954, allocations: 12 kB / 0.8956 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5991/0.5995, allocations: 118.1 MB / 1.011 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002441/0.602, allocations: 1.616 MB / 1.012 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.6032, allocations: 0.6468 MB / 1.013 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.6034, allocations: 8 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.6037, allocations: 72.09 kB / 1.013 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.6038, allocations: 83.38 kB / 1.013 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006022/0.6044, allocations: 137.1 kB / 1.013 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.6047, allocations: 221.7 kB / 1.014 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.6049, allocations: 65.81 kB / 1.014 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.605, allocations: 95.81 kB / 1.014 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.6052, allocations: 112.8 kB / 1.014 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.6052, allocations: 7.125 kB / 1.014 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.6054, allocations: 72.38 kB / 1.014 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.431e-05/0.6055, allocations: 39.41 kB / 1.014 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.977e-05/0.6056, allocations: 64.78 kB / 1.014 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.6059, allocations: 216.5 kB / 1.014 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.6059, allocations: 3.438 kB / 1.014 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.485e-06/0.6059, allocations: 0 / 1.014 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.6059, allocations: 1.281 kB / 1.014 GB, free: 57.36 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.0007945/0.6067, allocations: 0.549 MB / 1.015 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.6068, allocations: 8.781 kB / 1.015 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.6068, allocations: 33.16 kB / 1.015 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.6072, allocations: 309.7 kB / 1.015 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.6073, allocations: 11.94 kB / 1.015 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.6073, allocations: 12.84 kB / 1.015 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/0.6077, allocations: 228.1 kB / 1.015 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.6077, allocations: 4.406 kB / 1.015 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.6077, allocations: 13.12 kB / 1.015 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.6077, allocations: 2.5 kB / 1.015 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.608, allocations: 128 kB / 1.016 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007892/0.6088, allocations: 0.6968 MB / 1.016 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.6092, allocations: 183.8 kB / 1.016 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.6093, allocations: 102.5 kB / 1.016 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.6093, allocations: 6.344 kB / 1.016 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.6097, allocations: 170.5 kB / 1.017 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.6097, allocations: 2.938 kB / 1.017 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0006135/0.6103, allocations: 383 kB / 1.017 GB, free: 55.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.6103, allocations: 138.3 kB / 1.017 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.6106, allocations: 281.3 kB / 1.017 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.6106, allocations: 31.86 kB / 1.017 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.6108, allocations: 155.3 kB / 1.018 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.6108, allocations: 44.7 kB / 1.018 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.6108, allocations: 6.094 kB / 1.018 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.6109, allocations: 337.6 kB / 1.018 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.611, allocations: 96.45 kB / 1.018 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.6112, allocations: 130.4 kB / 1.018 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.6115, allocations: 244.6 kB / 1.018 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6115, allocations: 3.562 kB / 1.018 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004449/0.612, allocations: 339.5 kB / 1.019 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.612, allocations: 40.03 kB / 1.019 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.612, allocations: 3.469 kB / 1.019 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.6121, allocations: 2.906 kB / 1.019 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.6122, allocations: 27.81 kB / 1.019 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.6122, allocations: 0 / 1.019 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.6123, allocations: 29.28 kB / 1.019 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.6124, allocations: 9.031 kB / 1.019 GB, free: 54.9 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.0001514/0.6125, allocations: 196 kB / 1.019 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.6126, allocations: 27.06 kB / 1.019 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.6126, allocations: 31.81 kB / 1.019 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6126, allocations: 0.6094 kB / 1.019 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6126, allocations: 3.938 kB / 1.019 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.6126, allocations: 4.562 kB / 1.019 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.6129, allocations: 297.9 kB / 1.019 GB, free: 54.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6129, allocations: 0.75 kB / 1.019 GB, free: 54.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.805e-05/0.613, allocations: 16.67 kB / 1.019 GB, free: 54.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.613, allocations: 0 / 1.019 GB, free: 54.53 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.613, allocations: 10.84 kB / 1.019 GB, free: 54.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.613, allocations: 0 / 1.019 GB, free: 54.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.613, allocations: 4.391 kB / 1.019 GB, free: 54.53 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006071/0.6136, allocations: 482.9 kB / 1.02 GB, free: 54.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.6137, allocations: 94.52 kB / 1.02 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.6137, allocations: 9.031 kB / 1.02 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.6138, allocations: 18.7 kB / 1.02 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.194e-05/0.6139, allocations: 27.61 kB / 1.02 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.614, allocations: 11.38 kB / 1.02 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001556/0.6141, allocations: 199.5 kB / 1.02 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6141, allocations: 0 / 1.02 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002795/0.6144, allocations: 57.81 kB / 1.02 GB, free: 54.21 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.0001771/0.6146, allocations: 138.5 kB / 1.02 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004137/0.615, allocations: 310 kB / 1.021 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.615, allocations: 0 / 1.021 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.6152, allocations: 188.5 kB / 1.021 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.6155, allocations: 32.45 kB / 1.021 GB, free: 53.97 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008546/0.6164, allocations: 0.5236 MB / 1.021 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.6166, allocations: 0.7549 MB / 1.022 GB, free: 53 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.369e-05/0.6167, allocations: 17.8 kB / 1.022 GB, free: 53 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.6167, allocations: 16.53 kB / 1.022 GB, free: 52.99 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/0.6167, allocations: 0 / 1.022 GB, free: 52.99 MB / 0.7136 GB Notification: Performance of Templates: time 0.004997/0.6217, allocations: 2.454 MB / 1.025 GB, free: 52.88 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)