Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7833/0.7833, allocations: 143.8 MB / 159.1 MB, free: 6.488 MB / 122.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.0008801/0.0008801, allocations: 179.4 kB / 192 MB, free: 6.73 MB / 154.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.339/1.339, allocations: 225.7 MB / 450.4 MB, free: 4.992 MB / 330.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.0007419/0.0007419, allocations: 99.53 kB / 0.5211 GB, free: 1.656 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001608/0.001608, allocations: 283.2 kB / 0.6025 GB, free: 49.32 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.000405, allocations: 14.78 kB / 0.6948 GB, free: 59.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1282, allocations: 82.46 MB / 0.7753 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002047/0.1303, allocations: 1.758 MB / 0.777 GB, free: 12.62 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.1319, allocations: 1.406 MB / 0.7784 GB, free: 11.11 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.296e-05/0.132, allocations: 7.938 kB / 0.7784 GB, free: 11.11 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.1321, allocations: 15.86 kB / 0.7784 GB, free: 11.09 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.1323, allocations: 71.41 kB / 0.7785 GB, free: 11.02 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.1326, allocations: 139.7 kB / 0.7786 GB, free: 10.88 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.1329, allocations: 282.8 kB / 0.7789 GB, free: 10.61 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.1331, allocations: 64.88 kB / 0.779 GB, free: 10.54 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1332, allocations: 87.64 kB / 0.779 GB, free: 10.45 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.1334, allocations: 127.3 kB / 0.7792 GB, free: 10.33 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.1334, allocations: 8 kB / 0.7792 GB, free: 10.32 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/0.1338, allocations: 275.6 kB / 0.7794 GB, free: 10.05 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.1338, allocations: 39.78 kB / 0.7795 GB, free: 10.01 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.1339, allocations: 133 kB / 0.7796 GB, free: 9.875 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.1343, allocations: 310.9 kB / 0.7799 GB, free: 9.57 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1343, allocations: 0 / 0.7799 GB, free: 9.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.857e-06/0.1343, allocations: 0 / 0.7799 GB, free: 9.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1343, allocations: 7.938 kB / 0.7799 GB, free: 9.562 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001017/0.1354, allocations: 0.6039 MB / 0.7805 GB, free: 8.906 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1354, allocations: 8.031 kB / 0.7805 GB, free: 8.898 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.1356, allocations: 36.64 kB / 0.7805 GB, free: 8.863 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.1359, allocations: 279.4 kB / 0.7808 GB, free: 8.555 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1359, allocations: 16.66 kB / 0.7808 GB, free: 8.539 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.136, allocations: 12.38 kB / 0.7808 GB, free: 8.527 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/0.1365, allocations: 249.8 kB / 0.7811 GB, free: 8.262 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1365, allocations: 3.938 kB / 0.7811 GB, free: 8.258 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.1365, allocations: 8 kB / 0.7811 GB, free: 8.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1365, allocations: 8 kB / 0.7811 GB, free: 8.242 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006305/0.1372, allocations: 239.8 kB / 0.7813 GB, free: 8.008 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.1382, allocations: 0.9423 MB / 0.7822 GB, free: 6.996 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007681/0.139, allocations: 269.2 kB / 0.7825 GB, free: 6.715 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.1393, allocations: 125.6 kB / 0.7826 GB, free: 6.586 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1393, allocations: 3.938 kB / 0.7826 GB, free: 6.582 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.1394, allocations: 34.56 kB / 0.7827 GB, free: 6.539 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.1394, allocations: 0 / 0.7827 GB, free: 6.539 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.001113/0.1405, allocations: 405.4 kB / 0.783 GB, free: 6.137 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.1405, allocations: 77.11 kB / 0.7831 GB, free: 6.043 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.1408, allocations: 270.9 kB / 0.7834 GB, free: 5.773 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1408, allocations: 33.64 kB / 0.7834 GB, free: 5.734 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1409, allocations: 160.1 kB / 0.7836 GB, free: 5.574 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.141, allocations: 59.19 kB / 0.7836 GB, free: 5.516 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.141, allocations: 4 kB / 0.7836 GB, free: 5.512 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1411, allocations: 338.8 kB / 0.7839 GB, free: 5.172 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.1414, allocations: 119.9 kB / 0.7841 GB, free: 5.055 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.1418, allocations: 166.5 kB / 0.7842 GB, free: 4.871 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006557/0.1424, allocations: 277.8 kB / 0.7845 GB, free: 4.578 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1424, allocations: 0 / 0.7845 GB, free: 4.578 MB / 458.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008348/0.1433, allocations: 337 kB / 0.7848 GB, free: 4.242 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1433, allocations: 4 kB / 0.7848 GB, free: 4.238 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1433, allocations: 4 kB / 0.7848 GB, free: 4.234 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1433, allocations: 4 kB / 0.7848 GB, free: 4.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.1436, allocations: 76 kB / 0.7849 GB, free: 4.156 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1437, allocations: 4 kB / 0.7849 GB, free: 4.152 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.1439, allocations: 47.81 kB / 0.7849 GB, free: 4.105 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.1439, allocations: 8 kB / 0.7849 GB, free: 4.098 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001101/0.144, allocations: 133.8 kB / 0.7851 GB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.1441, allocations: 39.55 kB / 0.7851 GB, free: 3.918 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008034/0.145, allocations: 339.9 kB / 0.7854 GB, free: 3.578 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.145, allocations: 3.984 kB / 0.7854 GB, free: 3.574 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.145, allocations: 4 kB / 0.7854 GB, free: 3.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.145, allocations: 0 / 0.7854 GB, free: 3.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000344/0.1453, allocations: 293.3 kB / 0.7857 GB, free: 3.234 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1454, allocations: 7.938 kB / 0.7857 GB, free: 3.227 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.1456, allocations: 59.95 kB / 0.7858 GB, free: 3.168 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1456, allocations: 0 / 0.7858 GB, free: 3.168 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.1457, allocations: 8 kB / 0.7858 GB, free: 3.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1457, allocations: 3.938 kB / 0.7858 GB, free: 3.156 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1457, allocations: 3.984 kB / 0.7858 GB, free: 3.152 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007936/0.1465, allocations: 480.2 kB / 0.7863 GB, free: 2.668 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.1465, allocations: 104.7 kB / 0.7864 GB, free: 2.547 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.1466, allocations: 11.98 kB / 0.7864 GB, free: 2.535 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.1468, allocations: 35.97 kB / 0.7864 GB, free: 2.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.1469, allocations: 19.97 kB / 0.7864 GB, free: 2.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.1469, allocations: 4 kB / 0.7864 GB, free: 2.477 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001576/0.1471, allocations: 193.9 kB / 0.7866 GB, free: 2.289 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1471, allocations: 3.938 kB / 0.7866 GB, free: 2.285 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000307/0.1474, allocations: 55.91 kB / 0.7867 GB, free: 2.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (20): * Single equations (assignments): 20 * 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.0001715/0.1476, allocations: 119.5 kB / 0.7868 GB, free: 2.105 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007113/0.1483, allocations: 271.9 kB / 0.787 GB, free: 1.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1483, allocations: 0 / 0.787 GB, free: 1.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.1487, allocations: 140.5 kB / 0.7872 GB, free: 1.703 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.1492, allocations: 68.84 kB / 0.7872 GB, free: 1.633 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007427/0.15, allocations: 0.5327 MB / 0.7878 GB, free: 1.074 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.1503, allocations: 0.748 MB / 0.7885 GB, free: 308 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.1504, allocations: 34.27 kB / 0.7885 GB, free: 276 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.82e-05/0.1505, allocations: 23.44 kB / 0.7885 GB, free: 252 kB / 458.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1505, allocations: 0 / 0.7885 GB, free: 252 kB / 458.7 MB Notification: Performance of Templates: time 0.006544/0.1571, allocations: 3.544 MB / 0.792 GB, free: 12.74 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)