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.0008285/0.0008285, allocations: 98.38 kB / 15.05 MB, free: 1.105 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.0008446/0.0008446, allocations: 177.3 kB / 15.94 MB, free: 228 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.148/1.148, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001607/0.001607, allocations: 275.1 kB / 291.3 MB, free: 1.883 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7106/0.7106, allocations: 144.6 MB / 487 MB, free: 7.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 14.91 kB / 0.5683 GB, free: 38.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1137, allocations: 83.08 MB / 0.6494 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.001719/0.1155, allocations: 1.713 MB / 0.6511 GB, free: 1.887 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.1166, allocations: 0.9673 MB / 0.652 GB, free: 0.918 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.885e-05/0.1167, allocations: 3.938 kB / 0.652 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.1168, allocations: 21 kB / 0.6521 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.117, allocations: 89.42 kB / 0.6522 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.1173, allocations: 122 kB / 0.6523 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.1175, allocations: 192 kB / 0.6525 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1176, allocations: 67.33 kB / 0.6525 GB, free: 452 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.147e-05/0.1177, allocations: 87.62 kB / 0.6526 GB, free: 364 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.1179, allocations: 116.2 kB / 0.6527 GB, free: 248 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.1179, allocations: 8.719 kB / 0.6527 GB, free: 240 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003344/0.1182, allocations: 267.8 kB / 0.653 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.387e-05/0.1183, allocations: 40.22 kB / 0.653 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.1183, allocations: 74.48 kB / 0.6531 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.1185, allocations: 211.8 kB / 0.6533 GB, free: 15.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.1186, allocations: 0 / 0.6533 GB, free: 15.65 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1186, allocations: 1.469 kB / 0.6533 GB, free: 15.65 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1186, allocations: 0 / 0.6533 GB, free: 15.65 MB / 462.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.0008716/0.1194, allocations: 0.61 MB / 0.6539 GB, free: 14.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.1195, allocations: 8.031 kB / 0.6539 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.1197, allocations: 48.52 kB / 0.6539 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.1199, allocations: 262.4 kB / 0.6542 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.12, allocations: 12.97 kB / 0.6542 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.12, allocations: 12.88 kB / 0.6542 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.1205, allocations: 250.1 kB / 0.6545 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1205, allocations: 0 / 0.6545 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.1205, allocations: 7.469 kB / 0.6545 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-06/0.1205, allocations: 4 kB / 0.6545 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006354/0.1212, allocations: 241.7 kB / 0.6547 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009527/0.1221, allocations: 0.9578 MB / 0.6556 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006976/0.1228, allocations: 265.2 kB / 0.6559 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1229, allocations: 4 kB / 0.6559 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.1229, allocations: 34.56 kB / 0.6559 GB, free: 12.76 MB / 462.1 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.1229, allocations: 0 / 0.6559 GB, free: 12.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=16): time 0.001089/0.124, allocations: 405.9 kB / 0.6563 GB, free: 12.36 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.124, allocations: 77.11 kB / 0.6564 GB, free: 12.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.1243, allocations: 267 kB / 0.6566 GB, free: 12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1243, allocations: 29.7 kB / 0.6567 GB, free: 11.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.1244, allocations: 156.2 kB / 0.6568 GB, free: 11.81 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.1244, allocations: 55.19 kB / 0.6569 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-06/0.1244, allocations: 4 kB / 0.6569 GB, free: 11.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.154e-05/0.1245, allocations: 338.8 kB / 0.6572 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/0.1249, allocations: 107.9 kB / 0.6573 GB, free: 11.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.1252, allocations: 167.9 kB / 0.6575 GB, free: 11.12 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.1255, allocations: 124 kB / 0.6576 GB, free: 11 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1255, allocations: 7.984 kB / 0.6576 GB, free: 10.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007858/0.1263, allocations: 336.9 kB / 0.6579 GB, free: 10.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1263, allocations: 7.984 kB / 0.6579 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1263, allocations: 4 kB / 0.6579 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1264, allocations: 8.125 kB / 0.6579 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.1266, allocations: 75.89 kB / 0.658 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.1267, allocations: 0 / 0.658 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.1269, allocations: 55.8 kB / 0.658 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.1269, allocations: 8 kB / 0.6581 GB, free: 10.5 MB / 462.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.0001021/0.127, allocations: 133.7 kB / 0.6582 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.1271, allocations: 23.72 kB / 0.6582 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000773/0.1279, allocations: 343 kB / 0.6585 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.1279, allocations: 4 kB / 0.6585 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1279, allocations: 0 / 0.6585 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1279, allocations: 4 kB / 0.6585 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/0.1283, allocations: 289.4 kB / 0.6588 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1283, allocations: 3.953 kB / 0.6588 GB, free: 9.648 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.1285, allocations: 67.95 kB / 0.6589 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1285, allocations: 0 / 0.6589 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1285, allocations: 4 kB / 0.6589 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1286, allocations: 0 / 0.6589 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1286, allocations: 3.938 kB / 0.6589 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007876/0.1294, allocations: 496 kB / 0.6594 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.534e-05/0.1294, allocations: 104.7 kB / 0.6595 GB, free: 8.945 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.1295, allocations: 4.281 kB / 0.6595 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.1297, allocations: 39.97 kB / 0.6595 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.1298, allocations: 15.97 kB / 0.6595 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1298, allocations: 11.94 kB / 0.6595 GB, free: 8.875 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001437/0.1299, allocations: 186 kB / 0.6597 GB, free: 8.695 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1299, allocations: 4 kB / 0.6597 GB, free: 8.691 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003157/0.1303, allocations: 55.91 kB / 0.6598 GB, free: 8.637 MB / 462.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.0001449/0.1304, allocations: 123.4 kB / 0.6599 GB, free: 8.508 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006914/0.1311, allocations: 267.9 kB / 0.6601 GB, free: 8.246 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1311, allocations: 0 / 0.6601 GB, free: 8.246 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003378/0.1315, allocations: 135.9 kB / 0.6603 GB, free: 8.113 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.1319, allocations: 80.12 kB / 0.6603 GB, free: 8.035 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006224/0.1325, allocations: 0.5032 MB / 0.6608 GB, free: 7.504 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.1327, allocations: 0.7558 MB / 0.6616 GB, free: 6.723 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.1329, allocations: 38.48 kB / 0.6616 GB, free: 6.688 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.1329, allocations: 23.44 kB / 0.6616 GB, free: 6.664 MB / 462.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1329, allocations: 0 / 0.6616 GB, free: 6.664 MB / 462.1 MB Notification: Performance of Templates: time 0.005859/0.1388, allocations: 3.415 MB / 0.665 GB, free: 3.32 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: