Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008838/0.0008841, allocations: 176.6 kB / 16.07 MB, free: 5.703 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.4413/0.4413, allocations: 89.07 MB / 105.9 MB, free: 12.47 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.212/1.212, allocations: 225.7 MB / 353.3 MB, free: 1.086 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.0007616/0.0007615, allocations: 88.47 kB / 425.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002793/0.0002794, allocations: 8 kB / 0.4955 GB, free: 4.547 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2451, allocations: 71.33 MB / 0.5652 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.001288/0.2465, allocations: 1.176 MB / 0.5663 GB, free: 41.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005378/0.247, allocations: 417.2 kB / 0.5667 GB, free: 40.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.2471, allocations: 1.25 kB / 0.5667 GB, free: 40.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.2471, allocations: 7.922 kB / 0.5667 GB, free: 40.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.263e-05/0.2472, allocations: 3.938 kB / 0.5667 GB, free: 40.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.2473, allocations: 12.98 kB / 0.5668 GB, free: 40.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.221e-05/0.2474, allocations: 43.92 kB / 0.5668 GB, free: 40.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2475, allocations: 21 kB / 0.5668 GB, free: 40.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.644e-05/0.2476, allocations: 15.88 kB / 0.5668 GB, free: 40.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.767e-05/0.2476, allocations: 29.34 kB / 0.5669 GB, free: 40.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.2476, allocations: 0 / 0.5669 GB, free: 40.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/0.2477, allocations: 4 kB / 0.5669 GB, free: 40.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.2477, allocations: 3.938 kB / 0.5669 GB, free: 40.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.2477, allocations: 46.16 kB / 0.5669 GB, free: 40.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.794e-05/0.2478, allocations: 40.61 kB / 0.5669 GB, free: 40.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2478, allocations: 4 kB / 0.567 GB, free: 40.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2478, allocations: 0.6562 kB / 0.567 GB, free: 40.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.2478, allocations: 0 / 0.567 GB, free: 40.53 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003566/0.2482, allocations: 360.9 kB / 0.5673 GB, free: 40.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.2482, allocations: 15.97 kB / 0.5673 GB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.2482, allocations: 4.844 kB / 0.5673 GB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.991e-05/0.2483, allocations: 164.4 kB / 0.5675 GB, free: 39.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.2483, allocations: 12.31 kB / 0.5675 GB, free: 39.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.2484, allocations: 7.031 kB / 0.5675 GB, free: 39.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.616e-05/0.2485, allocations: 57.98 kB / 0.5675 GB, free: 39.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.2485, allocations: 0 / 0.5675 GB, free: 39.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-06/0.2485, allocations: 0 / 0.5675 GB, free: 39.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2485, allocations: 0 / 0.5675 GB, free: 39.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.042e-05/0.2485, allocations: 27.98 kB / 0.5676 GB, free: 39.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.2489, allocations: 312.4 kB / 0.5679 GB, free: 39.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.884e-05/0.249, allocations: 54.56 kB / 0.5679 GB, free: 39.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/0.249, allocations: 28.95 kB / 0.568 GB, free: 39.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-06/0.249, allocations: 0 / 0.568 GB, free: 39.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.2492, allocations: 75.41 kB / 0.568 GB, free: 39.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.2492, allocations: 0 / 0.568 GB, free: 39.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001754/0.2494, allocations: 105.5 kB / 0.5681 GB, free: 39.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.2494, allocations: 55.41 kB / 0.5682 GB, free: 39.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.67e-05/0.2494, allocations: 101.8 kB / 0.5683 GB, free: 39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.2495, allocations: 37.7 kB / 0.5683 GB, free: 38.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.33e-05/0.2495, allocations: 88.03 kB / 0.5684 GB, free: 38.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.2495, allocations: 15.81 kB / 0.5684 GB, free: 38.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/0.2495, allocations: 4 kB / 0.5684 GB, free: 38.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.598e-05/0.2496, allocations: 318.8 kB / 0.5687 GB, free: 38.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.841e-05/0.2496, allocations: 20 kB / 0.5687 GB, free: 38.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.231e-05/0.2496, allocations: 43.36 kB / 0.5688 GB, free: 38.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.555e-05/0.2497, allocations: 75.59 kB / 0.5689 GB, free: 38.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2497, allocations: 0 / 0.5689 GB, free: 38.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001078/0.2498, allocations: 101.5 kB / 0.5689 GB, free: 38.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.2499, allocations: 4 kB / 0.569 GB, free: 38.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2499, allocations: 3.938 kB / 0.569 GB, free: 38.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.2499, allocations: 4 kB / 0.569 GB, free: 38.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.2499, allocations: 8 kB / 0.569 GB, free: 38.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.25, allocations: 0 / 0.569 GB, free: 38.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.198e-05/0.25, allocations: 16.02 kB / 0.569 GB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.25, allocations: 4 kB / 0.569 GB, free: 38.22 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: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 5.468e-05/0.2501, allocations: 129.7 kB / 0.5691 GB, free: 38.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-06/0.2501, allocations: 7.906 kB / 0.5691 GB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.2501, allocations: 7.969 kB / 0.5691 GB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2501, allocations: 0 / 0.5691 GB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2502, allocations: 0 / 0.5691 GB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2502, allocations: 3.984 kB / 0.5691 GB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.2504, allocations: 358.5 kB / 0.5695 GB, free: 37.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2504, allocations: 4 kB / 0.5695 GB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.2505, allocations: 0 / 0.5695 GB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2505, allocations: 4 kB / 0.5695 GB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.2505, allocations: 0 / 0.5695 GB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2505, allocations: 3.938 kB / 0.5695 GB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2505, allocations: 4.406 kB / 0.5695 GB, free: 37.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.845e-05/0.2506, allocations: 187.4 kB / 0.5697 GB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.478e-05/0.2506, allocations: 77.11 kB / 0.5697 GB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.2506, allocations: 7.938 kB / 0.5697 GB, free: 37.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.54e-05/0.2507, allocations: 15.92 kB / 0.5698 GB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.2508, allocations: 7.984 kB / 0.5698 GB, free: 37.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.2508, allocations: 4 kB / 0.5698 GB, free: 37.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.958e-05/0.2508, allocations: 87.28 kB / 0.5699 GB, free: 37.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2508, allocations: 0 / 0.5699 GB, free: 37.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002095/0.251, allocations: 12 kB / 0.5699 GB, free: 37.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 5.69e-05/0.2511, allocations: 108.6 kB / 0.57 GB, free: 37.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.2512, allocations: 48.08 kB / 0.57 GB, free: 37.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.2512, allocations: 0 / 0.57 GB, free: 37.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.222e-05/0.2513, allocations: 35.91 kB / 0.5701 GB, free: 37.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.2515, allocations: 16.05 kB / 0.5701 GB, free: 37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.2518, allocations: 184.5 kB / 0.5702 GB, free: 36.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.684e-05/0.2519, allocations: 0.6926 MB / 0.5709 GB, free: 36.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.261e-05/0.2519, allocations: 0 / 0.5709 GB, free: 36.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.252, allocations: 11.44 kB / 0.5709 GB, free: 36.06 MB / 410.7 MB Notification: Performance of SimCode: time 2.01e-07/0.252, allocations: 0 / 0.5709 GB, free: 36.06 MB / 410.7 MB Notification: Performance of Templates: time 0.002135/0.2541, allocations: 0.6836 MB / 0.5716 GB, free: 35.38 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)