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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7424/0.7424, allocations: 140.1 MB / 156 MB, free: 8.398 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 180.5 kB / 188.5 MB, free: 8.992 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.4 MB / 426.3 MB, free: 8.125 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009548/0.0009548, allocations: 88.31 kB / 0.4945 GB, free: 8.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001666/0.001667, allocations: 271.2 kB / 0.5728 GB, free: 66.13 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004504, allocations: 20 kB / 0.662 GB, free: 6.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3422, allocations: 79.29 MB / 0.7394 GB, free: 46.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1372/0.4795, allocations: 108.5 MB / 0.8454 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000397/0.48, allocations: 79.95 kB / 0.8455 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.009169/0.4892, allocations: 2.528 MB / 0.848 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.868e-06/0.4892, allocations: 0 / 0.848 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.4892, allocations: 0 / 0.848 GB, free: 15.02 MB / 0.5261 GB 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.0003775/0.4896, allocations: 355.4 kB / 0.8483 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.4897, allocations: 15.97 kB / 0.8483 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.4897, allocations: 4.844 kB / 0.8483 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.4899, allocations: 168.4 kB / 0.8485 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.4899, allocations: 384 / 0.8485 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.4899, allocations: 4.375 kB / 0.8485 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.49, allocations: 42.25 kB / 0.8485 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.49, allocations: 192 / 0.8485 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.49, allocations: 3.938 kB / 0.8485 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4901, allocations: 4 kB / 0.8485 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.652e-05/0.4901, allocations: 27.97 kB / 0.8486 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.4904, allocations: 157.6 kB / 0.8487 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.331e-05/0.4905, allocations: 42.58 kB / 0.8488 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.169e-05/0.4905, allocations: 12.84 kB / 0.8488 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003478/0.4909, allocations: 182.3 kB / 0.8489 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.4909, allocations: 34.56 kB / 0.849 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.4909, allocations: 0 / 0.849 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0001967/0.4911, allocations: 73.73 kB / 0.849 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.4912, allocations: 51.41 kB / 0.8491 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.852e-05/0.4912, allocations: 97.86 kB / 0.8492 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.4913, allocations: 25.7 kB / 0.8492 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.945e-05/0.4913, allocations: 80.14 kB / 0.8493 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.4913, allocations: 11.81 kB / 0.8493 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.4914, allocations: 8.125 kB / 0.8493 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.4915, allocations: 314.8 kB / 0.8496 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.4915, allocations: 7.938 kB / 0.8496 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.4915, allocations: 12.06 kB / 0.8496 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.777e-05/0.4916, allocations: 28.84 kB / 0.8497 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4916, allocations: 0 / 0.8497 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001002/0.4917, allocations: 61.53 kB / 0.8497 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.4917, allocations: 4 kB / 0.8497 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.4917, allocations: 7.875 kB / 0.8497 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4918, allocations: 4 kB / 0.8497 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.061e-05/0.4918, allocations: 8 kB / 0.8497 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.4919, allocations: 0 / 0.8497 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.4919, allocations: 4 kB / 0.8497 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.4919, allocations: 4 kB / 0.8497 GB, free: 12.94 MB / 0.5261 GB 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 8.536e-05/0.492, allocations: 117.8 kB / 0.8499 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.492, allocations: 0 / 0.8499 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.4922, allocations: 89.05 kB / 0.8499 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4922, allocations: 3.984 kB / 0.8499 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4922, allocations: 0 / 0.8499 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4922, allocations: 4 kB / 0.8499 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.4923, allocations: 157.6 kB / 0.8501 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4924, allocations: 0 / 0.8501 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.4924, allocations: 12 kB / 0.8501 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4924, allocations: 0 / 0.8501 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.4924, allocations: 11.88 kB / 0.8501 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.4924, allocations: 3.984 kB / 0.8501 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4925, allocations: 4 kB / 0.8501 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.4926, allocations: 89.31 kB / 0.8502 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.4926, allocations: 77.11 kB / 0.8503 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.4927, allocations: 3.938 kB / 0.8503 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.99e-05/0.4927, allocations: 8 kB / 0.8503 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.4927, allocations: 3.984 kB / 0.8503 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.4927, allocations: 4 kB / 0.8503 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.4928, allocations: 79.28 kB / 0.8504 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4928, allocations: 0 / 0.8504 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002592/0.493, allocations: 39.94 kB / 0.8504 GB, free: 12.15 MB / 0.5261 GB 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.00025/0.4933, allocations: 147.1 kB / 0.8506 GB, free: 12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.78e-05/0.4934, allocations: 23.98 kB / 0.8506 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4934, allocations: 0 / 0.8506 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.77e-05/0.4934, allocations: 23.92 kB / 0.8506 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.4936, allocations: 4 kB / 0.8506 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.4939, allocations: 136.6 kB / 0.8507 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.4942, allocations: 0.6809 MB / 0.8514 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.366e-05/0.4942, allocations: 7.938 kB / 0.8514 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.4943, allocations: 11.44 kB / 0.8514 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of SimCode: time 3.2e-07/0.4943, allocations: 4 kB / 0.8514 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of Templates: time 0.003662/0.4979, allocations: 1.212 MB / 0.8526 GB, free: 9.84 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.makefile (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)