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.0009886/0.0009887, allocations: 197 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.286/1.286, 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.0009012/0.000901, allocations: 87.66 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1952/0.1952, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.438e-05/3.444e-05, allocations: 8 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1137, allocations: 63.24 MB / 0.5115 GB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.727/6.841, allocations: 3.172 GB / 3.683 GB, free: 38.62 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/6.841, allocations: 75.28 kB / 3.683 GB, free: 38.59 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 8.192/15.03, allocations: 3.115 GB / 6.798 GB, free: 67.37 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.382e-06/15.03, allocations: 0 / 6.798 GB, free: 67.37 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001675/15.03, allocations: 68.39 kB / 6.798 GB, free: 67.36 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.01018/15.04, allocations: 3.604 MB / 6.802 GB, free: 65.57 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/15.04, allocations: 14.5 kB / 6.802 GB, free: 65.57 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000567/15.04, allocations: 343.9 kB / 6.802 GB, free: 65.52 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008951/15.05, allocations: 313 kB / 6.802 GB, free: 65.37 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00407/15.05, allocations: 2.09 MB / 6.804 GB, free: 64.9 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/15.05, allocations: 213.2 kB / 6.804 GB, free: 64.84 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00031/15.05, allocations: 200.1 kB / 6.805 GB, free: 64.84 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00419/15.05, allocations: 3.312 MB / 6.808 GB, free: 64.35 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.545e-05/15.05, allocations: 10.38 kB / 6.808 GB, free: 64.35 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/15.05, allocations: 85.61 kB / 6.808 GB, free: 64.35 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001821/15.05, allocations: 202.5 kB / 6.808 GB, free: 64.35 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003873/15.06, allocations: 3.031 MB / 6.811 GB, free: 64.33 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.01443/15.07, allocations: 12.45 MB / 6.823 GB, free: 59.31 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003064/15.08, allocations: 2.213 MB / 6.825 GB, free: 59.15 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/15.08, allocations: 1.336 MB / 6.827 GB, free: 59.14 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00695/15.08, allocations: 5.996 MB / 6.833 GB, free: 56.32 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/15.08, allocations: 54.86 kB / 6.833 GB, free: 56.27 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000827/15.09, allocations: 186.3 kB / 6.833 GB, free: 56.18 MB / 0.573 GB Notification: Performance of pre-optimization done (n=172): time 4.088e-06/15.09, allocations: 0 / 6.833 GB, free: 56.18 MB / 0.573 GB Notification: Performance of matching and sorting (n=198): time 0.02123/15.11, allocations: 8.885 MB / 6.842 GB, free: 55.27 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/15.11, allocations: 125.4 kB / 6.842 GB, free: 55.14 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/15.11, allocations: 1.655 MB / 6.843 GB, free: 54.91 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001886/15.11, allocations: 61.64 kB / 6.843 GB, free: 54.88 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005406/15.11, allocations: 1.044 MB / 6.844 GB, free: 54.46 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004455/15.11, allocations: 0.6784 MB / 6.845 GB, free: 54.03 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/15.11, allocations: 48.88 kB / 6.845 GB, free: 54.03 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001244/15.11, allocations: 402.1 kB / 6.845 GB, free: 53.72 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/15.11, allocations: 1.182 MB / 6.847 GB, free: 53.71 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/15.11, allocations: 1.693 MB / 6.848 GB, free: 53.16 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/15.11, allocations: 1.435 MB / 6.85 GB, free: 53.13 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/15.11, allocations: 3.688 kB / 6.85 GB, free: 53.13 MB / 0.573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005849/15.12, allocations: 3.855 MB / 6.853 GB, free: 52.46 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000921/15.12, allocations: 5.893 MB / 6.859 GB, free: 46.21 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/15.12, allocations: 15.81 kB / 6.859 GB, free: 46.21 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003683/15.13, allocations: 1.15 MB / 6.86 GB, free: 45.96 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/15.13, allocations: 468 kB / 6.861 GB, free: 45.95 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006909/15.13, allocations: 10.51 MB / 6.871 GB, free: 36.88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/15.14, allocations: 190.3 kB / 6.871 GB, free: 36.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002547/15.14, allocations: 115.3 kB / 6.871 GB, free: 36.82 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/15.14, allocations: 4.969 kB / 6.871 GB, free: 36.82 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00597/15.14, allocations: 3.451 MB / 6.875 GB, free: 35.66 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/15.14, allocations: 12.75 kB / 6.875 GB, free: 35.66 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002253/15.15, allocations: 0.8577 MB / 6.876 GB, free: 35.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/15.15, allocations: 495.7 kB / 6.876 GB, free: 35.39 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006249/15.15, allocations: 10.21 MB / 6.886 GB, free: 26.38 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/15.16, allocations: 188 kB / 6.886 GB, free: 26.34 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/15.16, allocations: 106.9 kB / 6.886 GB, free: 26.32 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (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 14,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005495/15.16, allocations: 251 kB / 6.886 GB, free: 26.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/15.16, allocations: 221.6 kB / 6.887 GB, free: 25.98 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00631/15.16, allocations: 3.887 MB / 6.89 GB, free: 24.57 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/15.16, allocations: 28.67 kB / 6.891 GB, free: 24.57 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/15.16, allocations: 3.219 kB / 6.891 GB, free: 24.57 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004319/15.17, allocations: 3.284 MB / 6.894 GB, free: 23.18 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008966/15.18, allocations: 6.324 MB / 6.9 GB, free: 20.79 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/15.18, allocations: 3.25 kB / 6.9 GB, free: 20.79 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/15.18, allocations: 329.5 kB / 6.9 GB, free: 20.76 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003754/15.18, allocations: 1.195 MB / 6.901 GB, free: 20.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/15.18, allocations: 80.12 kB / 6.901 GB, free: 20.46 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006407/15.19, allocations: 10.41 MB / 6.912 GB, free: 11.37 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/15.19, allocations: 0 / 6.912 GB, free: 11.37 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007173/15.2, allocations: 5.126 MB / 6.917 GB, free: 9.367 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/15.2, allocations: 0.6368 MB / 6.917 GB, free: 9.004 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/15.2, allocations: 50.81 kB / 6.917 GB, free: 8.973 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/15.2, allocations: 156.3 kB / 6.917 GB, free: 8.93 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/15.2, allocations: 167.9 kB / 6.918 GB, free: 8.906 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/15.2, allocations: 80.97 kB / 6.918 GB, free: 8.891 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001477/15.2, allocations: 1.277 MB / 6.919 GB, free: 7.727 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.01e-07/15.2, allocations: 0 / 6.919 GB, free: 7.727 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004907/15.21, allocations: 1.997 MB / 6.921 GB, free: 5.766 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (183): * Single equations (assignments): 169 * 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%) 6,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.009449/15.21, allocations: 6.94 MB / 6.928 GB, free: 15.76 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.009851/15.22, allocations: 6.088 MB / 6.934 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/15.22, allocations: 3.938 kB / 6.934 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00367/15.23, allocations: 2.203 MB / 6.936 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004599/15.23, allocations: 0.9785 MB / 6.937 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/15.24, allocations: 5.749 MB / 6.942 GB, free: 2.816 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001538/15.25, allocations: 1.938 MB / 6.944 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.004319/15.25, allocations: 1.454 MB / 6.946 GB, free: 412 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3369/15.59, allocations: 1.088 MB / 6.947 GB, free: 72.32 MB / 0.5886 GB Notification: Performance of SimCode: time 1.343e-06/15.59, allocations: 0.5938 kB / 6.947 GB, free: 72.32 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1257/15.71, allocations: 91.18 MB / 7.036 GB, free: 69.27 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/15.71, allocations: 199.6 kB / 7.036 GB, free: 69.05 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.003/20.72, allocations: 7.281 kB / 7.036 GB, free: 69.05 MB / 0.5886 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