Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.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.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007824/0.0007824, allocations: 103.3 kB / 15.06 MB, free: 1.098 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.0008422/0.0008423, allocations: 173.3 kB / 15.95 MB, free: 212 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.162/1.162, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001643/0.001643, allocations: 262.8 kB / 291.2 MB, free: 1.918 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.7451/0.7451, allocations: 144.6 MB / 487 MB, free: 7.156 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003601, allocations: 12.11 kB / 0.5683 GB, free: 38.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1229, allocations: 83.08 MB / 0.6494 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.001111/0.124, allocations: 0.9656 MB / 0.6504 GB, free: 2.598 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008869/0.1249, allocations: 0.6348 MB / 0.651 GB, free: 1.965 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.991e-05/0.125, allocations: 0 / 0.651 GB, free: 1.965 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.259e-05/0.125, allocations: 3.938 kB / 0.651 GB, free: 1.961 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.785e-05/0.125, allocations: 11.97 kB / 0.651 GB, free: 1.949 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1253, allocations: 100.5 kB / 0.6511 GB, free: 1.852 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.865e-05/0.1254, allocations: 9.234 kB / 0.6511 GB, free: 1.844 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.468e-05/0.1254, allocations: 7.938 kB / 0.6511 GB, free: 1.836 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.496e-05/0.1255, allocations: 15.97 kB / 0.6511 GB, free: 1.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.336e-05/0.1255, allocations: 12.59 kB / 0.6511 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.296e-06/0.1255, allocations: 0.5312 kB / 0.6511 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.1258, allocations: 152.4 kB / 0.6513 GB, free: 1.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.306e-06/0.1258, allocations: 0.5312 kB / 0.6513 GB, free: 1.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.1258, allocations: 33.64 kB / 0.6513 GB, free: 1.621 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.126, allocations: 68.5 kB / 0.6514 GB, free: 1.555 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.126, allocations: 1.469 kB / 0.6514 GB, free: 1.555 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.126, allocations: 0 / 0.6514 GB, free: 1.555 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.126, allocations: 0 / 0.6514 GB, free: 1.555 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.0002902/0.1263, allocations: 344.1 kB / 0.6517 GB, free: 1.172 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.1263, allocations: 8.031 kB / 0.6517 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.458e-05/0.1263, allocations: 1.5 kB / 0.6517 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.1265, allocations: 167 kB / 0.6519 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1265, allocations: 3.953 kB / 0.6519 GB, free: 0.957 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.1265, allocations: 4.656 kB / 0.6519 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.622e-05/0.1266, allocations: 46.42 kB / 0.6519 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.1266, allocations: 0 / 0.6519 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.1266, allocations: 0.5312 kB / 0.6519 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.1266, allocations: 0 / 0.6519 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.744e-05/0.1267, allocations: 25.02 kB / 0.652 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.1268, allocations: 157.7 kB / 0.6521 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.568e-05/0.1269, allocations: 39.38 kB / 0.6521 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000318/0.1272, allocations: 187.5 kB / 0.6523 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.1273, allocations: 35.56 kB / 0.6524 GB, free: 376 kB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1273, allocations: 4 kB / 0.6524 GB, free: 372 kB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001404/0.1274, allocations: 58.44 kB / 0.6524 GB, free: 308 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.1275, allocations: 61.83 kB / 0.6525 GB, free: 236 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.673e-05/0.1275, allocations: 93.86 kB / 0.6526 GB, free: 132 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.1275, allocations: 25.7 kB / 0.6526 GB, free: 100 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.573e-05/0.1276, allocations: 84.14 kB / 0.6527 GB, free: 12 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.1276, allocations: 23.64 kB / 0.6527 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.1276, allocations: 0.7812 kB / 0.6527 GB, free: 15.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.516e-05/0.1277, allocations: 320.6 kB / 0.653 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.1277, allocations: 4 kB / 0.653 GB, free: 15.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.472e-05/0.1278, allocations: 8 kB / 0.653 GB, free: 15.66 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.305e-05/0.1278, allocations: 8 kB / 0.653 GB, free: 15.65 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1278, allocations: 0 / 0.653 GB, free: 15.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.048e-05/0.1279, allocations: 58.69 kB / 0.6531 GB, free: 15.59 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1279, allocations: 9.359 kB / 0.6531 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1279, allocations: 64 / 0.6531 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.1279, allocations: 7.938 kB / 0.6531 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-05/0.128, allocations: 15.92 kB / 0.6531 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.128, allocations: 0.9062 kB / 0.6531 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.729e-05/0.128, allocations: 0 / 0.6531 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.128, allocations: 6.812 kB / 0.6531 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 6.197e-05/0.1281, allocations: 109.8 kB / 0.6532 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.1281, allocations: 7.984 kB / 0.6532 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.1283, allocations: 82.81 kB / 0.6533 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1283, allocations: 0 / 0.6533 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1283, allocations: 0 / 0.6533 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1283, allocations: 0 / 0.6533 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.1284, allocations: 169.6 kB / 0.6535 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1284, allocations: 1.719 kB / 0.6535 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.1285, allocations: 11.94 kB / 0.6535 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1285, allocations: 0 / 0.6535 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1285, allocations: 4 kB / 0.6535 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.1285, allocations: 3.953 kB / 0.6535 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1285, allocations: 1.094 kB / 0.6535 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.452e-05/0.1286, allocations: 89.25 kB / 0.6536 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.1286, allocations: 85 kB / 0.6537 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.1286, allocations: 0 / 0.6537 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.593e-05/0.1287, allocations: 0 / 0.6537 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.1287, allocations: 11.89 kB / 0.6537 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.1287, allocations: 4 kB / 0.6537 GB, free: 14.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.766e-05/0.1287, allocations: 79.28 kB / 0.6537 GB, free: 14.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.202e-06/0.1287, allocations: 3.938 kB / 0.6537 GB, free: 14.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.129, allocations: 35.92 kB / 0.6538 GB, free: 14.77 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.0001767/0.1292, allocations: 131.3 kB / 0.6539 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 8.474e-05/0.1292, allocations: 24.12 kB / 0.6539 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1293, allocations: 4 kB / 0.6539 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.657e-05/0.1293, allocations: 19.92 kB / 0.654 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.524e-05/0.1294, allocations: 5.875 kB / 0.654 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002225/0.1296, allocations: 140.5 kB / 0.6541 GB, free: 14.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.1298, allocations: 0.6809 MB / 0.6548 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.582e-05/0.1299, allocations: 8 kB / 0.6548 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.889e-05/0.1299, allocations: 15.38 kB / 0.6548 GB, free: 13.68 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1299, allocations: 0 / 0.6548 GB, free: 13.68 MB / 462.1 MB Notification: Performance of Templates: time 0.00304/0.133, allocations: 1.275 MB / 0.656 GB, free: 12.41 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.sim & ./BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1) Environment - environmentSimulation: