Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008734/0.0008736, allocations: 99.86 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.0009431/0.0009432, 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.187/1.187, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001603/0.001603, allocations: 267 kB / 291.2 MB, free: 1.871 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.73/0.73, allocations: 144.6 MB / 487 MB, free: 7.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 15.16 kB / 0.5683 GB, free: 38.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1252, allocations: 83.08 MB / 0.6494 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.001551/0.1268, allocations: 1.354 MB / 0.6507 GB, free: 2.234 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005324/0.1273, allocations: 441.1 kB / 0.6512 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.1274, allocations: 0.625 kB / 0.6512 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.1276, allocations: 91.58 kB / 0.6513 GB, free: 1.719 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.134e-05/0.1277, allocations: 28.59 kB / 0.6513 GB, free: 1.691 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.1278, allocations: 44.42 kB / 0.6513 GB, free: 1.648 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.17e-05/0.1279, allocations: 56.38 kB / 0.6514 GB, free: 1.594 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.762e-05/0.128, allocations: 10.42 kB / 0.6514 GB, free: 1.586 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.206e-05/0.128, allocations: 27.91 kB / 0.6514 GB, free: 1.559 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.516e-05/0.1281, allocations: 31.8 kB / 0.6514 GB, free: 1.527 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1281, allocations: 7.938 kB / 0.6515 GB, free: 1.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1282, allocations: 51.95 kB / 0.6515 GB, free: 1.469 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.352e-05/0.1283, allocations: 47.89 kB / 0.6516 GB, free: 1.422 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.1283, allocations: 54.33 kB / 0.6516 GB, free: 1.363 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.1285, allocations: 124 kB / 0.6517 GB, free: 1.242 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1285, allocations: 0.6562 kB / 0.6517 GB, free: 1.242 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1285, allocations: 0 / 0.6517 GB, free: 1.242 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1285, allocations: 0.9375 kB / 0.6517 GB, free: 1.242 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.0004868/0.129, allocations: 471.8 kB / 0.6522 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.129, allocations: 8.031 kB / 0.6522 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.1291, allocations: 20.44 kB / 0.6522 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.1292, allocations: 207.8 kB / 0.6524 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.1293, allocations: 0 / 0.6524 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.1293, allocations: 4 kB / 0.6524 GB, free: 476 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.1294, allocations: 67.34 kB / 0.6525 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1295, allocations: 3.938 kB / 0.6525 GB, free: 400 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.1295, allocations: 1.125 kB / 0.6525 GB, free: 400 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1295, allocations: 0 / 0.6525 GB, free: 400 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.1297, allocations: 69.98 kB / 0.6525 GB, free: 332 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.1301, allocations: 339.4 kB / 0.6529 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.1302, allocations: 63.92 kB / 0.6529 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.1303, allocations: 16.58 kB / 0.6529 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1303, allocations: 39.81 kB / 0.653 GB, free: 15.81 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1303, allocations: 0 / 0.653 GB, free: 15.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003674/0.1307, allocations: 153.4 kB / 0.6531 GB, free: 15.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.1307, allocations: 51.41 kB / 0.6532 GB, free: 15.6 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.131, allocations: 255.4 kB / 0.6534 GB, free: 15.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.131, allocations: 29.64 kB / 0.6534 GB, free: 15.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.1311, allocations: 133.8 kB / 0.6536 GB, free: 15.17 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.1311, allocations: 7.891 kB / 0.6536 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.1311, allocations: 0 / 0.6536 GB, free: 15.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1312, allocations: 341.8 kB / 0.6539 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.866e-05/0.1313, allocations: 31.97 kB / 0.6539 GB, free: 14.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.88e-05/0.1314, allocations: 32.77 kB / 0.654 GB, free: 14.76 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.565e-05/0.1315, allocations: 41.62 kB / 0.654 GB, free: 14.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1315, allocations: 0 / 0.654 GB, free: 14.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002095/0.1317, allocations: 118.7 kB / 0.6541 GB, free: 14.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1317, allocations: 4 kB / 0.6541 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1317, allocations: 0 / 0.6541 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1318, allocations: 3.984 kB / 0.6541 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.233e-05/0.1318, allocations: 11.98 kB / 0.6541 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.1319, allocations: 7.984 kB / 0.6541 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.291e-05/0.1319, allocations: 7.984 kB / 0.6542 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.1319, allocations: 8.031 kB / 0.6542 GB, free: 14.56 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 9.807e-05/0.132, allocations: 137.8 kB / 0.6543 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.1321, allocations: 19.72 kB / 0.6543 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.1323, allocations: 130.5 kB / 0.6544 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1324, allocations: 0 / 0.6544 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1324, allocations: 0 / 0.6544 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.1324, allocations: 0 / 0.6544 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.1326, allocations: 225.5 kB / 0.6546 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1326, allocations: 0 / 0.6546 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.395e-05/0.1327, allocations: 11.98 kB / 0.6547 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1327, allocations: 0 / 0.6547 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1327, allocations: 4 kB / 0.6547 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1327, allocations: 32 / 0.6547 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1327, allocations: 4 kB / 0.6547 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.133, allocations: 219.2 kB / 0.6549 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.133, allocations: 100.9 kB / 0.655 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.133, allocations: 0 / 0.655 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.859e-05/0.1331, allocations: 4 kB / 0.655 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.1332, allocations: 7.984 kB / 0.655 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1332, allocations: 0 / 0.655 GB, free: 13.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.1333, allocations: 197.8 kB / 0.6552 GB, free: 13.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1333, allocations: 0 / 0.6552 GB, free: 13.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.1336, allocations: 32 kB / 0.6552 GB, free: 13.39 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.0001588/0.1337, allocations: 128.6 kB / 0.6553 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.134, allocations: 67.95 kB / 0.6554 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.134, allocations: 0 / 0.6554 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.445e-05/0.1341, allocations: 40.03 kB / 0.6554 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.1344, allocations: 54.22 kB / 0.6555 GB, free: 13.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.1349, allocations: 364.5 kB / 0.6558 GB, free: 12.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.1352, allocations: 0.7394 MB / 0.6566 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.371e-05/0.1352, allocations: 4.188 kB / 0.6566 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.1352, allocations: 11.44 kB / 0.6566 GB, free: 11.94 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1352, allocations: 0 / 0.6566 GB, free: 11.94 MB / 462.1 MB Notification: Performance of Templates: time 0.003809/0.1391, allocations: 1.629 MB / 0.6582 GB, free: 10.34 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1) Environment - environmentSimulation: