Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008004/0.0008006, allocations: 99.55 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.0008589/0.000859, 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.153/1.153, allocations: 223.2 MB / 239.9 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00161/0.00161, allocations: 267.2 kB / 291.2 MB, free: 1.863 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.7111/0.7111, allocations: 144.6 MB / 487 MB, free: 7.207 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003727, allocations: 13.44 kB / 0.5683 GB, free: 37.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1291, allocations: 83.08 MB / 0.6494 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.001453/0.1306, allocations: 1.357 MB / 0.6507 GB, free: 2.297 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000518/0.1311, allocations: 439.5 kB / 0.6512 GB, free: 1.871 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.1311, allocations: 0 / 0.6512 GB, free: 1.871 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.1313, allocations: 79.66 kB / 0.6512 GB, free: 1.793 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.257e-05/0.1314, allocations: 36.48 kB / 0.6513 GB, free: 1.758 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.1316, allocations: 40.61 kB / 0.6513 GB, free: 1.719 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.744e-05/0.1316, allocations: 55.91 kB / 0.6514 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.1317, allocations: 9.109 kB / 0.6514 GB, free: 1.656 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.729e-05/0.1318, allocations: 27.86 kB / 0.6514 GB, free: 1.629 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.399e-05/0.1318, allocations: 37.33 kB / 0.6514 GB, free: 1.594 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1318, allocations: 4 kB / 0.6514 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1319, allocations: 59.88 kB / 0.6515 GB, free: 1.531 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.132, allocations: 47.88 kB / 0.6515 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.1321, allocations: 58.3 kB / 0.6516 GB, free: 1.422 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.1322, allocations: 123.9 kB / 0.6517 GB, free: 1.301 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.1322, allocations: 1.156 kB / 0.6517 GB, free: 1.301 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1322, allocations: 0 / 0.6517 GB, free: 1.301 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.1322, allocations: 0 / 0.6517 GB, free: 1.301 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.0004516/0.1327, allocations: 468.1 kB / 0.6522 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.1327, allocations: 8.625 kB / 0.6522 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.1328, allocations: 19.72 kB / 0.6522 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.1329, allocations: 208.1 kB / 0.6524 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.1329, allocations: 4 kB / 0.6524 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1329, allocations: 4 kB / 0.6524 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.1331, allocations: 67.08 kB / 0.6525 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1331, allocations: 4.859 kB / 0.6525 GB, free: 460 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.1331, allocations: 0 / 0.6525 GB, free: 460 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1331, allocations: 0.7188 kB / 0.6525 GB, free: 460 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.1333, allocations: 73.45 kB / 0.6525 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.1337, allocations: 340.1 kB / 0.6529 GB, free: 0 / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.1339, allocations: 68.06 kB / 0.6529 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.1339, allocations: 16.05 kB / 0.6529 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.134, allocations: 31.66 kB / 0.653 GB, free: 15.87 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.134, allocations: 0 / 0.653 GB, free: 15.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003612/0.1343, allocations: 159.9 kB / 0.6531 GB, free: 15.71 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.1344, allocations: 51.41 kB / 0.6532 GB, free: 15.65 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.1346, allocations: 258.7 kB / 0.6534 GB, free: 15.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.1346, allocations: 29.64 kB / 0.6535 GB, free: 15.35 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.1347, allocations: 128.1 kB / 0.6536 GB, free: 15.22 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.1347, allocations: 7.906 kB / 0.6536 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.1347, allocations: 0 / 0.6536 GB, free: 15.21 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.1348, allocations: 335.8 kB / 0.6539 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.724e-05/0.1349, allocations: 32.64 kB / 0.6539 GB, free: 14.85 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.98e-05/0.135, allocations: 37.53 kB / 0.654 GB, free: 14.81 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.219e-05/0.1351, allocations: 41.25 kB / 0.654 GB, free: 14.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1351, allocations: 0 / 0.654 GB, free: 14.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002041/0.1353, allocations: 113.4 kB / 0.6541 GB, free: 14.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1353, allocations: 8 kB / 0.6541 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.1353, allocations: 0 / 0.6541 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.1353, allocations: 4.031 kB / 0.6541 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.1354, allocations: 11.98 kB / 0.6541 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.1354, allocations: 0 / 0.6541 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.33e-05/0.1355, allocations: 11.98 kB / 0.6542 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.1355, allocations: 0 / 0.6542 GB, free: 14.62 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.922e-05/0.1356, allocations: 135.5 kB / 0.6543 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.1356, allocations: 23.72 kB / 0.6543 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.1359, allocations: 138.4 kB / 0.6544 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1359, allocations: 0 / 0.6544 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.1359, allocations: 4 kB / 0.6544 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1359, allocations: 0 / 0.6544 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.1361, allocations: 221.5 kB / 0.6546 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1361, allocations: 4.031 kB / 0.6547 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.1362, allocations: 12 kB / 0.6547 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1362, allocations: 3.984 kB / 0.6547 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.1362, allocations: 0 / 0.6547 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1362, allocations: 0 / 0.6547 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1362, allocations: 0 / 0.6547 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1365, allocations: 211.3 kB / 0.6549 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.1365, allocations: 96.81 kB / 0.655 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.872e-05/0.1365, allocations: 0 / 0.655 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.025e-05/0.1366, allocations: 8 kB / 0.655 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.1367, allocations: 15.95 kB / 0.655 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.1367, allocations: 0 / 0.655 GB, free: 13.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.1368, allocations: 185.9 kB / 0.6552 GB, free: 13.49 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1368, allocations: 0 / 0.6552 GB, free: 13.49 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.1371, allocations: 43.98 kB / 0.6552 GB, free: 13.45 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.0001391/0.1372, allocations: 119.2 kB / 0.6553 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.1374, allocations: 71.95 kB / 0.6554 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1374, allocations: 0 / 0.6554 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.791e-05/0.1375, allocations: 39.97 kB / 0.6554 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.1378, allocations: 50.42 kB / 0.6555 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.1383, allocations: 364.4 kB / 0.6558 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.1385, allocations: 0.7472 MB / 0.6566 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.156e-05/0.1386, allocations: 4.188 kB / 0.6566 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.1386, allocations: 7.438 kB / 0.6566 GB, free: 12 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1386, allocations: 0 / 0.6566 GB, free: 12 MB / 462.1 MB Notification: Performance of Templates: time 0.003437/0.142, allocations: 1.63 MB / 0.6582 GB, free: 10.4 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1) Environment - environmentSimulation: