Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.549/2.549, allocations: 254.9 MB / 269.9 MB, free: 9.617 MB / 218.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.001388/0.001387, allocations: 191.6 kB / 329.5 MB, free: 1.125 MB / 250.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 2.511/2.511, allocations: 225.6 MB / 0.6001 GB, free: 2.215 MB / 426.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.001007/0.001006, allocations: 94.5 kB / 0.7074 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007174/0.0007176, allocations: 15.19 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2875, allocations: 109.1 MB / 0.9308 GB, free: 25.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003192/0.2908, allocations: 1.616 MB / 0.9323 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.2925, allocations: 0.6549 MB / 0.933 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.2927, allocations: 4 kB / 0.933 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.293, allocations: 75.77 kB / 0.933 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.2932, allocations: 91.67 kB / 0.9331 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007725/0.294, allocations: 123.8 kB / 0.9333 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003751/0.2944, allocations: 219.5 kB / 0.9335 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.2946, allocations: 73.27 kB / 0.9335 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.2948, allocations: 95.66 kB / 0.9336 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.2951, allocations: 115.5 kB / 0.9337 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.229e-05/0.2952, allocations: 8 kB / 0.9337 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.2954, allocations: 71.94 kB / 0.9338 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.984e-05/0.2955, allocations: 35.84 kB / 0.9338 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.046e-05/0.2956, allocations: 69.5 kB / 0.9339 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.296, allocations: 215.8 kB / 0.9341 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.296, allocations: 0 / 0.9341 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.116e-06/0.296, allocations: 4 kB / 0.9341 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.296, allocations: 0 / 0.9341 GB, free: 21.62 MB / 0.5886 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.001171/0.2972, allocations: 0.5431 MB / 0.9347 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.2973, allocations: 8.031 kB / 0.9347 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.2974, allocations: 28.66 kB / 0.9347 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007674/0.2982, allocations: 303 kB / 0.935 GB, free: 20.65 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/0.2982, allocations: 16.36 kB / 0.935 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-05/0.2983, allocations: 16.36 kB / 0.935 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007074/0.299, allocations: 239.8 kB / 0.9352 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.2991, allocations: 0 / 0.9352 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.2991, allocations: 7.984 kB / 0.9352 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.2992, allocations: 4 kB / 0.9352 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004982/0.2997, allocations: 132.4 kB / 0.9354 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.301, allocations: 0.6847 MB / 0.936 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007343/0.3017, allocations: 182.4 kB / 0.9362 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.3021, allocations: 101 kB / 0.9363 GB, free: 19.19 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.3021, allocations: 7.938 kB / 0.9363 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005053/0.3026, allocations: 181 kB / 0.9365 GB, free: 18.99 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.465e-06/0.3027, allocations: 0 / 0.9365 GB, free: 18.99 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.001268/0.304, allocations: 378.8 kB / 0.9369 GB, free: 18.61 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.304, allocations: 136.6 kB / 0.937 GB, free: 18.44 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004448/0.3045, allocations: 282.6 kB / 0.9373 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.3046, allocations: 33.7 kB / 0.9373 GB, free: 18.12 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.3047, allocations: 156.2 kB / 0.9374 GB, free: 17.96 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.856e-05/0.3048, allocations: 43.41 kB / 0.9375 GB, free: 17.92 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.3048, allocations: 0 / 0.9375 GB, free: 17.92 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.305, allocations: 342.8 kB / 0.9378 GB, free: 17.58 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.3053, allocations: 91.91 kB / 0.9379 GB, free: 17.49 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.3057, allocations: 139.6 kB / 0.938 GB, free: 17.34 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.3061, allocations: 121.6 kB / 0.9381 GB, free: 17.21 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3061, allocations: 0 / 0.9381 GB, free: 17.21 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001026/0.3072, allocations: 345.7 kB / 0.9385 GB, free: 16.86 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.74e-05/0.3072, allocations: 37.69 kB / 0.9385 GB, free: 16.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3073, allocations: 0 / 0.9385 GB, free: 16.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.3073, allocations: 4.094 kB / 0.9385 GB, free: 16.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.3076, allocations: 23.98 kB / 0.9385 GB, free: 16.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.3076, allocations: 7.938 kB / 0.9385 GB, free: 16.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.3079, allocations: 31.73 kB / 0.9386 GB, free: 16.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.3079, allocations: 8 kB / 0.9386 GB, free: 16.75 MB / 0.5886 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.0002577/0.3082, allocations: 191.5 kB / 0.9388 GB, free: 16.54 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.3083, allocations: 27.72 kB / 0.9388 GB, free: 16.52 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.89e-05/0.3084, allocations: 29.83 kB / 0.9388 GB, free: 16.49 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3084, allocations: 0 / 0.9388 GB, free: 16.49 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.3084, allocations: 0 / 0.9388 GB, free: 16.49 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.3085, allocations: 4 kB / 0.9388 GB, free: 16.48 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.3089, allocations: 293.4 kB / 0.9391 GB, free: 16.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3089, allocations: 4 kB / 0.9391 GB, free: 16.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.3091, allocations: 19.92 kB / 0.9391 GB, free: 16.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3091, allocations: 4 kB / 0.9391 GB, free: 16.12 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.3092, allocations: 8 kB / 0.9391 GB, free: 16.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3092, allocations: 0 / 0.9391 GB, free: 16.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3092, allocations: 0 / 0.9391 GB, free: 16.11 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.3106, allocations: 486.2 kB / 0.9396 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.3107, allocations: 92.86 kB / 0.9397 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.594e-05/0.3108, allocations: 8 kB / 0.9397 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.311, allocations: 23.92 kB / 0.9397 GB, free: 15.47 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.3112, allocations: 23.95 kB / 0.9397 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.3112, allocations: 11.98 kB / 0.9398 GB, free: 15.44 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003156/0.3116, allocations: 198 kB / 0.9399 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.91e-07/0.3116, allocations: 0 / 0.9399 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000647/0.3122, allocations: 64.05 kB / 0.94 GB, free: 15.18 MB / 0.5886 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.0003279/0.3126, allocations: 143.7 kB / 0.9401 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0009461/0.3135, allocations: 307.5 kB / 0.9404 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3136, allocations: 0 / 0.9404 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004365/0.314, allocations: 187.3 kB / 0.9406 GB, free: 14.53 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006179/0.3147, allocations: 32.53 kB / 0.9406 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.3166, allocations: 0.5262 MB / 0.9412 GB, free: 13.94 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.3169, allocations: 0.7478 MB / 0.9419 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001975/0.3171, allocations: 17.55 kB / 0.9419 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.225e-05/0.3172, allocations: 19.42 kB / 0.9419 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of SimCode: time 1.362e-06/0.3172, allocations: 0 / 0.9419 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of Templates: time 0.0108/0.328, allocations: 2.459 MB / 0.9443 GB, free: 10.68 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)