Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 174.7 kB / 16.07 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4876/0.4876, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 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.282/1.282, allocations: 225.7 MB / 353.3 MB, free: 1.09 MB / 282.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.0007749/0.0007746, allocations: 95.66 kB / 425.4 MB, free: 6.664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003261, allocations: 8 kB / 0.4955 GB, free: 4.547 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2954, allocations: 71.34 MB / 0.5652 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.001722/0.2971, allocations: 1.598 MB / 0.5668 GB, free: 40.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.2983, allocations: 0.8554 MB / 0.5676 GB, free: 39.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.2984, allocations: 2.031 kB / 0.5676 GB, free: 39.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.2986, allocations: 79.75 kB / 0.5677 GB, free: 39.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.2987, allocations: 84.66 kB / 0.5678 GB, free: 39.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.2992, allocations: 154.1 kB / 0.5679 GB, free: 39.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.2994, allocations: 243.4 kB / 0.5681 GB, free: 39.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.2995, allocations: 64.88 kB / 0.5682 GB, free: 39.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.2996, allocations: 79.73 kB / 0.5683 GB, free: 39.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.2998, allocations: 143.4 kB / 0.5684 GB, free: 39.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.2998, allocations: 4 kB / 0.5684 GB, free: 39.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.2999, allocations: 71.94 kB / 0.5685 GB, free: 38.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.611e-05/0.3, allocations: 43.83 kB / 0.5685 GB, free: 38.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.401e-05/0.3001, allocations: 113 kB / 0.5686 GB, free: 38.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.3003, allocations: 283 kB / 0.5689 GB, free: 38.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3003, allocations: 3.938 kB / 0.5689 GB, free: 38.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3003, allocations: 0 / 0.5689 GB, free: 38.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3003, allocations: 0 / 0.5689 GB, free: 38.52 MB / 410.7 MB 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.0006046/0.301, allocations: 0.543 MB / 0.5694 GB, free: 37.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.301, allocations: 12.03 kB / 0.5694 GB, free: 37.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.3011, allocations: 32.56 kB / 0.5695 GB, free: 37.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.3014, allocations: 310.8 kB / 0.5698 GB, free: 37.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.3014, allocations: 8.375 kB / 0.5698 GB, free: 37.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.3015, allocations: 20.36 kB / 0.5698 GB, free: 37.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.3018, allocations: 225.9 kB / 0.57 GB, free: 37.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3018, allocations: 3.938 kB / 0.57 GB, free: 37.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.3018, allocations: 11.98 kB / 0.57 GB, free: 37.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3019, allocations: 0 / 0.57 GB, free: 37.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.3021, allocations: 132.4 kB / 0.5702 GB, free: 37.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006564/0.3027, allocations: 0.6847 MB / 0.5708 GB, free: 36.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.303, allocations: 182.5 kB / 0.571 GB, free: 36.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.3032, allocations: 104.9 kB / 0.5711 GB, free: 36.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.3032, allocations: 96 / 0.5711 GB, free: 36.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000259/0.3035, allocations: 181 kB / 0.5713 GB, free: 35.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.3035, allocations: 0 / 0.5713 GB, free: 35.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005339/0.304, allocations: 390.8 kB / 0.5716 GB, free: 35.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.3041, allocations: 132.5 kB / 0.5718 GB, free: 35.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.3043, allocations: 278.7 kB / 0.572 GB, free: 35.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3043, allocations: 33.8 kB / 0.5721 GB, free: 35.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.3044, allocations: 164.1 kB / 0.5722 GB, free: 34.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.3044, allocations: 39.39 kB / 0.5723 GB, free: 34.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/0.3044, allocations: 8 kB / 0.5723 GB, free: 34.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.732e-05/0.3045, allocations: 330.8 kB / 0.5726 GB, free: 34.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.3046, allocations: 95.89 kB / 0.5727 GB, free: 34.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.3047, allocations: 133.1 kB / 0.5728 GB, free: 34.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.305, allocations: 255.9 kB / 0.5731 GB, free: 33.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.305, allocations: 0 / 0.5731 GB, free: 33.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003698/0.3054, allocations: 336.7 kB / 0.5734 GB, free: 33.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.3054, allocations: 41.84 kB / 0.5734 GB, free: 33.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3054, allocations: 3.938 kB / 0.5734 GB, free: 33.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3055, allocations: 4 kB / 0.5734 GB, free: 33.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3056, allocations: 19.98 kB / 0.5734 GB, free: 33.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.3056, allocations: 4 kB / 0.5734 GB, free: 33.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.3057, allocations: 31.92 kB / 0.5735 GB, free: 33.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.3057, allocations: 8 kB / 0.5735 GB, free: 33.5 MB / 410.7 MB 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.0001148/0.3058, allocations: 196.2 kB / 0.5737 GB, free: 33.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.3059, allocations: 23.72 kB / 0.5737 GB, free: 33.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.3059, allocations: 25.83 kB / 0.5737 GB, free: 33.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3059, allocations: 4 kB / 0.5737 GB, free: 33.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3059, allocations: 0 / 0.5737 GB, free: 33.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3059, allocations: 0 / 0.5737 GB, free: 33.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.3061, allocations: 309.3 kB / 0.574 GB, free: 32.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3061, allocations: 0 / 0.574 GB, free: 32.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.242e-05/0.3062, allocations: 15.98 kB / 0.574 GB, free: 32.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3062, allocations: 4 kB / 0.574 GB, free: 32.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.3063, allocations: 0 / 0.574 GB, free: 32.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3063, allocations: 4 kB / 0.574 GB, free: 32.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3063, allocations: 0 / 0.574 GB, free: 32.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005281/0.3068, allocations: 482.2 kB / 0.5745 GB, free: 32.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.3068, allocations: 96.86 kB / 0.5746 GB, free: 32.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.3069, allocations: 11.94 kB / 0.5746 GB, free: 32.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.707e-05/0.307, allocations: 20.05 kB / 0.5746 GB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.3071, allocations: 27.95 kB / 0.5746 GB, free: 32.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.3071, allocations: 4 kB / 0.5747 GB, free: 32.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.3072, allocations: 201.9 kB / 0.5748 GB, free: 32 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3072, allocations: 4 kB / 0.5748 GB, free: 32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000223/0.3075, allocations: 52.03 kB / 0.5749 GB, free: 31.95 MB / 410.7 MB 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.0001372/0.3076, allocations: 143.1 kB / 0.575 GB, free: 31.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003653/0.308, allocations: 299.3 kB / 0.5753 GB, free: 31.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.308, allocations: 3.938 kB / 0.5753 GB, free: 31.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.3082, allocations: 187.4 kB / 0.5755 GB, free: 31.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.3084, allocations: 32.64 kB / 0.5755 GB, free: 31.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007565/0.3092, allocations: 0.5459 MB / 0.5761 GB, free: 30.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.3094, allocations: 0.7517 MB / 0.5768 GB, free: 29.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.998e-05/0.3094, allocations: 17.55 kB / 0.5768 GB, free: 29.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.3095, allocations: 15.44 kB / 0.5768 GB, free: 29.88 MB / 410.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3095, allocations: 0 / 0.5768 GB, free: 29.88 MB / 410.7 MB Notification: Performance of Templates: time 0.004713/0.3142, allocations: 2.53 MB / 0.5793 GB, free: 27.36 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (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)