Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 225.6 MB / 234.8 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009722/0.0009722, allocations: 90.84 kB / 286.7 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2169/0.2169, allocations: 45.14 MB / 383.8 MB, free: 236 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.139e-05/2.156e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1457, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.618/7.764, allocations: 3.127 GB / 3.631 GB, free: 151 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/7.764, allocations: 92.88 kB / 3.631 GB, free: 151 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.306/11.07, allocations: 1.132 GB / 4.763 GB, free: 59.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.904e-06/11.07, allocations: 0 / 4.763 GB, free: 59.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.849e-05/11.07, allocations: 20 kB / 4.763 GB, free: 59.2 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.006155/11.08, allocations: 1.584 MB / 4.765 GB, free: 57.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/11.08, allocations: 8.031 kB / 4.765 GB, free: 57.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005198/11.08, allocations: 90.91 kB / 4.765 GB, free: 57.67 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/11.08, allocations: 0.5328 MB / 4.765 GB, free: 57.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.373e-05/11.08, allocations: 87.52 kB / 4.765 GB, free: 57.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/11.08, allocations: 28 kB / 4.765 GB, free: 57.06 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008743/11.08, allocations: 0.5482 MB / 4.766 GB, free: 56.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/11.08, allocations: 0.7375 MB / 4.766 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/11.08, allocations: 3.938 kB / 4.766 GB, free: 55.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.693e-05/11.08, allocations: 4 kB / 4.767 GB, free: 55.85 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-05/11.08, allocations: 37.2 kB / 4.767 GB, free: 55.82 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003951/11.08, allocations: 3.994 MB / 4.77 GB, free: 52.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/11.09, allocations: 316.7 kB / 4.771 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/11.09, allocations: 160.3 kB / 4.771 GB, free: 51.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002845/11.09, allocations: 354 kB / 4.771 GB, free: 51.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/11.09, allocations: 43.91 kB / 4.771 GB, free: 51.13 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.244e-06/11.09, allocations: 0 / 4.771 GB, free: 51.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.002868/11.09, allocations: 1.275 MB / 4.773 GB, free: 49.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/11.09, allocations: 132.5 kB / 4.773 GB, free: 49.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004184/11.09, allocations: 452.3 kB / 4.773 GB, free: 49.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/11.09, allocations: 25.7 kB / 4.773 GB, free: 49.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/11.09, allocations: 381.4 kB / 4.773 GB, free: 49.01 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.996e-05/11.09, allocations: 142.6 kB / 4.774 GB, free: 48.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/11.09, allocations: 0 / 4.774 GB, free: 48.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.895e-05/11.09, allocations: 368.8 kB / 4.774 GB, free: 48.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/11.09, allocations: 194.7 kB / 4.774 GB, free: 48.36 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/11.09, allocations: 497.2 kB / 4.775 GB, free: 47.76 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005821/11.09, allocations: 330.3 kB / 4.775 GB, free: 47.49 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/11.09, allocations: 0 / 4.775 GB, free: 47.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001598/11.09, allocations: 0.8857 MB / 4.776 GB, free: 46.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/11.09, allocations: 8 kB / 4.776 GB, free: 46.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/11.09, allocations: 15.94 kB / 4.776 GB, free: 46.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007377/11.09, allocations: 233.3 kB / 4.776 GB, free: 46.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/11.09, allocations: 124 kB / 4.776 GB, free: 46.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007093/11.09, allocations: 0.8703 MB / 4.777 GB, free: 45.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005636/11.09, allocations: 39.03 kB / 4.777 GB, free: 45.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/11.09, allocations: 36 kB / 4.777 GB, free: 45.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001247/11.09, allocations: 132.7 kB / 4.777 GB, free: 45.36 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00085/11.1, allocations: 482.5 kB / 4.778 GB, free: 44.94 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/11.1, allocations: 67.2 kB / 4.778 GB, free: 44.88 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/11.1, allocations: 0.5856 MB / 4.778 GB, free: 44.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/11.1, allocations: 4 kB / 4.778 GB, free: 44.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/11.1, allocations: 0 / 4.778 GB, free: 44.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/11.1, allocations: 7.312 kB / 4.778 GB, free: 44.38 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/11.1, allocations: 1.482 MB / 4.78 GB, free: 43.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/11.1, allocations: 4 kB / 4.78 GB, free: 43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008798/11.1, allocations: 194.3 kB / 4.78 GB, free: 42.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/11.1, allocations: 54.34 kB / 4.78 GB, free: 42.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/11.1, allocations: 7.938 kB / 4.78 GB, free: 42.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/11.1, allocations: 2.68 MB / 4.783 GB, free: 39.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/11.1, allocations: 0 / 4.783 GB, free: 39.99 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/11.1, allocations: 0.9625 MB / 4.784 GB, free: 39.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/11.1, allocations: 198.5 kB / 4.784 GB, free: 38.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.859e-05/11.1, allocations: 0 / 4.784 GB, free: 38.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/11.1, allocations: 22.47 kB / 4.784 GB, free: 38.83 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.473e-05/11.1, allocations: 35.16 kB / 4.784 GB, free: 38.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.962e-05/11.1, allocations: 23.05 kB / 4.784 GB, free: 38.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003016/11.1, allocations: 326.6 kB / 4.784 GB, free: 38.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/11.1, allocations: 4 kB / 4.784 GB, free: 38.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009444/11.11, allocations: 213.6 kB / 4.784 GB, free: 38.29 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001901/11.11, allocations: 2.218 MB / 4.787 GB, free: 36.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008474/11.11, allocations: 0.5191 MB / 4.787 GB, free: 35.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/11.11, allocations: 4.062 kB / 4.787 GB, free: 35.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008741/11.11, allocations: 427.6 kB / 4.787 GB, free: 35.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/11.11, allocations: 280.4 kB / 4.788 GB, free: 35.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/11.11, allocations: 1.108 MB / 4.789 GB, free: 34.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/11.11, allocations: 0.9575 MB / 4.79 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006083/11.11, allocations: 184.5 kB / 4.79 GB, free: 33.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/11.11, allocations: 234.5 kB / 4.79 GB, free: 32.91 MB / 0.5261 GB Notification: Performance of SimCode: time 4.81e-07/11.11, allocations: 0 / 4.79 GB, free: 32.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03713/11.15, allocations: 18.77 MB / 4.808 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/11.15, allocations: 201.3 kB / 4.809 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/13.49, allocations: 3.438 kB / 4.809 GB, free: 15.67 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat