Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001653/0.001653, allocations: 184.6 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008441/0.0008441, allocations: 86.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2862/0.2862, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003541, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1198, allocations: 58.87 MB / 490.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.91/2.029, allocations: 0.6404 GB / 1.119 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/2.03, allocations: 98.58 kB / 1.119 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9042/2.934, allocations: 232.3 MB / 1.346 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.136e-06/2.934, allocations: 0 / 1.346 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001377/2.934, allocations: 23.62 kB / 1.346 GB, free: 107.5 MB / 0.5105 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.005596/2.94, allocations: 1.238 MB / 1.347 GB, free: 107 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/2.94, allocations: 10.94 kB / 1.347 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004691/2.94, allocations: 99.81 kB / 1.347 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/2.942, allocations: 133.8 kB / 1.348 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/2.944, allocations: 0.5427 MB / 1.348 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/2.944, allocations: 104 kB / 1.348 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/2.944, allocations: 52.09 kB / 1.348 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/2.946, allocations: 0.8148 MB / 1.349 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.396e-05/2.946, allocations: 6.828 kB / 1.349 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/2.946, allocations: 27.06 kB / 1.349 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.919e-05/2.946, allocations: 38.89 kB / 1.349 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/2.948, allocations: 0.6182 MB / 1.35 GB, free: 106.4 MB / 0.5105 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.006701/2.954, allocations: 3.942 MB / 1.354 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005317/2.955, allocations: 331.8 kB / 1.354 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/2.955, allocations: 22.83 kB / 1.354 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/2.955, allocations: 41.25 kB / 1.354 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.907e-06/2.955, allocations: 0 / 1.354 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.005608/2.961, allocations: 1.657 MB / 1.356 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.417e-05/2.961, allocations: 134.8 kB / 1.356 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000717/2.961, allocations: 0.5338 MB / 1.356 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.26e-05/2.962, allocations: 35.92 kB / 1.356 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/2.962, allocations: 364.5 kB / 1.357 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/2.962, allocations: 147.2 kB / 1.357 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/2.962, allocations: 14.62 kB / 1.357 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000123/2.962, allocations: 373.2 kB / 1.357 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/2.962, allocations: 195.8 kB / 1.357 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005588/2.963, allocations: 0.5046 MB / 1.358 GB, free: 102 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/2.963, allocations: 287.9 kB / 1.358 GB, free: 102 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/2.963, allocations: 3.969 kB / 1.358 GB, free: 102 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001327/2.965, allocations: 0.881 MB / 1.359 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/2.965, allocations: 9.75 kB / 1.359 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/2.965, allocations: 10.81 kB / 1.359 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/2.966, allocations: 310.3 kB / 1.359 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/2.967, allocations: 120 kB / 1.359 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009793/2.968, allocations: 0.9368 MB / 1.36 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000666/2.968, allocations: 46.42 kB / 1.36 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/2.968, allocations: 69.27 kB / 1.36 GB, free: 101.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004077/2.969, allocations: 245 kB / 1.361 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/2.969, allocations: 68.97 kB / 1.361 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/2.97, allocations: 0.6786 MB / 1.361 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/2.971, allocations: 2.844 kB / 1.361 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/2.971, allocations: 3.312 kB / 1.361 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/2.971, allocations: 2.969 kB / 1.361 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/2.972, allocations: 1.266 MB / 1.363 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/2.972, allocations: 0 / 1.363 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/2.973, allocations: 203.4 kB / 1.363 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/2.974, allocations: 30.52 kB / 1.363 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/2.974, allocations: 14.12 kB / 1.363 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/2.975, allocations: 2.692 MB / 1.365 GB, free: 98.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/2.975, allocations: 6.594 kB / 1.366 GB, free: 98.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/2.977, allocations: 0.8308 MB / 1.366 GB, free: 97.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/2.977, allocations: 189.9 kB / 1.366 GB, free: 97.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.75e-05/2.977, allocations: 19.38 kB / 1.367 GB, free: 97.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/2.978, allocations: 25.84 kB / 1.367 GB, free: 97.69 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/2.978, allocations: 44.17 kB / 1.367 GB, free: 97.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.848e-05/2.978, allocations: 42.3 kB / 1.367 GB, free: 97.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005272/2.978, allocations: 427.6 kB / 1.367 GB, free: 97.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.495e-06/2.978, allocations: 3.75 kB / 1.367 GB, free: 97.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001932/2.98, allocations: 385.1 kB / 1.367 GB, free: 97.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00371/2.984, allocations: 2.598 MB / 1.37 GB, free: 96.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001245/2.985, allocations: 0.5402 MB / 1.37 GB, free: 96.35 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/2.985, allocations: 3.75 kB / 1.37 GB, free: 96.35 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009123/2.986, allocations: 397.7 kB / 1.371 GB, free: 96.24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/2.988, allocations: 334.5 kB / 1.371 GB, free: 96.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00829/2.996, allocations: 10.86 MB / 1.382 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/2.996, allocations: 0.9449 MB / 1.383 GB, free: 87.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001236/2.998, allocations: 262.5 kB / 1.383 GB, free: 87.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004919/2.998, allocations: 272.5 kB / 1.383 GB, free: 87.39 MB / 0.5105 GB Notification: Performance of SimCode: time 2.034e-06/2.998, allocations: 3.75 kB / 1.383 GB, free: 87.39 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07489/3.073, allocations: 36.22 MB / 1.419 GB, free: 84.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003127/3.074, allocations: 270.9 kB / 1.419 GB, free: 84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.369/6.442, allocations: 0 / 1.419 GB, free: 84 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat