Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.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.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009296/0.0009297, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001031/0.001031, allocations: 168.7 kB / 15.95 MB, free: 200 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.321/1.321, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001751/0.001751, allocations: 263.2 kB / 291.3 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.955/0.955, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003985, allocations: 16.91 kB / 0.598 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1325, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001244/0.1337, allocations: 1.089 MB / 0.6855 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003044/0.1368, allocations: 2.737 MB / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.1369, allocations: 3.938 kB / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.365e-05/0.1369, allocations: 0 / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.783e-05/0.137, allocations: 39.8 kB / 0.6882 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.1375, allocations: 154.5 kB / 0.6884 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.1377, allocations: 275.4 kB / 0.6887 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.421e-05/0.1378, allocations: 0 / 0.6887 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.35e-05/0.1379, allocations: 91.84 kB / 0.6887 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.138, allocations: 143.7 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.1381, allocations: 12 kB / 0.6889 GB, free: 10.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003712/0.1384, allocations: 155 kB / 0.689 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.1385, allocations: 91.8 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.1386, allocations: 53.64 kB / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.1388, allocations: 179.9 kB / 0.6893 GB, free: 10.47 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1388, allocations: 2.156 kB / 0.6894 GB, free: 10.47 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1388, allocations: 3.938 kB / 0.6894 GB, free: 10.46 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.1388, allocations: 0 / 0.6894 GB, free: 10.46 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007052/0.1395, allocations: 0.5347 MB / 0.6899 GB, free: 9.887 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1396, allocations: 9.25 kB / 0.6899 GB, free: 9.879 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.399e-05/0.1397, allocations: 19.77 kB / 0.6899 GB, free: 9.859 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.1399, allocations: 240.3 kB / 0.6901 GB, free: 9.586 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.14, allocations: 20.83 kB / 0.6902 GB, free: 9.566 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.14, allocations: 19.94 kB / 0.6902 GB, free: 9.547 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/0.1406, allocations: 314 kB / 0.6905 GB, free: 9.234 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.1407, allocations: 0 / 0.6905 GB, free: 9.234 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.1407, allocations: 11.98 kB / 0.6905 GB, free: 9.223 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1407, allocations: 4 kB / 0.6905 GB, free: 9.219 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.1422, allocations: 0.8152 MB / 0.6913 GB, free: 8.402 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.1425, allocations: 309.2 kB / 0.6916 GB, free: 8.051 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.1442, allocations: 0.7767 MB / 0.6923 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/0.1447, allocations: 256.7 kB / 0.6926 GB, free: 7.008 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003737/0.1451, allocations: 388.4 kB / 0.693 GB, free: 6.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.1451, allocations: 35.5 kB / 0.693 GB, free: 6.512 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.493e-06/0.1451, allocations: 0 / 0.693 GB, free: 6.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001591/0.1467, allocations: 0.7348 MB / 0.6937 GB, free: 5.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.1468, allocations: 59.34 kB / 0.6938 GB, free: 5.699 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/0.1468, allocations: 130 kB / 0.6939 GB, free: 5.562 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1469, allocations: 29.7 kB / 0.6939 GB, free: 5.527 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.1469, allocations: 88.8 kB / 0.694 GB, free: 5.438 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.896e-05/0.147, allocations: 134.1 kB / 0.6941 GB, free: 5.305 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-05/0.1471, allocations: 8 kB / 0.6941 GB, free: 5.297 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1472, allocations: 326.8 kB / 0.6944 GB, free: 4.969 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004776/0.1477, allocations: 223.8 kB / 0.6947 GB, free: 4.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/0.1481, allocations: 232.8 kB / 0.6949 GB, free: 4.523 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000449/0.1486, allocations: 204.2 kB / 0.6951 GB, free: 4.324 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1486, allocations: 0 / 0.6951 GB, free: 4.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001051/0.1497, allocations: 0.5045 MB / 0.6956 GB, free: 3.812 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1497, allocations: 4 kB / 0.6956 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1497, allocations: 0 / 0.6956 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.1497, allocations: 4 kB / 0.6956 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.1501, allocations: 115.8 kB / 0.6957 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1501, allocations: 4 kB / 0.6957 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.1503, allocations: 59.72 kB / 0.6957 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.1503, allocations: 23.94 kB / 0.6958 GB, free: 3.605 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0001146/0.1504, allocations: 138.4 kB / 0.6959 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.1505, allocations: 15.81 kB / 0.6959 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.1517, allocations: 0.5783 MB / 0.6965 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1517, allocations: 0 / 0.6965 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1517, allocations: 4 kB / 0.6965 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1517, allocations: 3.984 kB / 0.6965 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.152, allocations: 321.1 kB / 0.6968 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.152, allocations: 0 / 0.6968 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003439/0.1524, allocations: 115.8 kB / 0.6969 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1524, allocations: 4 kB / 0.6969 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.1524, allocations: 11.98 kB / 0.6969 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1525, allocations: 0 / 0.6969 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1525, allocations: 4 kB / 0.6969 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.1535, allocations: 0.5469 MB / 0.6975 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.1536, allocations: 100.9 kB / 0.6976 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.1536, allocations: 8 kB / 0.6976 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.1538, allocations: 51.89 kB / 0.6976 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/0.154, allocations: 119.8 kB / 0.6977 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.1541, allocations: 15.98 kB / 0.6977 GB, free: 1.488 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.474e-05/0.1541, allocations: 95.27 kB / 0.6978 GB, free: 1.395 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1541, allocations: 0 / 0.6978 GB, free: 1.395 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000361/0.1545, allocations: 119.9 kB / 0.6979 GB, free: 1.277 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0003205/0.1548, allocations: 191 kB / 0.6981 GB, free: 1.082 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.1559, allocations: 0.5114 MB / 0.6986 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1559, allocations: 4 kB / 0.6986 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005404/0.1565, allocations: 287.7 kB / 0.6989 GB, free: 292 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.1569, allocations: 88.06 kB / 0.699 GB, free: 208 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007156/0.1576, allocations: 0.4981 MB / 0.6995 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.1579, allocations: 0.7292 MB / 0.7002 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004246/0.1583, allocations: 186.7 kB / 0.7004 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.076e-05/0.1584, allocations: 35.42 kB / 0.7004 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1584, allocations: 0 / 0.7004 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.007987/0.1664, allocations: 4.706 MB / 0.705 GB, free: 10.09 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)