Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001088, allocations: 196.9 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.276/1.276, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008673/0.0008673, allocations: 89.17 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1914/0.1914, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.962e-05/2.986e-05, allocations: 8 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 63.24 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.53/6.633, allocations: 3.172 GB / 3.683 GB, free: 38.72 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/6.633, allocations: 83.02 kB / 3.683 GB, free: 38.68 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 8.401/15.03, allocations: 3.114 GB / 6.797 GB, free: 67.49 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.382e-06/15.03, allocations: 0 / 6.797 GB, free: 67.49 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003175/15.04, allocations: 71.11 kB / 6.797 GB, free: 67.48 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.01381/15.05, allocations: 3.6 MB / 6.8 GB, free: 65.7 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/15.05, allocations: 15.78 kB / 6.8 GB, free: 65.7 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001512/15.05, allocations: 338 kB / 6.801 GB, free: 65.64 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/15.05, allocations: 320.6 kB / 6.801 GB, free: 65.49 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00597/15.06, allocations: 2.07 MB / 6.803 GB, free: 65.03 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002411/15.06, allocations: 214.8 kB / 6.803 GB, free: 64.96 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007936/15.06, allocations: 197.2 kB / 6.804 GB, free: 64.96 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006532/15.07, allocations: 3.293 MB / 6.807 GB, free: 64.48 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.114e-05/15.07, allocations: 3.281 kB / 6.807 GB, free: 64.48 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004777/15.07, allocations: 94.91 kB / 6.807 GB, free: 64.48 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002239/15.07, allocations: 201.3 kB / 6.807 GB, free: 64.47 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00487/15.07, allocations: 3.01 MB / 6.81 GB, free: 64.46 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01869/15.09, allocations: 12.49 MB / 6.822 GB, free: 59.32 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003586/15.09, allocations: 2.242 MB / 6.824 GB, free: 59.16 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/15.1, allocations: 1.162 MB / 6.825 GB, free: 59.14 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008201/15.1, allocations: 5.748 MB / 6.831 GB, free: 56.32 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/15.1, allocations: 55.3 kB / 6.831 GB, free: 56.28 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00114/15.11, allocations: 250.1 kB / 6.831 GB, free: 56.18 MB / 0.573 GB Notification: Performance of pre-optimization done (n=159): time 7.253e-06/15.11, allocations: 2.562 kB / 6.831 GB, free: 56.18 MB / 0.573 GB Notification: Performance of matching and sorting (n=260): time 0.4372/15.54, allocations: 47.36 MB / 6.878 GB, free: 53.45 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.09106/15.63, allocations: 35.76 MB / 6.913 GB, free: 25.71 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/15.64, allocations: 1.665 MB / 6.914 GB, free: 24 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005715/15.64, allocations: 73.7 kB / 6.914 GB, free: 23.93 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000533/15.64, allocations: 1.07 MB / 6.915 GB, free: 22.85 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006382/15.64, allocations: 0.8721 MB / 6.916 GB, free: 21.99 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/15.64, allocations: 56 kB / 6.916 GB, free: 21.93 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001156/15.64, allocations: 427.6 kB / 6.917 GB, free: 21.51 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002634/15.64, allocations: 2.083 MB / 6.919 GB, free: 19.43 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002821/15.64, allocations: 2.661 MB / 6.921 GB, free: 16.54 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003753/15.65, allocations: 2.498 MB / 6.924 GB, free: 14.03 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/15.65, allocations: 8 kB / 6.924 GB, free: 14.02 MB / 0.573 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01043/15.66, allocations: 7.101 MB / 6.931 GB, free: 6.961 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009951/15.66, allocations: 6.436 MB / 6.937 GB, free: 16 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.368/16.03, allocations: 19.16 kB / 6.937 GB, free: 62.31 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0401/16.07, allocations: 11.18 MB / 6.948 GB, free: 62.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/16.07, allocations: 357.4 kB / 6.948 GB, free: 62.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/16.08, allocations: 8.174 MB / 6.956 GB, free: 61.12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00439/16.09, allocations: 293.3 kB / 6.956 GB, free: 61.12 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004639/16.09, allocations: 160.4 kB / 6.957 GB, free: 61.12 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/16.09, allocations: 4.031 kB / 6.957 GB, free: 61.12 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01126/16.1, allocations: 6.654 MB / 6.963 GB, free: 61.01 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/16.1, allocations: 18.41 kB / 6.963 GB, free: 61.01 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02052/16.12, allocations: 7.391 MB / 6.97 GB, free: 60.95 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001985/16.12, allocations: 401.7 kB / 6.971 GB, free: 60.95 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/16.13, allocations: 7.677 MB / 6.978 GB, free: 59.88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004552/16.14, allocations: 284.4 kB / 6.979 GB, free: 59.88 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004729/16.14, allocations: 153.1 kB / 6.979 GB, free: 59.88 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 163 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 79,18 78} Notification: Performance of prepare postOptimizeDAE: time 0.0009916/16.14, allocations: 253.3 kB / 6.979 GB, free: 59.77 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005401/16.14, allocations: 247.6 kB / 6.979 GB, free: 59.77 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/16.15, allocations: 7.757 MB / 6.987 GB, free: 59.59 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-05/16.15, allocations: 36.25 kB / 6.987 GB, free: 59.59 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/16.15, allocations: 4.047 kB / 6.987 GB, free: 59.59 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01118/16.17, allocations: 6.782 MB / 6.993 GB, free: 59.13 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02322/16.19, allocations: 13.66 MB / 7.007 GB, free: 58.03 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/16.19, allocations: 3.469 kB / 7.007 GB, free: 58.03 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008891/16.19, allocations: 201.6 kB / 7.007 GB, free: 58.03 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03817/16.23, allocations: 10.9 MB / 7.018 GB, free: 57.89 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008012/16.23, allocations: 85.33 kB / 7.018 GB, free: 57.89 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01244/16.24, allocations: 8.041 MB / 7.025 GB, free: 56.77 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0988/16.34, allocations: 38.16 MB / 7.063 GB, free: 46.87 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/16.36, allocations: 10.08 MB / 7.073 GB, free: 42.79 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002563/16.36, allocations: 0.8719 MB / 7.073 GB, free: 42.34 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000586/16.36, allocations: 50.83 kB / 7.073 GB, free: 42.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003065/16.36, allocations: 270.3 kB / 7.074 GB, free: 42.26 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004389/16.36, allocations: 208.2 kB / 7.074 GB, free: 42.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002926/16.36, allocations: 116.3 kB / 7.074 GB, free: 42.21 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001714/16.36, allocations: 1.281 MB / 7.075 GB, free: 41.69 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.8e-07/16.36, allocations: 0 / 7.075 GB, free: 41.69 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0111/16.38, allocations: 3.579 MB / 7.079 GB, free: 41.43 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {15 77,19 107} Notification: Performance of Backend phase and start with SimCode phase: time 0.02402/16.4, allocations: 13.31 MB / 7.092 GB, free: 35.42 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02012/16.42, allocations: 8.872 MB / 7.1 GB, free: 27.86 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/16.42, allocations: 0 / 7.1 GB, free: 27.86 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007519/16.43, allocations: 3.187 MB / 7.104 GB, free: 25.16 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004494/16.43, allocations: 0.9686 MB / 7.105 GB, free: 24.48 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/16.45, allocations: 7.791 MB / 7.112 GB, free: 17.91 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001439/16.45, allocations: 2.113 MB / 7.114 GB, free: 16.27 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.004211/16.45, allocations: 1.194 MB / 7.115 GB, free: 15.54 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/16.46, allocations: 1.064 MB / 7.116 GB, free: 14.58 MB / 0.573 GB Notification: Performance of SimCode: time 8.51e-07/16.46, allocations: 3.938 kB / 7.116 GB, free: 14.58 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.008/17.46, allocations: 208.2 MB / 7.32 GB, free: 18.81 MB / 0.5887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/17.46, allocations: 202.7 kB / 7.32 GB, free: 18.59 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/31.13, allocations: 4 kB / 7.32 GB, free: 18.58 MB / 0.5887 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState_fmu --startTime=0 --stopTime=6000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState_res.mat does not exist to compare? outputFormat=mat