Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.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_FixedInitial,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001243/0.001243, allocations: 202.2 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.2 MB / 245 MB, free: 5.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001169/0.001169, allocations: 103.8 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.459/0.459, allocations: 45.23 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002644/0.0002646, allocations: 8 kB / 468.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4203, allocations: 63.25 MB / 0.5193 GB, free: 37.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.318/8.738, allocations: 3.172 GB / 3.691 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003761/8.739, allocations: 90.45 kB / 3.691 GB, free: 492 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 12.61/21.35, allocations: 3.117 GB / 6.808 GB, free: 59.03 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.386e-06/21.35, allocations: 0 / 6.808 GB, free: 59.03 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002314/21.35, allocations: 68.67 kB / 6.808 GB, free: 59.02 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.01887/21.37, allocations: 3.915 MB / 6.812 GB, free: 57.05 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/21.37, allocations: 13.25 kB / 6.812 GB, free: 57.05 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001999/21.37, allocations: 348.1 kB / 6.812 GB, free: 57 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/21.37, allocations: 315.7 kB / 6.812 GB, free: 56.85 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00622/21.38, allocations: 2.113 MB / 6.814 GB, free: 56.33 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/21.38, allocations: 218.7 kB / 6.815 GB, free: 56.26 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004198/21.38, allocations: 196.6 kB / 6.815 GB, free: 56.26 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005666/21.39, allocations: 3.358 MB / 6.818 GB, free: 55.76 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.343e-05/21.39, allocations: 12.91 kB / 6.818 GB, free: 55.75 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002774/21.39, allocations: 85.62 kB / 6.818 GB, free: 55.75 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002441/21.39, allocations: 209.8 kB / 6.818 GB, free: 55.74 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005087/21.39, allocations: 3.108 MB / 6.821 GB, free: 55.7 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02044/21.41, allocations: 12.46 MB / 6.834 GB, free: 50.04 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003922/21.42, allocations: 2.256 MB / 6.836 GB, free: 49.11 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/21.43, allocations: 5.878 MB / 6.842 GB, free: 45.14 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.708e-05/21.43, allocations: 59.44 kB / 6.842 GB, free: 45.09 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001371/21.43, allocations: 196.2 kB / 6.842 GB, free: 44.96 MB / 0.573 GB Notification: Performance of pre-optimization done (n=174): time 5.009e-06/21.43, allocations: 3.562 kB / 6.842 GB, free: 44.96 MB / 0.573 GB Notification: Performance of matching and sorting (n=200): time 0.03797/21.47, allocations: 10.72 MB / 6.852 GB, free: 40.1 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/21.47, allocations: 135.8 kB / 6.852 GB, free: 39.94 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004868/21.47, allocations: 1.675 MB / 6.854 GB, free: 38.49 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.00081/21.47, allocations: 61.7 kB / 6.854 GB, free: 38.42 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/21.47, allocations: 1.037 MB / 6.855 GB, free: 37.48 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001361/21.47, allocations: 0.6843 MB / 6.856 GB, free: 36.86 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000627/21.47, allocations: 44 kB / 6.856 GB, free: 36.82 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002879/21.48, allocations: 394.4 kB / 6.856 GB, free: 36.45 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002663/21.48, allocations: 1.236 MB / 6.857 GB, free: 35.43 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002926/21.48, allocations: 1.737 MB / 6.859 GB, free: 33.73 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/21.48, allocations: 1.486 MB / 6.861 GB, free: 32.45 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-05/21.48, allocations: 4 kB / 6.861 GB, free: 32.44 MB / 0.573 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01004/21.49, allocations: 3.975 MB / 6.864 GB, free: 29.02 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001821/21.5, allocations: 5.804 MB / 6.87 GB, free: 22.82 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.343e-05/21.5, allocations: 16 kB / 6.87 GB, free: 22.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004764/21.5, allocations: 1.21 MB / 6.871 GB, free: 21.91 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/21.5, allocations: 464.9 kB / 6.872 GB, free: 21.52 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008786/21.51, allocations: 10.63 MB / 6.882 GB, free: 10.83 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003455/21.51, allocations: 198.5 kB / 6.882 GB, free: 10.69 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006226/21.52, allocations: 111.5 kB / 6.882 GB, free: 10.59 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/21.52, allocations: 4 kB / 6.882 GB, free: 10.59 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008157/21.52, allocations: 3.573 MB / 6.886 GB, free: 7.535 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.177e-05/21.52, allocations: 19.7 kB / 6.886 GB, free: 7.52 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002802/21.53, allocations: 0.8832 MB / 6.887 GB, free: 6.848 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00239/21.53, allocations: 0.4887 MB / 6.887 GB, free: 6.438 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.511/22.04, allocations: 10.3 MB / 6.897 GB, free: 50.71 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003515/22.04, allocations: 198.4 kB / 6.898 GB, free: 50.71 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004327/22.04, allocations: 105.6 kB / 6.898 GB, free: 50.71 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 240 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {5 15,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001959/22.05, allocations: 0.7109 MB / 6.898 GB, free: 50.52 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006918/22.05, allocations: 229.4 kB / 6.899 GB, free: 50.52 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008524/22.06, allocations: 4.068 MB / 6.903 GB, free: 50.36 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/22.06, allocations: 30.98 kB / 6.903 GB, free: 50.36 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/22.06, allocations: 1.188 kB / 6.903 GB, free: 50.36 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006052/22.06, allocations: 3.464 MB / 6.906 GB, free: 49.91 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/22.07, allocations: 6.452 MB / 6.912 GB, free: 49.46 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/22.07, allocations: 4.172 kB / 6.912 GB, free: 49.46 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/22.08, allocations: 315 kB / 6.913 GB, free: 49.46 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00506/22.08, allocations: 1.268 MB / 6.914 GB, free: 49.39 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004222/22.08, allocations: 82.88 kB / 6.914 GB, free: 49.39 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009159/22.09, allocations: 10.58 MB / 6.924 GB, free: 41.54 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/22.09, allocations: 0 / 6.924 GB, free: 41.54 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/22.1, allocations: 5.281 MB / 6.929 GB, free: 41.27 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002775/22.1, allocations: 0.6447 MB / 6.93 GB, free: 41.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008645/22.11, allocations: 51.86 kB / 6.93 GB, free: 41.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002623/22.11, allocations: 152.7 kB / 6.93 GB, free: 41.09 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004572/22.11, allocations: 177.6 kB / 6.93 GB, free: 41.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002762/22.11, allocations: 83.56 kB / 6.93 GB, free: 41.09 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002961/22.11, allocations: 1.263 MB / 6.932 GB, free: 40.95 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.5e-07/22.11, allocations: 0 / 6.932 GB, free: 40.95 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01044/22.12, allocations: 2.001 MB / 6.934 GB, free: 40.94 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.medium.T,tank.level,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,6 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.02002/22.14, allocations: 7.097 MB / 6.941 GB, free: 39.98 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.013/22.16, allocations: 6.138 MB / 6.947 GB, free: 38.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.601e-05/22.16, allocations: 6.781 kB / 6.947 GB, free: 38.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004859/22.16, allocations: 2.271 MB / 6.949 GB, free: 38.21 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007479/22.17, allocations: 0.9532 MB / 6.95 GB, free: 38.19 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02926/22.2, allocations: 18.43 MB / 6.968 GB, free: 24.91 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00284/22.2, allocations: 1.938 MB / 6.97 GB, free: 24.15 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.006017/22.21, allocations: 1.223 MB / 6.971 GB, free: 24.07 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002423/22.21, allocations: 1.016 MB / 6.972 GB, free: 24.07 MB / 0.573 GB Notification: Performance of SimCode: time 1.683e-06/22.21, allocations: 3.875 kB / 6.972 GB, free: 24.07 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.169/22.38, allocations: 86.85 MB / 7.057 GB, free: 15.96 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/22.38, allocations: 238.4 kB / 7.057 GB, free: 15.72 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.694/28.07, allocations: 1.781 kB / 7.057 GB, free: 15.72 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial_fmu --startTime=0 --stopTime=6000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat does not exist to compare? outputFormat=mat