Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001446/0.001446, allocations: 165.2 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.244/1.244, allocations: 170.6 MB / 178.7 MB, free: 15.65 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001645/0.001645, allocations: 103.5 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.498e-05/1.501e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06259/0.06262, allocations: 38.78 MB / 301 MB, free: 3.645 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2217/0.2844, allocations: 70.24 MB / 371.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001749/0.2846, allocations: 66.16 kB / 371.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02303/0.3076, allocations: 9.373 MB / 380.7 MB, free: 6.445 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3077, allocations: 4 kB / 380.7 MB, free: 6.441 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.061e-05/0.3077, allocations: 12 kB / 380.7 MB, free: 6.43 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001023/0.3087, allocations: 0.7133 MB / 381.4 MB, free: 5.699 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3088, allocations: 8.031 kB / 381.4 MB, free: 5.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.978e-05/0.3089, allocations: 65.09 kB / 381.5 MB, free: 5.629 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.3094, allocations: 382 kB / 381.8 MB, free: 5.258 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-05/0.3095, allocations: 54.47 kB / 381.9 MB, free: 5.199 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.3095, allocations: 19.84 kB / 381.9 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004142/0.3099, allocations: 259.4 kB / 382.2 MB, free: 5.023 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.3104, allocations: 388.9 kB / 382.5 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3105, allocations: 4 kB / 382.5 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.3105, allocations: 0 / 382.5 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.3105, allocations: 8 kB / 382.6 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.3123, allocations: 1.178 MB / 383.7 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.3127, allocations: 354.5 kB / 384.1 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.3129, allocations: 137.7 kB / 384.2 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.3129, allocations: 15.91 kB / 384.2 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.313, allocations: 37.94 kB / 384.3 MB, free: 3.281 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 3.787e-06/0.313, allocations: 4 kB / 384.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006436/0.3136, allocations: 351.7 kB / 384.6 MB, free: 3.008 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/0.3138, allocations: 448.4 kB / 385 MB, free: 2.469 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.3142, allocations: 342.4 kB / 385.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.3142, allocations: 29.7 kB / 385.4 MB, free: 2.164 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.3143, allocations: 231.9 kB / 385.6 MB, free: 2.008 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.29e-05/0.3144, allocations: 123.8 kB / 385.8 MB, free: 1.898 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/0.3145, allocations: 4 kB / 385.8 MB, free: 1.895 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3146, allocations: 353.2 kB / 386.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.3147, allocations: 104.2 kB / 386.2 MB, free: 1.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.315, allocations: 229.4 kB / 386.4 MB, free: 1.285 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.3152, allocations: 121.5 kB / 386.6 MB, free: 1.211 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3152, allocations: 0 / 386.6 MB, free: 1.211 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005963/0.3158, allocations: 380.8 kB / 386.9 MB, free: 0.918 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.3158, allocations: 33.66 kB / 387 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3158, allocations: 6.078 kB / 387 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.316, allocations: 58.62 kB / 387 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.3165, allocations: 91.31 kB / 387.1 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.3184, allocations: 2.632 MB / 389.7 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.3187, allocations: 55.7 kB / 389.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.3187, allocations: 19.17 kB / 389.8 MB, free: 13.96 MB / 282.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pump.h:VARIABLE(unit = "J/kg" protected = true ) "Medium's specific enthalpy" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.3189, allocations: 109.2 kB / 389.9 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.079e-05/0.319, allocations: 51.45 kB / 390 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.948e-05/0.3191, allocations: 52.88 kB / 390 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3191, allocations: 4 kB / 390 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3191, allocations: 3.984 kB / 390 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004904/0.3196, allocations: 0.6441 MB / 390.7 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.3207, allocations: 0.8697 MB / 391.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3207, allocations: 3.953 kB / 391.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.3212, allocations: 102.5 kB / 391.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.82e-06/0.3212, allocations: 4 kB / 391.7 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.3212, allocations: 3.125 kB / 391.7 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3213, allocations: 4.875 kB / 391.7 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3213, allocations: 4 kB / 391.7 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006183/0.3219, allocations: 0.5231 MB / 392.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.792e-05/0.322, allocations: 140.1 kB / 392.3 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.593e-05/0.3221, allocations: 0 / 392.3 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.3224, allocations: 27.97 kB / 392.4 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.3224, allocations: 27.7 kB / 392.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.3225, allocations: 4 kB / 392.4 MB, free: 11.65 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002533/0.3227, allocations: 282.2 kB / 392.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3227, allocations: 4 kB / 392.7 MB, free: 11.44 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004219/0.3232, allocations: 127.8 kB / 392.8 MB, free: 11.32 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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.0001606/0.3233, allocations: 103.2 kB / 392.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007156/0.324, allocations: 0.5512 MB / 393.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.3241, allocations: 8.062 kB / 393.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.3243, allocations: 139.6 kB / 393.6 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.3248, allocations: 98.28 kB / 393.7 MB, free: 10.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.3259, allocations: 0.6361 MB / 394.3 MB, free: 9.953 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.3263, allocations: 0.8274 MB / 395.1 MB, free: 9.094 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002266/0.3265, allocations: 55.44 kB / 395.2 MB, free: 9.039 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.3266, allocations: 39.42 kB / 395.2 MB, free: 9.004 MB / 282.7 MB Notification: Performance of SimCode: time 3.8e-07/0.3266, allocations: 0 / 395.2 MB, free: 9.004 MB / 282.7 MB Notification: Performance of Templates: time 0.01153/0.3382, allocations: 6.672 MB / 401.9 MB, free: 2.332 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)