Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7909/0.7909, allocations: 131 MB / 146.3 MB, free: 1.32 MB / 106.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.001271/0.001271, allocations: 184.2 kB / 176.4 MB, free: 4.898 MB / 138.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.438/1.438, allocations: 225.7 MB / 431.9 MB, free: 8.75 MB / 314.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.0007917/0.0007914, allocations: 98.61 kB / 0.5003 GB, free: 9.836 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003189, allocations: 8 kB / 0.5885 GB, free: 72.7 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1408, allocations: 79.59 MB / 0.6663 GB, free: 8.941 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002071/0.1429, allocations: 1.495 MB / 0.6677 GB, free: 7.434 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009307/0.1439, allocations: 0.5108 MB / 0.6682 GB, free: 6.918 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.988e-05/0.144, allocations: 0 / 0.6682 GB, free: 6.918 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.1441, allocations: 23.8 kB / 0.6682 GB, free: 6.895 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.922e-05/0.1442, allocations: 19.81 kB / 0.6683 GB, free: 6.875 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.1444, allocations: 55.92 kB / 0.6683 GB, free: 6.82 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.1447, allocations: 155.5 kB / 0.6685 GB, free: 6.668 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.1448, allocations: 61.56 kB / 0.6685 GB, free: 6.609 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.188e-05/0.1449, allocations: 43.8 kB / 0.6686 GB, free: 6.566 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.963e-05/0.145, allocations: 47.66 kB / 0.6686 GB, free: 6.52 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.145, allocations: 4 kB / 0.6686 GB, free: 6.516 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.801e-05/0.1451, allocations: 4 kB / 0.6686 GB, free: 6.512 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.515e-05/0.1451, allocations: 19.86 kB / 0.6686 GB, free: 6.492 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.097e-05/0.1452, allocations: 89.28 kB / 0.6687 GB, free: 6.398 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.1453, allocations: 123.7 kB / 0.6688 GB, free: 6.277 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1454, allocations: 0 / 0.6688 GB, free: 6.277 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1454, allocations: 0 / 0.6688 GB, free: 6.277 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1454, allocations: 4 kB / 0.6688 GB, free: 6.273 MB / 442.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.0007012/0.1461, allocations: 454.8 kB / 0.6693 GB, free: 5.781 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1461, allocations: 8.031 kB / 0.6693 GB, free: 5.773 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.1462, allocations: 20.75 kB / 0.6693 GB, free: 5.754 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.1464, allocations: 238 kB / 0.6695 GB, free: 5.484 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.1465, allocations: 8.375 kB / 0.6695 GB, free: 5.477 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.1465, allocations: 12.38 kB / 0.6695 GB, free: 5.465 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.1469, allocations: 151.6 kB / 0.6697 GB, free: 5.297 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1469, allocations: 7.938 kB / 0.6697 GB, free: 5.289 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.1469, allocations: 8 kB / 0.6697 GB, free: 5.281 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1469, allocations: 0 / 0.6697 GB, free: 5.281 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.1472, allocations: 79.88 kB / 0.6698 GB, free: 5.203 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009485/0.1481, allocations: 0.7432 MB / 0.6705 GB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1483, allocations: 42.56 kB / 0.6705 GB, free: 4.344 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1484, allocations: 44.83 kB / 0.6706 GB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.1484, allocations: 3.938 kB / 0.6706 GB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.1487, allocations: 138.7 kB / 0.6707 GB, free: 4.133 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.1487, allocations: 0 / 0.6707 GB, free: 4.133 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004416/0.1491, allocations: 181.5 kB / 0.6709 GB, free: 3.949 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.1492, allocations: 132.5 kB / 0.671 GB, free: 3.789 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1494, allocations: 207.7 kB / 0.6712 GB, free: 3.578 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1494, allocations: 29.7 kB / 0.6712 GB, free: 3.543 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.1495, allocations: 131.8 kB / 0.6714 GB, free: 3.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.1495, allocations: 31.55 kB / 0.6714 GB, free: 3.379 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-06/0.1495, allocations: 4 kB / 0.6714 GB, free: 3.375 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1496, allocations: 326.8 kB / 0.6717 GB, free: 3.047 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.1498, allocations: 43.97 kB / 0.6718 GB, free: 3.004 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.15, allocations: 154.4 kB / 0.6719 GB, free: 2.801 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.1503, allocations: 206.4 kB / 0.6721 GB, free: 2.547 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1503, allocations: 4 kB / 0.6721 GB, free: 2.543 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003816/0.1507, allocations: 221.5 kB / 0.6723 GB, free: 2.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1507, allocations: 8 kB / 0.6723 GB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1507, allocations: 4 kB / 0.6723 GB, free: 2.309 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1507, allocations: 4 kB / 0.6723 GB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.1509, allocations: 35.92 kB / 0.6724 GB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.1509, allocations: 7.938 kB / 0.6724 GB, free: 2.262 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.1511, allocations: 39.72 kB / 0.6724 GB, free: 2.223 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.1511, allocations: 12.03 kB / 0.6724 GB, free: 2.211 MB / 442.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 0.0001174/0.1512, allocations: 134.4 kB / 0.6726 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.1513, allocations: 19.75 kB / 0.6726 GB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.1513, allocations: 21.39 kB / 0.6726 GB, free: 2.035 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1513, allocations: 4.234 kB / 0.6726 GB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1513, allocations: 0 / 0.6726 GB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1514, allocations: 3.984 kB / 0.6726 GB, free: 2.027 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007223/0.1521, allocations: 0.5288 MB / 0.6731 GB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1521, allocations: 0 / 0.6731 GB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.1522, allocations: 23.98 kB / 0.6731 GB, free: 1.418 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1522, allocations: 0 / 0.6731 GB, free: 1.418 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.1522, allocations: 4.312 kB / 0.6731 GB, free: 1.414 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1523, allocations: 0 / 0.6731 GB, free: 1.414 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.1523, allocations: 11.88 kB / 0.6732 GB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004534/0.1527, allocations: 376.1 kB / 0.6735 GB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.1528, allocations: 92.95 kB / 0.6736 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.1528, allocations: 8 kB / 0.6736 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.153, allocations: 19.98 kB / 0.6736 GB, free: 0.875 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.1531, allocations: 15.86 kB / 0.6736 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.1531, allocations: 4 kB / 0.6737 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1532, allocations: 152.1 kB / 0.6738 GB, free: 0.707 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1532, allocations: 0 / 0.6738 GB, free: 0.707 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002905/0.1535, allocations: 28 kB / 0.6738 GB, free: 0.6797 MB / 442.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 0.0001237/0.1536, allocations: 115.2 kB / 0.6739 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003159/0.1539, allocations: 128.3 kB / 0.6741 GB, free: 444 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.154, allocations: 0 / 0.6741 GB, free: 444 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.1541, allocations: 51.91 kB / 0.6741 GB, free: 392 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/0.1547, allocations: 59.94 kB / 0.6742 GB, free: 332 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000644/0.1553, allocations: 411.2 kB / 0.6746 GB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.1556, allocations: 0.7206 MB / 0.6753 GB, free: 15.14 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.901e-05/0.1557, allocations: 21.67 kB / 0.6753 GB, free: 15.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.09e-05/0.1557, allocations: 19.44 kB / 0.6753 GB, free: 15.1 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1557, allocations: 0 / 0.6753 GB, free: 15.1 MB / 458.7 MB Notification: Performance of Templates: time 0.004334/0.1601, allocations: 1.817 MB / 0.6771 GB, free: 13.3 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)