Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.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.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008437/0.0008437, 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.0009159/0.0009159, 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.152/1.152, allocations: 223.2 MB / 239.9 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001592/0.001592, allocations: 263.1 kB / 291.2 MB, free: 1.855 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.7289/0.7289, allocations: 144.6 MB / 487 MB, free: 7.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.0004088, allocations: 15.77 kB / 0.5683 GB, free: 38.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1256, allocations: 83.09 MB / 0.6494 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.001045/0.1267, allocations: 0.9656 MB / 0.6504 GB, free: 2.652 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009547/0.1276, allocations: 0.7624 MB / 0.6511 GB, free: 1.891 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.981e-05/0.1277, allocations: 0 / 0.6511 GB, free: 1.891 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.1277, allocations: 7.875 kB / 0.6511 GB, free: 1.883 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.79e-05/0.1277, allocations: 11.98 kB / 0.6511 GB, free: 1.871 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.128, allocations: 101 kB / 0.6512 GB, free: 1.773 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.357e-05/0.1281, allocations: 19.97 kB / 0.6512 GB, free: 1.754 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.1281, allocations: 4.703 kB / 0.6512 GB, free: 1.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.22e-05/0.1282, allocations: 12.97 kB / 0.6513 GB, free: 1.738 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.544e-05/0.1283, allocations: 15.98 kB / 0.6513 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.1283, allocations: 0 / 0.6513 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002362/0.1285, allocations: 153.4 kB / 0.6514 GB, free: 1.574 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.1285, allocations: 7.984 kB / 0.6514 GB, free: 1.566 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.1286, allocations: 33.58 kB / 0.6515 GB, free: 1.527 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.1287, allocations: 88.05 kB / 0.6515 GB, free: 1.441 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.1287, allocations: 0.7188 kB / 0.6515 GB, free: 1.441 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1287, allocations: 4 kB / 0.6515 GB, free: 1.438 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.1288, allocations: 1.156 kB / 0.6515 GB, free: 1.438 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003342/0.1291, allocations: 347.9 kB / 0.6519 GB, free: 1.051 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.1291, allocations: 8.031 kB / 0.6519 GB, free: 1.043 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.1292, allocations: 4.594 kB / 0.6519 GB, free: 1.039 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1293, allocations: 159.6 kB / 0.652 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1293, allocations: 4.547 kB / 0.652 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.1293, allocations: 4 kB / 0.652 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.414e-05/0.1294, allocations: 43.17 kB / 0.6521 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.1294, allocations: 4 kB / 0.6521 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1294, allocations: 0 / 0.6521 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.1294, allocations: 0 / 0.6521 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.083e-05/0.1295, allocations: 28.58 kB / 0.6521 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.1297, allocations: 154.4 kB / 0.6523 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.336e-05/0.1297, allocations: 39.5 kB / 0.6523 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.1299, allocations: 93.89 kB / 0.6524 GB, free: 412 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.1299, allocations: 35.25 kB / 0.6524 GB, free: 368 kB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.113e-06/0.1299, allocations: 0 / 0.6524 GB, free: 368 kB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001523/0.1301, allocations: 62.5 kB / 0.6525 GB, free: 300 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.1301, allocations: 56.16 kB / 0.6525 GB, free: 232 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.188e-05/0.1302, allocations: 91.92 kB / 0.6526 GB, free: 132 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1302, allocations: 29.7 kB / 0.6527 GB, free: 96 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.1302, allocations: 88.12 kB / 0.6527 GB, free: 4 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.1303, allocations: 15.66 kB / 0.6528 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.1303, allocations: 0 / 0.6528 GB, free: 15.99 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1304, allocations: 320.1 kB / 0.6531 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.1304, allocations: 11.92 kB / 0.6531 GB, free: 15.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.638e-05/0.1304, allocations: 8 kB / 0.6531 GB, free: 15.65 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.224e-05/0.1305, allocations: 5.312 kB / 0.6531 GB, free: 15.64 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1305, allocations: 4 kB / 0.6531 GB, free: 15.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.363e-05/0.1305, allocations: 58 kB / 0.6531 GB, free: 15.58 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1306, allocations: 8.578 kB / 0.6532 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1306, allocations: 5.75 kB / 0.6532 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1306, allocations: 7.984 kB / 0.6532 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.947e-05/0.1307, allocations: 8 kB / 0.6532 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1307, allocations: 0 / 0.6532 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.1307, allocations: 0 / 0.6532 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1307, allocations: 4.609 kB / 0.6532 GB, free: 15.55 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 (5): * Single equations (assignments): 5 * 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 7.216e-05/0.1308, allocations: 117.1 kB / 0.6533 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/0.1308, allocations: 3.938 kB / 0.6533 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.131, allocations: 93.02 kB / 0.6534 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.131, allocations: 1.25 kB / 0.6534 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.131, allocations: 0 / 0.6534 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.131, allocations: 0 / 0.6534 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.1311, allocations: 166.2 kB / 0.6535 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1311, allocations: 0 / 0.6535 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.496e-05/0.1312, allocations: 13.58 kB / 0.6536 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1312, allocations: 4 kB / 0.6536 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.1312, allocations: 4 kB / 0.6536 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1312, allocations: 3.953 kB / 0.6536 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1312, allocations: 1.094 kB / 0.6536 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.1313, allocations: 89.19 kB / 0.6537 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.1314, allocations: 81.02 kB / 0.6537 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1314, allocations: 0 / 0.6537 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.356e-05/0.1314, allocations: 11.98 kB / 0.6537 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.1314, allocations: 3.953 kB / 0.6537 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1314, allocations: 4 kB / 0.6538 GB, free: 14.87 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.549e-05/0.1315, allocations: 75.28 kB / 0.6538 GB, free: 14.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1315, allocations: 0 / 0.6538 GB, free: 14.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.1317, allocations: 55.92 kB / 0.6539 GB, free: 14.74 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.0001877/0.1319, allocations: 155.2 kB / 0.654 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 7.646e-05/0.132, allocations: 28.11 kB / 0.6541 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.132, allocations: 0 / 0.6541 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.374e-05/0.132, allocations: 23.92 kB / 0.6541 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.185e-05/0.1321, allocations: 4 kB / 0.6541 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002056/0.1323, allocations: 136.6 kB / 0.6542 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.1325, allocations: 0.6848 MB / 0.6549 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.56e-05/0.1326, allocations: 8 kB / 0.6549 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.1326, allocations: 15.42 kB / 0.6549 GB, free: 13.63 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1326, allocations: 0 / 0.6549 GB, free: 13.63 MB / 462.1 MB Notification: Performance of Templates: time 0.002884/0.1355, allocations: 1.154 MB / 0.656 GB, free: 12.48 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.sim & ./BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1) Environment - environmentSimulation: