Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 174.3 kB / 16.08 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.4433/0.4433, 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.253/1.253, allocations: 225.7 MB / 353.2 MB, free: 1.102 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.0007121/0.0007121, allocations: 99.84 kB / 425.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003024, allocations: 19.98 kB / 0.4955 GB, free: 4.543 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2961, allocations: 71.34 MB / 0.5652 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.00163/0.2978, allocations: 1.471 MB / 0.5666 GB, free: 40.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006718/0.2985, allocations: 0.513 MB / 0.5671 GB, free: 40.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.571e-05/0.2986, allocations: 4 kB / 0.5671 GB, free: 40.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.2987, allocations: 15.8 kB / 0.5672 GB, free: 40.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.321e-05/0.2988, allocations: 25.17 kB / 0.5672 GB, free: 40.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.299, allocations: 51.94 kB / 0.5672 GB, free: 40.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.2991, allocations: 168.4 kB / 0.5674 GB, free: 40.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2993, allocations: 47.52 kB / 0.5674 GB, free: 40.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.657e-05/0.2993, allocations: 39.8 kB / 0.5675 GB, free: 40.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.2994, allocations: 56.14 kB / 0.5675 GB, free: 39.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.2994, allocations: 5.031 kB / 0.5675 GB, free: 39.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.2994, allocations: 4 kB / 0.5675 GB, free: 39.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.2995, allocations: 15.92 kB / 0.5676 GB, free: 39.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.291e-05/0.2995, allocations: 85.86 kB / 0.5676 GB, free: 39.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.2996, allocations: 126.1 kB / 0.5678 GB, free: 39.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2996, allocations: 0 / 0.5678 GB, free: 39.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2997, allocations: 0.7188 kB / 0.5678 GB, free: 39.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.2997, allocations: 0 / 0.5678 GB, free: 39.72 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005295/0.3002, allocations: 455.9 kB / 0.5682 GB, free: 39.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.3002, allocations: 12.03 kB / 0.5682 GB, free: 39.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.3003, allocations: 16.75 kB / 0.5682 GB, free: 39.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.3005, allocations: 231.8 kB / 0.5684 GB, free: 38.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3005, allocations: 8.375 kB / 0.5684 GB, free: 38.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.3005, allocations: 12.38 kB / 0.5685 GB, free: 38.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.3008, allocations: 158.1 kB / 0.5686 GB, free: 38.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3008, allocations: 3.938 kB / 0.5686 GB, free: 38.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3008, allocations: 12 kB / 0.5686 GB, free: 38.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3008, allocations: 4 kB / 0.5686 GB, free: 38.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.301, allocations: 77.56 kB / 0.5687 GB, free: 38.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006518/0.3017, allocations: 0.747 MB / 0.5694 GB, free: 37.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.3018, allocations: 58.55 kB / 0.5695 GB, free: 37.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.439e-05/0.3019, allocations: 36.78 kB / 0.5695 GB, free: 37.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.3019, allocations: 0 / 0.5695 GB, free: 37.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.3022, allocations: 142.8 kB / 0.5697 GB, free: 37.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.3022, allocations: 0 / 0.5697 GB, free: 37.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004001/0.3026, allocations: 181.6 kB / 0.5698 GB, free: 37.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.3026, allocations: 136.5 kB / 0.57 GB, free: 37.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.3027, allocations: 198.9 kB / 0.5702 GB, free: 37.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.3028, allocations: 25.7 kB / 0.5702 GB, free: 36.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.3028, allocations: 132 kB / 0.5703 GB, free: 36.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.3028, allocations: 31.47 kB / 0.5703 GB, free: 36.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.3029, allocations: 8 kB / 0.5703 GB, free: 36.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.3029, allocations: 330.8 kB / 0.5707 GB, free: 36.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.303, allocations: 39.97 kB / 0.5707 GB, free: 36.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.3031, allocations: 154.5 kB / 0.5708 GB, free: 36.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.3034, allocations: 214.4 kB / 0.571 GB, free: 35.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3034, allocations: 0 / 0.571 GB, free: 35.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003074/0.3037, allocations: 213.1 kB / 0.5712 GB, free: 35.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.3037, allocations: 8.5 kB / 0.5713 GB, free: 35.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.3037, allocations: 8 kB / 0.5713 GB, free: 35.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3038, allocations: 4 kB / 0.5713 GB, free: 35.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.3039, allocations: 39.91 kB / 0.5713 GB, free: 35.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.3039, allocations: 4 kB / 0.5713 GB, free: 35.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.304, allocations: 31.83 kB / 0.5713 GB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.3041, allocations: 11.94 kB / 0.5713 GB, free: 35.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 7.194e-05/0.3041, allocations: 143.8 kB / 0.5715 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.3042, allocations: 15.81 kB / 0.5715 GB, free: 35.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.3042, allocations: 21.39 kB / 0.5715 GB, free: 35.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3042, allocations: 7.938 kB / 0.5715 GB, free: 35.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3042, allocations: 3.938 kB / 0.5715 GB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.3042, allocations: 4 kB / 0.5715 GB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005455/0.3048, allocations: 0.5249 MB / 0.5721 GB, free: 34.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3048, allocations: 0 / 0.5721 GB, free: 34.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.3049, allocations: 19.98 kB / 0.5721 GB, free: 34.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3049, allocations: 4 kB / 0.5721 GB, free: 34.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.3049, allocations: 8 kB / 0.5721 GB, free: 34.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3049, allocations: 7.969 kB / 0.5721 GB, free: 34.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3049, allocations: 11.88 kB / 0.5721 GB, free: 34.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.3053, allocations: 360.3 kB / 0.5724 GB, free: 34.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.3053, allocations: 96.86 kB / 0.5725 GB, free: 34.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.3054, allocations: 4.312 kB / 0.5725 GB, free: 34.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.3055, allocations: 23.97 kB / 0.5726 GB, free: 34.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.3056, allocations: 23.86 kB / 0.5726 GB, free: 34.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.3056, allocations: 11.98 kB / 0.5726 GB, free: 34.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.033e-05/0.3057, allocations: 148.1 kB / 0.5727 GB, free: 34.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3057, allocations: 0 / 0.5727 GB, free: 34.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000272/0.306, allocations: 27.91 kB / 0.5728 GB, free: 34.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 7.973e-05/0.306, allocations: 113.1 kB / 0.5729 GB, free: 33.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002633/0.3063, allocations: 120.7 kB / 0.573 GB, free: 33.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3063, allocations: 4.062 kB / 0.573 GB, free: 33.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.3064, allocations: 52.23 kB / 0.573 GB, free: 33.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.3069, allocations: 71.92 kB / 0.5731 GB, free: 33.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.3074, allocations: 403.7 kB / 0.5735 GB, free: 33.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.3075, allocations: 0.7245 MB / 0.5742 GB, free: 32.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.986e-05/0.3076, allocations: 17.55 kB / 0.5742 GB, free: 32.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.3076, allocations: 19.44 kB / 0.5742 GB, free: 32.53 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.3076, allocations: 0 / 0.5742 GB, free: 32.53 MB / 410.7 MB Notification: Performance of Templates: time 0.003539/0.3112, allocations: 1.79 MB / 0.576 GB, free: 30.76 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)