Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00081/0.00081, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008913/0.0008914, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001804/0.001804, allocations: 266 kB / 291.3 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9583/0.9583, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004018, allocations: 19.62 kB / 0.598 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1311, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.001883/0.133, allocations: 1.76 MB / 0.6862 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1344, allocations: 0.969 MB / 0.6871 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.1345, allocations: 7.938 kB / 0.6872 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.1345, allocations: 11.86 kB / 0.6872 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.1348, allocations: 70.06 kB / 0.6872 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.1351, allocations: 145 kB / 0.6874 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.1353, allocations: 258.8 kB / 0.6876 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.1355, allocations: 57.69 kB / 0.6877 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1356, allocations: 89.98 kB / 0.6878 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.1358, allocations: 123.4 kB / 0.6879 GB, free: 12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.1358, allocations: 8 kB / 0.6879 GB, free: 11.99 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003761/0.1362, allocations: 279.7 kB / 0.6881 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.093e-05/0.1363, allocations: 39.75 kB / 0.6882 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.1363, allocations: 70.27 kB / 0.6883 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.1366, allocations: 227.7 kB / 0.6885 GB, free: 11.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1366, allocations: 1.531 kB / 0.6885 GB, free: 11.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1366, allocations: 0 / 0.6885 GB, free: 11.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1366, allocations: 0 / 0.6885 GB, free: 11.38 MB / 494.1 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.0009088/0.1375, allocations: 0.6021 MB / 0.6891 GB, free: 10.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.1376, allocations: 12.72 kB / 0.6891 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.1378, allocations: 36.48 kB / 0.6891 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.1381, allocations: 266.4 kB / 0.6894 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1381, allocations: 8.812 kB / 0.6894 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.1381, allocations: 16 kB / 0.6894 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/0.1386, allocations: 250.7 kB / 0.6896 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.1386, allocations: 8 kB / 0.6896 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.1387, allocations: 4 kB / 0.6896 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1387, allocations: 7.953 kB / 0.6896 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006345/0.1393, allocations: 243.8 kB / 0.6899 GB, free: 9.844 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.1404, allocations: 0.9462 MB / 0.6908 GB, free: 8.828 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007298/0.1411, allocations: 261.2 kB / 0.691 GB, free: 8.555 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.1414, allocations: 125.6 kB / 0.6912 GB, free: 8.426 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1415, allocations: 8.297 kB / 0.6912 GB, free: 8.418 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.1415, allocations: 34.56 kB / 0.6912 GB, free: 8.375 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.1415, allocations: 3.938 kB / 0.6912 GB, free: 8.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001108/0.1426, allocations: 397.1 kB / 0.6916 GB, free: 7.977 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.1427, allocations: 89 kB / 0.6917 GB, free: 7.871 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.1429, allocations: 270.9 kB / 0.6919 GB, free: 7.598 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.143, allocations: 29.7 kB / 0.692 GB, free: 7.562 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.815e-05/0.1431, allocations: 160.2 kB / 0.6921 GB, free: 7.402 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.1431, allocations: 51.2 kB / 0.6922 GB, free: 7.352 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.1431, allocations: 15.94 kB / 0.6922 GB, free: 7.336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.1432, allocations: 330.8 kB / 0.6925 GB, free: 7.004 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.1435, allocations: 115.9 kB / 0.6926 GB, free: 6.891 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.1439, allocations: 160.6 kB / 0.6928 GB, free: 6.715 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.1442, allocations: 127.8 kB / 0.6929 GB, free: 6.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1442, allocations: 0 / 0.6929 GB, free: 6.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000795/0.145, allocations: 337.1 kB / 0.6932 GB, free: 6.254 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1451, allocations: 6.188 kB / 0.6932 GB, free: 6.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1451, allocations: 0 / 0.6932 GB, free: 6.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1451, allocations: 4 kB / 0.6932 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.1454, allocations: 76 kB / 0.6933 GB, free: 6.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.1454, allocations: 4 kB / 0.6933 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.1456, allocations: 55.67 kB / 0.6933 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.1456, allocations: 8 kB / 0.6933 GB, free: 6.105 MB / 494.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.1458, allocations: 146.4 kB / 0.6935 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.1459, allocations: 23.72 kB / 0.6935 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007843/0.1467, allocations: 327.8 kB / 0.6938 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1467, allocations: 4 kB / 0.6938 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1467, allocations: 0 / 0.6938 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1467, allocations: 0 / 0.6938 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.147, allocations: 297.3 kB / 0.6941 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.1471, allocations: 8 kB / 0.6941 GB, free: 5.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.1473, allocations: 67.89 kB / 0.6942 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1473, allocations: 0 / 0.6942 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.1474, allocations: 4 kB / 0.6942 GB, free: 5.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.1474, allocations: 7.984 kB / 0.6942 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1474, allocations: 0 / 0.6942 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/0.1482, allocations: 494.4 kB / 0.6947 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.1483, allocations: 104.8 kB / 0.6948 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.1483, allocations: 3.984 kB / 0.6948 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.1486, allocations: 35.97 kB / 0.6948 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.1486, allocations: 23.97 kB / 0.6948 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.1486, allocations: 4 kB / 0.6948 GB, free: 4.484 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.1488, allocations: 190 kB / 0.695 GB, free: 4.305 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1488, allocations: 0 / 0.695 GB, free: 4.305 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003459/0.1492, allocations: 51.91 kB / 0.6951 GB, free: 4.254 MB / 494.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001575/0.1493, allocations: 121.4 kB / 0.6952 GB, free: 4.129 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007089/0.15, allocations: 273.8 kB / 0.6954 GB, free: 3.863 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1501, allocations: 4.062 kB / 0.6954 GB, free: 3.859 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.1504, allocations: 143.8 kB / 0.6956 GB, free: 3.719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.151, allocations: 66.09 kB / 0.6956 GB, free: 3.652 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007035/0.1517, allocations: 0.4932 MB / 0.6961 GB, free: 3.125 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.152, allocations: 0.7596 MB / 0.6969 GB, free: 2.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.1521, allocations: 38.42 kB / 0.6969 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-05/0.1522, allocations: 23.44 kB / 0.6969 GB, free: 2.281 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1522, allocations: 0 / 0.6969 GB, free: 2.281 MB / 494.1 MB Notification: Performance of Templates: time 0.00663/0.1588, allocations: 3.417 MB / 0.7003 GB, free: 14.93 MB / 0.4981 GB 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)