Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001174, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.591/1.591, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008904/0.0008905, allocations: 89.98 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.019e-05/4.022e-05, allocations: 4 kB / 350.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1468, allocations: 51.49 MB / 402.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3909/0.5378, allocations: 81.08 MB / 483.2 MB, free: 8.402 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/0.538, allocations: 70.53 kB / 483.3 MB, free: 8.367 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02112/0.5592, allocations: 9.462 MB / 492.7 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5592, allocations: 0 / 492.7 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.929e-05/0.5593, allocations: 12 kB / 492.7 MB, free: 0.5273 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00126/0.5605, allocations: 0.6903 MB / 493.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.5606, allocations: 12.03 kB / 493.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/0.5608, allocations: 75.22 kB / 493.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.561, allocations: 59.34 kB / 493.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007406/0.5617, allocations: 365.2 kB / 493.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.5619, allocations: 66.08 kB / 494 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-05/0.562, allocations: 36 kB / 494 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007769/0.5627, allocations: 446.9 kB / 494.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.5628, allocations: 0 / 494.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/0.5628, allocations: 16 kB / 494.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.5628, allocations: 8 kB / 494.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005223/0.5634, allocations: 262.2 kB / 494.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00255/0.5659, allocations: 1.273 MB / 496 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.5671, allocations: 437.9 kB / 496.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.5674, allocations: 129.4 kB / 496.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.5674, allocations: 4.281 kB / 496.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.5675, allocations: 44.23 kB / 496.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 2.595e-06/0.5675, allocations: 0 / 496.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007892/0.5683, allocations: 345.4 kB / 497 MB, free: 12.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002461/0.5685, allocations: 449 kB / 497.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000569/0.5691, allocations: 395.2 kB / 497.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.5692, allocations: 29.7 kB / 497.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.5694, allocations: 240.3 kB / 498 MB, free: 10.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.5695, allocations: 118.3 kB / 498.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.5695, allocations: 8 kB / 498.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.5697, allocations: 354.8 kB / 498.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.5699, allocations: 103.1 kB / 498.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.5702, allocations: 234.9 kB / 498.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.5705, allocations: 157.6 kB / 499 MB, free: 9.797 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.5705, allocations: 3.953 kB / 499 MB, free: 9.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008149/0.5713, allocations: 422.2 kB / 499.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/0.5714, allocations: 31.11 kB / 499.4 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5714, allocations: 32 / 499.4 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003638/0.5718, allocations: 81.61 kB / 499.5 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.5721, allocations: 75.83 kB / 499.6 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/0.5752, allocations: 2.756 MB / 0.4906 GB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.5756, allocations: 47.61 kB / 0.4906 GB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.5756, allocations: 12 kB / 0.4906 GB, free: 6.09 MB / 362.7 MB 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 (37): * Single equations (assignments): 34 * 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 {1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.5758, allocations: 133 kB / 0.4908 GB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.5759, allocations: 51.44 kB / 0.4908 GB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.576, allocations: 56.77 kB / 0.4909 GB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.576, allocations: 4 kB / 0.4909 GB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.576, allocations: 0 / 0.4909 GB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006198/0.5766, allocations: 0.6335 MB / 0.4915 GB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.5781, allocations: 0.8956 MB / 0.4924 GB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5781, allocations: 1.125 kB / 0.4924 GB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.5784, allocations: 75.89 kB / 0.4924 GB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.5785, allocations: 0 / 0.4924 GB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.5785, allocations: 11.98 kB / 0.4924 GB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5785, allocations: 0 / 0.4924 GB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5785, allocations: 0 / 0.4924 GB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007255/0.5793, allocations: 0.4949 MB / 0.4929 GB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/0.5795, allocations: 164.4 kB / 0.4931 GB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-05/0.5796, allocations: 12 kB / 0.4931 GB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.5798, allocations: 15.98 kB / 0.4931 GB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.5799, allocations: 19.97 kB / 0.4931 GB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.5799, allocations: 8 kB / 0.4931 GB, free: 3.312 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003853/0.5803, allocations: 310 kB / 0.4934 GB, free: 3.012 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5803, allocations: 4.062 kB / 0.4934 GB, free: 3.008 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005054/0.5808, allocations: 147.8 kB / 0.4936 GB, free: 2.863 MB / 362.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 (33): * Single equations (assignments): 33 * 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.00116/0.582, allocations: 1.056 MB / 0.4946 GB, free: 1.781 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.5831, allocations: 0.5547 MB / 0.4952 GB, free: 1.191 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.5832, allocations: 0 / 0.4952 GB, free: 1.191 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.5834, allocations: 115.9 kB / 0.4953 GB, free: 1.078 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005774/0.5839, allocations: 121 kB / 0.4954 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.586, allocations: 0.718 MB / 0.4961 GB, free: 208 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007289/0.5867, allocations: 0.8315 MB / 0.4969 GB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003294/0.587, allocations: 56.23 kB / 0.4969 GB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/0.5874, allocations: 163.4 kB / 0.4971 GB, free: 15.13 MB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/0.5874, allocations: 0 / 0.4971 GB, free: 15.13 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03656/0.624, allocations: 11.55 MB / 0.5084 GB, free: 3.953 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.6243, allocations: 188.3 kB / 0.5086 GB, free: 3.727 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.542/3.166, allocations: 3.938 kB / 0.5086 GB, free: 3.723 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat