Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6278/0.6278, allocations: 117.9 MB / 133.9 MB, free: 4.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 181.8 kB / 161.7 MB, free: 2.738 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.4 MB / 394.8 MB, free: 20.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008444/0.0008439, allocations: 104.4 kB / 470.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006522/0.0006523, allocations: 12 kB / 0.5423 GB, free: 6.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3496, allocations: 74.54 MB / 0.6151 GB, free: 54.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6121/0.9617, allocations: 320.6 MB / 0.9282 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.962, allocations: 97.88 kB / 0.9283 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02845/0.9905, allocations: 13.49 MB / 0.9415 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9905, allocations: 0 / 0.9415 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.9905, allocations: 4 kB / 0.9415 GB, free: 15.83 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007637/0.9913, allocations: 473.8 kB / 0.9419 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.9913, allocations: 8.031 kB / 0.9419 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.9914, allocations: 16.75 kB / 0.9419 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.9915, allocations: 189.1 kB / 0.9421 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.9916, allocations: 12.06 kB / 0.9421 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.9916, allocations: 11.94 kB / 0.9421 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.9919, allocations: 120 kB / 0.9423 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.9919, allocations: 4.172 kB / 0.9423 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.9919, allocations: 11.75 kB / 0.9423 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.992, allocations: 4 kB / 0.9423 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003838/0.9924, allocations: 163.6 kB / 0.9424 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009037/0.9933, allocations: 475.1 kB / 0.9429 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.9935, allocations: 130.1 kB / 0.943 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.9937, allocations: 82.62 kB / 0.9431 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/0.995, allocations: 0.9602 MB / 0.944 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.995, allocations: 38.12 kB / 0.9441 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.974e-06/0.995, allocations: 0 / 0.9441 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0006174/0.9956, allocations: 245.3 kB / 0.9443 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.9957, allocations: 55.34 kB / 0.9444 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.9958, allocations: 161.3 kB / 0.9445 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.9959, allocations: 29.7 kB / 0.9445 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.9959, allocations: 111.5 kB / 0.9446 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.996, allocations: 34.95 kB / 0.9447 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.996, allocations: 7.875 kB / 0.9447 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.9961, allocations: 322.8 kB / 0.945 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.9963, allocations: 86.69 kB / 0.9451 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.9965, allocations: 122.4 kB / 0.9452 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.9969, allocations: 197.8 kB / 0.9454 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9969, allocations: 4 kB / 0.9454 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005236/0.9975, allocations: 270.8 kB / 0.9456 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.9975, allocations: 5.406 kB / 0.9456 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.9975, allocations: 0 / 0.9456 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.9975, allocations: 4 kB / 0.9457 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.9978, allocations: 55.95 kB / 0.9457 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.9978, allocations: 7.938 kB / 0.9457 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.998, allocations: 39.8 kB / 0.9458 GB, free: 11.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.998, allocations: 4 kB / 0.9458 GB, free: 11.53 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 9.205e-05/0.9981, allocations: 133.4 kB / 0.9459 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.9981, allocations: 11.81 kB / 0.9459 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004696/0.9986, allocations: 196.4 kB / 0.9461 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.9986, allocations: 11.92 kB / 0.9461 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.9986, allocations: 7.938 kB / 0.9461 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.9987, allocations: 0 / 0.9461 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.9989, allocations: 220 kB / 0.9463 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9989, allocations: 0 / 0.9463 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.999, allocations: 35.97 kB / 0.9463 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.9991, allocations: 0 / 0.9463 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.9991, allocations: 3.688 kB / 0.9463 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.9991, allocations: 0 / 0.9463 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.9991, allocations: 11.94 kB / 0.9464 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.9995, allocations: 269.6 kB / 0.9466 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.9996, allocations: 88.92 kB / 0.9467 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.9996, allocations: 7.562 kB / 0.9467 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.9998, allocations: 19.97 kB / 0.9467 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.9998, allocations: 19.73 kB / 0.9467 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.9998, allocations: 4 kB / 0.9467 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.229e-05/0.9999, allocations: 116 kB / 0.9469 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9999, allocations: 0 / 0.9469 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003276/1, allocations: 63.12 kB / 0.9469 GB, free: 10.36 MB / 0.6042 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 (12): * Single equations (assignments): 12 * 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.0003059/1.001, allocations: 176.6 kB / 0.9471 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004686/1.001, allocations: 195.9 kB / 0.9473 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.001, allocations: 4 kB / 0.9473 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/1.001, allocations: 73.95 kB / 0.9473 GB, free: 9.957 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/1.002, allocations: 16.61 kB / 0.9474 GB, free: 9.945 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/1.002, allocations: 350 kB / 0.9477 GB, free: 9.598 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/1.002, allocations: 0.7009 MB / 0.9484 GB, free: 8.871 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001128/1.002, allocations: 25.39 kB / 0.9484 GB, free: 8.848 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/1.003, allocations: 19.38 kB / 0.9484 GB, free: 8.828 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/1.003, allocations: 0 / 0.9484 GB, free: 8.828 MB / 0.6042 GB Notification: Performance of Templates: time 0.005822/1.008, allocations: 2.76 MB / 0.9511 GB, free: 6.105 MB / 0.6042 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)