Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.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.BuildingStock.RnCm.Examples.R3C2_PIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled") translateModel(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7763/0.7763, allocations: 131 MB / 146.3 MB, free: 1.305 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.0009282/0.0009281, allocations: 187.8 kB / 176.4 MB, free: 4.879 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.382/1.382, 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.0007695/0.0007695, allocations: 86.92 kB / 0.5003 GB, free: 9.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003118, allocations: 8 kB / 0.5885 GB, free: 72.7 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.115, allocations: 79.6 MB / 0.6662 GB, free: 8.93 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.00311/0.1181, allocations: 2.748 MB / 0.6689 GB, free: 6.164 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003597/0.1217, allocations: 3.208 MB / 0.6721 GB, free: 2.762 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.1219, allocations: 8 kB / 0.6721 GB, free: 2.754 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.1223, allocations: 75.47 kB / 0.6721 GB, free: 2.68 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004562/0.1228, allocations: 167 kB / 0.6723 GB, free: 2.516 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009778/0.1238, allocations: 427.2 kB / 0.6727 GB, free: 2.098 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007881/0.1246, allocations: 0.76 MB / 0.6734 GB, free: 1.336 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004639/0.125, allocations: 288.8 kB / 0.6737 GB, free: 1.051 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003366/0.1254, allocations: 259 kB / 0.674 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003957/0.1258, allocations: 318.6 kB / 0.6743 GB, free: 496 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.046e-05/0.1259, allocations: 28 kB / 0.6743 GB, free: 468 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004497/0.1263, allocations: 287.6 kB / 0.6746 GB, free: 180 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.1265, allocations: 187.3 kB / 0.6748 GB, free: 15.99 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002869/0.1268, allocations: 347.7 kB / 0.6751 GB, free: 15.64 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.1278, allocations: 1.063 MB / 0.6761 GB, free: 14.58 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1279, allocations: 0 / 0.6761 GB, free: 14.58 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1279, allocations: 0 / 0.6761 GB, free: 14.58 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1279, allocations: 4 kB / 0.6761 GB, free: 14.57 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001542/0.1294, allocations: 0.9551 MB / 0.6771 GB, free: 13.56 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1295, allocations: 8.031 kB / 0.6771 GB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.1297, allocations: 95.89 kB / 0.6772 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006017/0.1303, allocations: 481.6 kB / 0.6776 GB, free: 12.94 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.1304, allocations: 94.94 kB / 0.6777 GB, free: 12.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.1306, allocations: 67.89 kB / 0.6778 GB, free: 12.78 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.132, allocations: 0.7784 MB / 0.6785 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.132, allocations: 3.938 kB / 0.6785 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.375e-05/0.1321, allocations: 23.98 kB / 0.6786 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.1321, allocations: 16 kB / 0.6786 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.1337, allocations: 0.7741 MB / 0.6793 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003528/0.1373, allocations: 2.725 MB / 0.682 GB, free: 8.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.1387, allocations: 0.6843 MB / 0.6827 GB, free: 7.551 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007928/0.1395, allocations: 434.1 kB / 0.6831 GB, free: 7.125 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000558/0.1401, allocations: 0.5194 MB / 0.6836 GB, free: 6.496 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.1401, allocations: 39 kB / 0.6836 GB, free: 6.449 MB / 458.7 MB Notification: Performance of pre-optimization done (n=62): time 2.224e-06/0.1401, allocations: 0 / 0.6836 GB, free: 6.449 MB / 458.7 MB Notification: Performance of matching and sorting (n=62): time 0.004468/0.1446, allocations: 1.543 MB / 0.6851 GB, free: 4.879 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.1447, allocations: 140.9 kB / 0.6853 GB, free: 4.707 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005281/0.1452, allocations: 469.8 kB / 0.6857 GB, free: 4.242 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.1453, allocations: 37.7 kB / 0.6857 GB, free: 4.199 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.1455, allocations: 312.3 kB / 0.686 GB, free: 3.887 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.1456, allocations: 197.1 kB / 0.6862 GB, free: 3.691 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.1457, allocations: 12 kB / 0.6862 GB, free: 3.68 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1458, allocations: 366.8 kB / 0.6866 GB, free: 3.312 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006158/0.1464, allocations: 297 kB / 0.6869 GB, free: 3.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006854/0.1471, allocations: 387.1 kB / 0.6872 GB, free: 2.613 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004064/0.1512, allocations: 1.788 MB / 0.689 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1512, allocations: 0 / 0.689 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002484/0.1537, allocations: 1.053 MB / 0.69 GB, free: 15.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/0.1538, allocations: 63.39 kB / 0.6901 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002391/0.1562, allocations: 0.9956 MB / 0.6911 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007099/0.1569, allocations: 296.5 kB / 0.6913 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.1574, allocations: 115.8 kB / 0.6914 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004153/0.1616, allocations: 2.236 MB / 0.6936 GB, free: 11.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.1621, allocations: 71.39 kB / 0.6937 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/0.1622, allocations: 24 kB / 0.6937 GB, free: 11.72 MB / 474.7 MB Warning: Assuming fixed start value for the following 3 variables: PI1.x:VARIABLE(start = PI1.x_start fixed = true ) "State of block" type: Real R3C2_1.Ts.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = 288.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of the element" type: Real R3C2_1.Tint.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = 288.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of the element" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005327/0.1627, allocations: 307.4 kB / 0.694 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.1629, allocations: 59.28 kB / 0.6941 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/0.1655, allocations: 1.076 MB / 0.6951 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.1656, allocations: 8 kB / 0.6951 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1656, allocations: 3.938 kB / 0.6951 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1656, allocations: 3.984 kB / 0.6951 GB, free: 10.24 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008677/0.1664, allocations: 0.7393 MB / 0.6959 GB, free: 9.453 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002371/0.1688, allocations: 0.9741 MB / 0.6968 GB, free: 8.461 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004364/0.1693, allocations: 95.81 kB / 0.6969 GB, free: 8.367 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006682/0.17, allocations: 292.7 kB / 0.6972 GB, free: 8.078 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.888e-05/0.17, allocations: 23.98 kB / 0.6972 GB, free: 8.055 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004172/0.1742, allocations: 2.226 MB / 0.6994 GB, free: 5.691 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1742, allocations: 0 / 0.6994 GB, free: 5.691 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/0.1777, allocations: 1.598 MB / 0.7009 GB, free: 4.07 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/0.178, allocations: 216.3 kB / 0.7011 GB, free: 3.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.748e-05/0.1781, allocations: 12 kB / 0.7012 GB, free: 3.828 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.1784, allocations: 39.91 kB / 0.7012 GB, free: 3.789 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.1786, allocations: 64.47 kB / 0.7013 GB, free: 3.727 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.1787, allocations: 19.98 kB / 0.7013 GB, free: 3.707 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000356/0.179, allocations: 327.1 kB / 0.7016 GB, free: 3.395 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.513e-06/0.179, allocations: 0 / 0.7016 GB, free: 3.395 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006198/0.1797, allocations: 231.3 kB / 0.7018 GB, free: 3.168 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (R3C2_1.Tint.T,R3C2_1.Ts.T,PI1.x) * Number of discrete variables: 6 (meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/0.1807, allocations: 0.5808 MB / 0.7024 GB, free: 2.738 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002207/0.183, allocations: 1.116 MB / 0.7035 GB, free: 1.574 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.183, allocations: 3.938 kB / 0.7035 GB, free: 1.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.1843, allocations: 0.6902 MB / 0.7041 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.1848, allocations: 81.81 kB / 0.7042 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.1874, allocations: 1.872 MB / 0.706 GB, free: 14.87 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/0.1879, allocations: 0.9341 MB / 0.707 GB, free: 13.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004047/0.1883, allocations: 135.3 kB / 0.7071 GB, free: 13.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.1885, allocations: 47.42 kB / 0.7071 GB, free: 13.73 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1885, allocations: 0 / 0.7071 GB, free: 13.73 MB / 490.7 MB Notification: Performance of Templates: time 0.0153/0.2038, allocations: 9.154 MB / 0.7161 GB, free: 4.598 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.makefile (rm -f BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe ; mkfifo BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe >> ../files/BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.sim & ./BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe 2>&1)