Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008315/0.0008314, allocations: 100.1 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.0008535/0.0008535, allocations: 177.3 kB / 15.95 MB, free: 216 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.15/1.15, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001673/0.001673, allocations: 262.9 kB / 291.3 MB, free: 1.992 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.7064/0.7064, allocations: 144.6 MB / 487 MB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003679, allocations: 15.59 kB / 0.5683 GB, free: 38.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1145, allocations: 83.08 MB / 0.6494 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001425/0.116, allocations: 1.253 MB / 0.6507 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1171, allocations: 0.8488 MB / 0.6515 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.195e-05/0.1171, allocations: 0 / 0.6515 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.885e-05/0.1172, allocations: 3.938 kB / 0.6515 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.1173, allocations: 23.95 kB / 0.6515 GB, free: 1.414 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.1176, allocations: 93.81 kB / 0.6516 GB, free: 1.324 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.1177, allocations: 47.86 kB / 0.6516 GB, free: 1.277 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.879e-05/0.1178, allocations: 14.77 kB / 0.6517 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.506e-05/0.1179, allocations: 27.91 kB / 0.6517 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.988e-05/0.118, allocations: 31.84 kB / 0.6517 GB, free: 1.207 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.749e-06/0.118, allocations: 4 kB / 0.6517 GB, free: 1.203 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.1183, allocations: 264.1 kB / 0.652 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.1183, allocations: 16.42 kB / 0.652 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.1184, allocations: 34.77 kB / 0.652 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.1185, allocations: 87.83 kB / 0.6521 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.1185, allocations: 0 / 0.6521 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1185, allocations: 0.5625 kB / 0.6521 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1185, allocations: 0 / 0.6521 GB, free: 0.8047 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000448/0.119, allocations: 406.3 kB / 0.6525 GB, free: 372 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.119, allocations: 8.031 kB / 0.6525 GB, free: 364 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.1191, allocations: 11.91 kB / 0.6525 GB, free: 352 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.1193, allocations: 189 kB / 0.6527 GB, free: 124 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.1193, allocations: 4 kB / 0.6527 GB, free: 120 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.1193, allocations: 5.156 kB / 0.6527 GB, free: 116 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1195, allocations: 70.45 kB / 0.6528 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.1195, allocations: 0.5938 kB / 0.6528 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.1195, allocations: 0 / 0.6528 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.1195, allocations: 0.5 kB / 0.6528 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.1197, allocations: 50.55 kB / 0.6528 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.1201, allocations: 302.1 kB / 0.6531 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.1202, allocations: 56.66 kB / 0.6532 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.1202, allocations: 0 / 0.6532 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.1203, allocations: 39.25 kB / 0.6532 GB, free: 15.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.1203, allocations: 4.812 kB / 0.6532 GB, free: 15.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003285/0.1206, allocations: 124.9 kB / 0.6533 GB, free: 15.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.1206, allocations: 51.41 kB / 0.6534 GB, free: 15.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.1207, allocations: 141.4 kB / 0.6535 GB, free: 15.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.1208, allocations: 25.7 kB / 0.6535 GB, free: 15.17 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.1208, allocations: 100.1 kB / 0.6536 GB, free: 15.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.1208, allocations: 11.81 kB / 0.6536 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.1208, allocations: 0.9062 kB / 0.6536 GB, free: 15.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.421e-05/0.1209, allocations: 322.8 kB / 0.6539 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.376e-05/0.121, allocations: 26.77 kB / 0.654 GB, free: 14.71 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.306e-05/0.1211, allocations: 23.98 kB / 0.654 GB, free: 14.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.05e-05/0.1212, allocations: 31.58 kB / 0.654 GB, free: 14.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1212, allocations: 0 / 0.654 GB, free: 14.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002011/0.1214, allocations: 97.52 kB / 0.6541 GB, free: 14.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1214, allocations: 4 kB / 0.6541 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1214, allocations: 0.7188 kB / 0.6541 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.1214, allocations: 4 kB / 0.6541 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1215, allocations: 20.64 kB / 0.6541 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1216, allocations: 1.281 kB / 0.6541 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.809e-05/0.1217, allocations: 7.984 kB / 0.6542 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1217, allocations: 8.609 kB / 0.6542 GB, free: 14.51 MB / 462.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 (6): * Single equations (assignments): 6 * 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 6.854e-05/0.1217, allocations: 110.9 kB / 0.6543 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.1218, allocations: 7.906 kB / 0.6543 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.122, allocations: 113.9 kB / 0.6544 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.122, allocations: 0 / 0.6544 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.122, allocations: 0 / 0.6544 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.1221, allocations: 0 / 0.6544 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.1222, allocations: 193.4 kB / 0.6546 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1222, allocations: 4 kB / 0.6546 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.188e-05/0.1223, allocations: 19.98 kB / 0.6546 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1223, allocations: 0.5 kB / 0.6546 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1223, allocations: 7.984 kB / 0.6546 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1223, allocations: 3.984 kB / 0.6546 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1224, allocations: 7.984 kB / 0.6546 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.1226, allocations: 195.4 kB / 0.6548 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.1226, allocations: 85.02 kB / 0.6549 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.1227, allocations: 3.984 kB / 0.6549 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.1227, allocations: 4 kB / 0.6549 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.1228, allocations: 7.984 kB / 0.6549 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.1228, allocations: 3.938 kB / 0.6549 GB, free: 13.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.966e-05/0.1228, allocations: 104.6 kB / 0.655 GB, free: 13.56 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1229, allocations: 8 kB / 0.655 GB, free: 13.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.1231, allocations: 23.94 kB / 0.655 GB, free: 13.53 MB / 462.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 (6): * Single equations (assignments): 6 * 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.0001333/0.1232, allocations: 115.2 kB / 0.6551 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.1234, allocations: 55.97 kB / 0.6552 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1234, allocations: 4 kB / 0.6552 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.122e-05/0.1235, allocations: 35.92 kB / 0.6552 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.1237, allocations: 17.81 kB / 0.6552 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.124, allocations: 214.5 kB / 0.6555 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.1242, allocations: 0.6965 MB / 0.6561 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.201e-05/0.1243, allocations: 4.188 kB / 0.6561 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.1243, allocations: 19.42 kB / 0.6562 GB, free: 12.32 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1243, allocations: 0 / 0.6562 GB, free: 12.32 MB / 462.1 MB Notification: Performance of Templates: time 0.002674/0.127, allocations: 0.9671 MB / 0.6571 GB, free: 11.36 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) Environment - environmentSimulation: