Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008357/0.0008357, allocations: 100 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.0008318/0.0008318, 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.171/1.171, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001598/0.001598, allocations: 270.6 kB / 291.2 MB, free: 2.004 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.7084/0.7084, allocations: 144.6 MB / 487 MB, free: 7.152 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003772, allocations: 18.81 kB / 0.5683 GB, free: 38.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1214, allocations: 83.08 MB / 0.6494 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.001563/0.123, allocations: 1.366 MB / 0.6508 GB, free: 2.199 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.1242, allocations: 0.9596 MB / 0.6517 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.1242, allocations: 0 / 0.6517 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.1245, allocations: 95.52 kB / 0.6518 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.725e-05/0.1245, allocations: 36.94 kB / 0.6518 GB, free: 1.117 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.1248, allocations: 87.81 kB / 0.6519 GB, free: 1.031 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.614e-05/0.1249, allocations: 68.5 kB / 0.652 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.1249, allocations: 4.625 kB / 0.652 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.479e-05/0.125, allocations: 28.89 kB / 0.652 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.108e-05/0.1251, allocations: 35.86 kB / 0.652 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1251, allocations: 4 kB / 0.652 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.1253, allocations: 137.3 kB / 0.6522 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.1254, allocations: 51.83 kB / 0.6522 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.446e-05/0.1254, allocations: 53.58 kB / 0.6523 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.1257, allocations: 184.6 kB / 0.6524 GB, free: 484 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.1257, allocations: 0 / 0.6524 GB, free: 484 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1257, allocations: 1.25 kB / 0.6525 GB, free: 484 kB / 446.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1257, allocations: 0 / 0.6525 GB, free: 484 kB / 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.0005123/0.1262, allocations: 487.5 kB / 0.6529 GB, free: 15.95 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.1262, allocations: 8.625 kB / 0.6529 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.1263, allocations: 23.72 kB / 0.6529 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.1264, allocations: 207.1 kB / 0.6531 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1264, allocations: 8.625 kB / 0.6532 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.1265, allocations: 0 / 0.6532 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.1266, allocations: 87.75 kB / 0.6532 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.1267, allocations: 3.938 kB / 0.6532 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.1267, allocations: 0.6562 kB / 0.6532 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.1267, allocations: 3.938 kB / 0.6532 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.1269, allocations: 110.3 kB / 0.6533 GB, free: 15.47 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/0.1273, allocations: 383 kB / 0.6537 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.1275, allocations: 108.9 kB / 0.6538 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.596e-05/0.1276, allocations: 24.05 kB / 0.6538 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.1276, allocations: 35.41 kB / 0.6539 GB, free: 14.87 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1276, allocations: 0 / 0.6539 GB, free: 14.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003907/0.128, allocations: 205.2 kB / 0.6541 GB, free: 14.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.1281, allocations: 56.22 kB / 0.6541 GB, free: 14.6 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.1283, allocations: 254.7 kB / 0.6544 GB, free: 14.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.1283, allocations: 28.64 kB / 0.6544 GB, free: 14.31 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.88e-05/0.1284, allocations: 136.1 kB / 0.6545 GB, free: 14.17 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.1284, allocations: 7.844 kB / 0.6545 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.1284, allocations: 3.938 kB / 0.6545 GB, free: 14.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1285, allocations: 342.8 kB / 0.6549 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.1286, allocations: 53.56 kB / 0.6549 GB, free: 13.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.196e-05/0.1287, allocations: 48.53 kB / 0.655 GB, free: 13.72 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1288, allocations: 65.61 kB / 0.655 GB, free: 13.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1288, allocations: 1.094 kB / 0.655 GB, free: 13.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002387/0.1291, allocations: 153.5 kB / 0.6552 GB, free: 13.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1291, allocations: 4 kB / 0.6552 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.1291, allocations: 0 / 0.6552 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1291, allocations: 4 kB / 0.6552 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.759e-05/0.1292, allocations: 11.98 kB / 0.6552 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.1292, allocations: 0 / 0.6552 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.1293, allocations: 20.02 kB / 0.6552 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.1293, allocations: 0 / 0.6552 GB, free: 13.46 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.543e-05/0.1294, allocations: 133.8 kB / 0.6553 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.1294, allocations: 19.81 kB / 0.6554 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.1297, allocations: 178.4 kB / 0.6555 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1298, allocations: 0 / 0.6555 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1298, allocations: 4 kB / 0.6555 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1298, allocations: 0 / 0.6555 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.13, allocations: 245.5 kB / 0.6558 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.13, allocations: 0 / 0.6558 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.325e-05/0.1301, allocations: 15.98 kB / 0.6558 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1301, allocations: 4 kB / 0.6558 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.1301, allocations: 0 / 0.6558 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1301, allocations: 0 / 0.6558 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1301, allocations: 4 kB / 0.6558 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.1304, allocations: 263.1 kB / 0.656 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.1304, allocations: 88.92 kB / 0.6561 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.1305, allocations: 3.938 kB / 0.6561 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.864e-05/0.1306, allocations: 11.98 kB / 0.6561 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.1306, allocations: 0 / 0.6561 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1306, allocations: 0 / 0.6561 GB, free: 12.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.1308, allocations: 193.9 kB / 0.6563 GB, free: 12.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1308, allocations: 0 / 0.6563 GB, free: 12.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.1311, allocations: 79.83 kB / 0.6564 GB, free: 12.15 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 (3): * Single equations (assignments): 3 * 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.000219/0.1313, allocations: 167.1 kB / 0.6566 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.1315, allocations: 111.9 kB / 0.6567 GB, free: 11.87 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1315, allocations: 64 / 0.6567 GB, free: 11.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.1317, allocations: 63.91 kB / 0.6567 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.132, allocations: 40.47 kB / 0.6568 GB, free: 11.76 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.1325, allocations: 388.6 kB / 0.6571 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.1327, allocations: 0.7396 MB / 0.6579 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.725e-05/0.1327, allocations: 16.16 kB / 0.6579 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.1328, allocations: 15.44 kB / 0.6579 GB, free: 10.56 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1328, allocations: 0 / 0.6579 GB, free: 10.56 MB / 462.1 MB Notification: Performance of Templates: time 0.004917/0.1377, allocations: 2.141 MB / 0.66 GB, free: 8.449 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1) Environment - environmentSimulation: