Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.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.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled") translateModel(BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7053/0.7053, allocations: 131 MB / 146.3 MB, free: 1.273 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.001012/0.001012, allocations: 187.8 kB / 176.4 MB, free: 4.859 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.371/1.371, allocations: 225.7 MB / 431.9 MB, free: 8.785 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.0007776/0.0007776, allocations: 101.5 kB / 0.5003 GB, free: 9.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003779, allocations: 8 kB / 0.5885 GB, free: 72.68 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1433, allocations: 79.6 MB / 0.6662 GB, free: 8.914 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled): time 0.002693/0.146, allocations: 1.836 MB / 0.668 GB, free: 7.062 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1474, allocations: 0.7016 MB / 0.6687 GB, free: 6.355 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.1477, allocations: 8 kB / 0.6687 GB, free: 6.348 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.1479, allocations: 27.72 kB / 0.6688 GB, free: 6.32 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.1481, allocations: 31.67 kB / 0.6688 GB, free: 6.289 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/0.1486, allocations: 135.9 kB / 0.6689 GB, free: 6.156 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003513/0.1489, allocations: 259.8 kB / 0.6692 GB, free: 5.902 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.1492, allocations: 103.5 kB / 0.6693 GB, free: 5.805 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.1493, allocations: 67.53 kB / 0.6693 GB, free: 5.738 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.1494, allocations: 83.38 kB / 0.6694 GB, free: 5.656 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.1495, allocations: 4 kB / 0.6694 GB, free: 5.652 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.207e-05/0.1495, allocations: 4 kB / 0.6694 GB, free: 5.648 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.764e-05/0.1495, allocations: 23.86 kB / 0.6694 GB, free: 5.625 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.962e-05/0.1496, allocations: 117 kB / 0.6695 GB, free: 5.504 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.1499, allocations: 239.2 kB / 0.6698 GB, free: 5.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1499, allocations: 0 / 0.6698 GB, free: 5.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1499, allocations: 0 / 0.6698 GB, free: 5.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.1499, allocations: 0 / 0.6698 GB, free: 5.27 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008133/0.1508, allocations: 0.514 MB / 0.6703 GB, free: 4.707 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1508, allocations: 10 kB / 0.6703 GB, free: 4.699 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.39e-05/0.1509, allocations: 32.56 kB / 0.6703 GB, free: 4.668 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.1513, allocations: 279.6 kB / 0.6706 GB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1513, allocations: 20.09 kB / 0.6706 GB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.1513, allocations: 12.38 kB / 0.6706 GB, free: 4.324 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.1518, allocations: 218.5 kB / 0.6708 GB, free: 4.094 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1518, allocations: 0 / 0.6708 GB, free: 4.094 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.1518, allocations: 8 kB / 0.6708 GB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1518, allocations: 4 kB / 0.6708 GB, free: 4.082 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.1521, allocations: 140.9 kB / 0.671 GB, free: 3.945 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.1533, allocations: 0.7829 MB / 0.6717 GB, free: 3.105 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.1537, allocations: 190.6 kB / 0.6719 GB, free: 2.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.1538, allocations: 64.84 kB / 0.672 GB, free: 2.844 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.1539, allocations: 4 kB / 0.672 GB, free: 2.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1539, allocations: 38.55 kB / 0.672 GB, free: 2.793 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.1539, allocations: 0 / 0.672 GB, free: 2.793 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005023/0.1544, allocations: 209.4 kB / 0.6722 GB, free: 2.582 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/0.1545, allocations: 85.05 kB / 0.6723 GB, free: 2.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.1549, allocations: 246.7 kB / 0.6725 GB, free: 2.234 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.1549, allocations: 29.7 kB / 0.6726 GB, free: 2.199 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.1551, allocations: 168.2 kB / 0.6727 GB, free: 2.031 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.1551, allocations: 51.2 kB / 0.6728 GB, free: 1.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.1551, allocations: 8 kB / 0.6728 GB, free: 1.973 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1553, allocations: 334.8 kB / 0.6731 GB, free: 1.637 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.1554, allocations: 51.98 kB / 0.6732 GB, free: 1.586 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.1556, allocations: 88.27 kB / 0.6732 GB, free: 1.484 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007297/0.1564, allocations: 247.3 kB / 0.6735 GB, free: 1.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1564, allocations: 4 kB / 0.6735 GB, free: 1.227 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003684/0.1567, allocations: 193.4 kB / 0.6737 GB, free: 1.031 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.143e-05/0.1568, allocations: 115.9 kB / 0.6738 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1568, allocations: 4 kB / 0.6738 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1569, allocations: 0 / 0.6738 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.157, allocations: 39.86 kB / 0.6738 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1571, allocations: 4 kB / 0.6738 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.1572, allocations: 35.77 kB / 0.6738 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.1572, allocations: 4 kB / 0.6739 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.1572, allocations: 7.906 kB / 0.6739 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002056/0.1574, allocations: 119.8 kB / 0.674 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-06/0.1575, allocations: 4 kB / 0.674 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.497e-06/0.1575, allocations: 0 / 0.674 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1576, allocations: 24 kB / 0.674 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1576, allocations: 3.984 kB / 0.674 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.2e-05/0.1577, allocations: 12 kB / 0.674 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.1577, allocations: 11.98 kB / 0.674 GB, free: 0.6367 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 variables: firstOrder.y:VARIABLE(flow=false start = firstOrder.y_start fixed = true protected = true ) "Connector of Real output signal" type: Real PI1.I.y:VARIABLE(flow=false start = PI1.I.y_start fixed = true protected = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (PI1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0002621/0.158, allocations: 224.9 kB / 0.6742 GB, free: 416 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.158, allocations: 19.72 kB / 0.6743 GB, free: 396 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.289e-05/0.1581, allocations: 37.81 kB / 0.6743 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1581, allocations: 0 / 0.6743 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1581, allocations: 0 / 0.6743 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1581, allocations: 0 / 0.6743 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006545/0.1588, allocations: 0.5217 MB / 0.6748 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1588, allocations: 0 / 0.6748 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.159, allocations: 27.98 kB / 0.6748 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.159, allocations: 0 / 0.6748 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.159, allocations: 0 / 0.6748 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.159, allocations: 8 kB / 0.6748 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.159, allocations: 0 / 0.6748 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/0.1595, allocations: 347.1 kB / 0.6752 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/0.1596, allocations: 116.8 kB / 0.6753 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.1596, allocations: 0 / 0.6753 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.1598, allocations: 12 kB / 0.6753 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.1598, allocations: 11.92 kB / 0.6753 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.1598, allocations: 4 kB / 0.6753 GB, free: 15.22 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001596/0.16, allocations: 178 kB / 0.6755 GB, free: 15.05 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.16, allocations: 0 / 0.6755 GB, free: 15.05 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003344/0.1603, allocations: 67.81 kB / 0.6755 GB, free: 14.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (PI1.I.y,firstOrder.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.0001083/0.1604, allocations: 107.8 kB / 0.6756 GB, free: 14.87 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003995/0.1608, allocations: 192.6 kB / 0.6758 GB, free: 14.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1609, allocations: 4.375 kB / 0.6758 GB, free: 14.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.161, allocations: 71.91 kB / 0.6759 GB, free: 14.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.1614, allocations: 62.86 kB / 0.676 GB, free: 14.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008697/0.1623, allocations: 0.5335 MB / 0.6765 GB, free: 13.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.1626, allocations: 0.7521 MB / 0.6772 GB, free: 13.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.1628, allocations: 30.28 kB / 0.6772 GB, free: 13.17 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.1628, allocations: 19.44 kB / 0.6773 GB, free: 13.15 MB / 458.7 MB Notification: Performance of SimCode: time 2.234e-06/0.1628, allocations: 3.938 kB / 0.6773 GB, free: 13.15 MB / 458.7 MB Notification: Performance of Templates: time 0.005351/0.1682, allocations: 2.128 MB / 0.6793 GB, free: 11.04 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.makefile (rm -f BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.pipe ; mkfifo BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.pipe >> ../files/BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.sim & ./BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.pipe 2>&1)