Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000876/0.0008761, allocations: 100.5 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.000848/0.000848, 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.17/1.17, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001609/0.001609, allocations: 270.7 kB / 291.2 MB, free: 2.02 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.7275/0.7275, allocations: 144.6 MB / 487 MB, free: 7.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.000365, allocations: 13.56 kB / 0.5683 GB, free: 38.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1227, allocations: 83.08 MB / 0.6494 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.001554/0.1243, allocations: 1.355 MB / 0.6507 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004918/0.1248, allocations: 404.8 kB / 0.6511 GB, free: 1.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.1248, allocations: 0 / 0.6511 GB, free: 1.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.1251, allocations: 94.05 kB / 0.6512 GB, free: 1.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.627e-05/0.1251, allocations: 31.88 kB / 0.6513 GB, free: 1.719 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.1253, allocations: 31.95 kB / 0.6513 GB, free: 1.688 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.998e-05/0.1254, allocations: 55.84 kB / 0.6513 GB, free: 1.633 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.1254, allocations: 8 kB / 0.6513 GB, free: 1.625 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.849e-05/0.1255, allocations: 32.3 kB / 0.6514 GB, free: 1.594 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.13e-05/0.1255, allocations: 33.11 kB / 0.6514 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.1256, allocations: 4 kB / 0.6514 GB, free: 1.559 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1257, allocations: 47.94 kB / 0.6515 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.116e-05/0.1257, allocations: 55.81 kB / 0.6515 GB, free: 1.457 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.1258, allocations: 54.23 kB / 0.6516 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.1259, allocations: 116.6 kB / 0.6517 GB, free: 1.285 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.1259, allocations: 0 / 0.6517 GB, free: 1.285 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1259, allocations: 0.5312 kB / 0.6517 GB, free: 1.285 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1259, allocations: 0.625 kB / 0.6517 GB, free: 1.285 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004748/0.1264, allocations: 465 kB / 0.6521 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.1265, allocations: 8.031 kB / 0.6521 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.1265, allocations: 23.72 kB / 0.6521 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.1266, allocations: 214.5 kB / 0.6523 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1267, allocations: 0.75 kB / 0.6523 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.1267, allocations: 0 / 0.6523 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.1268, allocations: 63.7 kB / 0.6524 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.1269, allocations: 0 / 0.6524 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.1269, allocations: 0 / 0.6524 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1269, allocations: 0.6562 kB / 0.6524 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.1271, allocations: 54.27 kB / 0.6525 GB, free: 400 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.1275, allocations: 315.2 kB / 0.6528 GB, free: 36 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.1276, allocations: 56.12 kB / 0.6528 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.1276, allocations: 2.312 kB / 0.6528 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.1277, allocations: 38.62 kB / 0.6529 GB, free: 15.92 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1277, allocations: 0 / 0.6529 GB, free: 15.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003494/0.128, allocations: 127.9 kB / 0.653 GB, free: 15.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.1281, allocations: 52.06 kB / 0.653 GB, free: 15.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.1283, allocations: 255.6 kB / 0.6533 GB, free: 15.48 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.1283, allocations: 25.7 kB / 0.6533 GB, free: 15.45 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.109e-05/0.1284, allocations: 128.9 kB / 0.6534 GB, free: 15.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.1284, allocations: 9.625 kB / 0.6534 GB, free: 15.31 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.1284, allocations: 4 kB / 0.6534 GB, free: 15.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.1285, allocations: 338.7 kB / 0.6538 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.202e-05/0.1286, allocations: 21.95 kB / 0.6538 GB, free: 14.95 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-05/0.1287, allocations: 28.94 kB / 0.6538 GB, free: 14.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.034e-05/0.1288, allocations: 31.08 kB / 0.6538 GB, free: 14.89 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1288, allocations: 3.938 kB / 0.6538 GB, free: 14.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001896/0.129, allocations: 95.5 kB / 0.6539 GB, free: 14.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.129, allocations: 4 kB / 0.6539 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.129, allocations: 0 / 0.6539 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.129, allocations: 4 kB / 0.6539 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.698e-05/0.1291, allocations: 17.55 kB / 0.654 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1291, allocations: 0 / 0.654 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.339e-05/0.1292, allocations: 8.219 kB / 0.654 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.1292, allocations: 4 kB / 0.654 GB, free: 14.75 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 (2): * Single equations (assignments): 2 * 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 8.93e-05/0.1293, allocations: 137.8 kB / 0.6541 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.1293, allocations: 27.64 kB / 0.6541 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.1295, allocations: 110.5 kB / 0.6542 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1296, allocations: 0 / 0.6542 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.1296, allocations: 0 / 0.6542 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1296, allocations: 3.984 kB / 0.6542 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.1298, allocations: 209.6 kB / 0.6544 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1298, allocations: 0 / 0.6544 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.167e-05/0.1298, allocations: 8 kB / 0.6544 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1298, allocations: 7.984 kB / 0.6544 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.1298, allocations: 4 kB / 0.6544 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1298, allocations: 4.031 kB / 0.6545 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1299, allocations: 0 / 0.6545 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.1301, allocations: 191.2 kB / 0.6546 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.1301, allocations: 100.9 kB / 0.6547 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1302, allocations: 4 kB / 0.6547 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.914e-05/0.1303, allocations: 7.984 kB / 0.6547 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.1303, allocations: 4 kB / 0.6547 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.1303, allocations: 0 / 0.6547 GB, free: 13.85 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.1304, allocations: 189.9 kB / 0.6549 GB, free: 13.67 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1304, allocations: 0 / 0.6549 GB, free: 13.67 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.1307, allocations: 35.94 kB / 0.655 GB, free: 13.64 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 (2): * Single equations (assignments): 2 * 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.0001445/0.1308, allocations: 115.2 kB / 0.6551 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1311, allocations: 55.95 kB / 0.6551 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1311, allocations: 0 / 0.6551 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.305e-05/0.1312, allocations: 35.92 kB / 0.6552 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.1315, allocations: 46.33 kB / 0.6552 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.1319, allocations: 354.1 kB / 0.6555 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.1322, allocations: 0.7433 MB / 0.6563 GB, free: 12.24 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.147e-05/0.1322, allocations: 4.125 kB / 0.6563 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/0.1322, allocations: 11.44 kB / 0.6563 GB, free: 12.22 MB / 462.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1322, allocations: 4 kB / 0.6563 GB, free: 12.22 MB / 462.1 MB Notification: Performance of Templates: time 0.003599/0.1358, allocations: 1.616 MB / 0.6579 GB, free: 10.64 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1) Environment - environmentSimulation: