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.001129/0.00113, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.931/1.931, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 94.62 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2492/0.2492, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.683e-05/1.685e-05, allocations: 0 / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1499, allocations: 58.87 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.078/2.228, allocations: 0.6183 GB / 1.084 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/2.228, allocations: 99.5 kB / 1.084 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.902/3.131, allocations: 226.3 MB / 1.305 GB, free: 96.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.994e-06/3.131, allocations: 0 / 1.305 GB, free: 96.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.881e-05/3.131, allocations: 17.34 kB / 1.305 GB, free: 96.16 MB / 0.4948 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.003519/3.134, allocations: 1.149 MB / 1.307 GB, free: 95.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/3.134, allocations: 11.59 kB / 1.307 GB, free: 95.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008139/3.135, allocations: 140.4 kB / 1.307 GB, free: 95.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/3.136, allocations: 0.545 MB / 1.307 GB, free: 95.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.74e-05/3.136, allocations: 86.62 kB / 1.307 GB, free: 95.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.607e-05/3.136, allocations: 29.78 kB / 1.307 GB, free: 95.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008434/3.137, allocations: 0.5213 MB / 1.308 GB, free: 95.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/3.138, allocations: 0.7412 MB / 1.309 GB, free: 95.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/3.138, allocations: 0 / 1.309 GB, free: 95.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.837e-05/3.138, allocations: 6.781 kB / 1.309 GB, free: 95.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.834e-05/3.138, allocations: 40.55 kB / 1.309 GB, free: 95.08 MB / 0.4948 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.004162/3.143, allocations: 3.876 MB / 1.312 GB, free: 92.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/3.143, allocations: 260.3 kB / 1.313 GB, free: 92.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/3.143, allocations: 134 kB / 1.313 GB, free: 92.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.174e-05/3.143, allocations: 25.78 kB / 1.313 GB, free: 92.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/3.143, allocations: 44.22 kB / 1.313 GB, free: 92.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.384e-06/3.143, allocations: 0 / 1.313 GB, free: 92.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.005157/3.148, allocations: 1.447 MB / 1.314 GB, free: 91.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/3.148, allocations: 131.7 kB / 1.314 GB, free: 91.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005433/3.149, allocations: 469.3 kB / 1.315 GB, free: 91.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/3.149, allocations: 28.64 kB / 1.315 GB, free: 91.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000228/3.149, allocations: 393.6 kB / 1.315 GB, free: 91.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.899e-05/3.149, allocations: 119.2 kB / 1.315 GB, free: 91.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/3.149, allocations: 3.562 kB / 1.315 GB, free: 91.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001251/3.15, allocations: 371 kB / 1.316 GB, free: 91.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/3.15, allocations: 176.5 kB / 1.316 GB, free: 91.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004327/3.15, allocations: 493.6 kB / 1.316 GB, free: 90.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005844/3.151, allocations: 321 kB / 1.317 GB, free: 90.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/3.151, allocations: 10.42 kB / 1.317 GB, free: 90.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001318/3.152, allocations: 0.8141 MB / 1.317 GB, free: 90.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/3.152, allocations: 7.875 kB / 1.317 GB, free: 90.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/3.152, allocations: 14.16 kB / 1.317 GB, free: 90.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/3.153, allocations: 272.4 kB / 1.318 GB, free: 90.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/3.154, allocations: 130.9 kB / 1.318 GB, free: 90.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/3.155, allocations: 0.9453 MB / 1.319 GB, free: 90.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006009/3.156, allocations: 34.38 kB / 1.319 GB, free: 90.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.275e-05/3.156, allocations: 68.62 kB / 1.319 GB, free: 90.1 MB / 0.4948 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 () * 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.0001777/3.156, allocations: 128.4 kB / 1.319 GB, free: 89.99 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007544/3.157, allocations: 440 kB / 1.319 GB, free: 89.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.301e-05/3.157, allocations: 57.72 kB / 1.319 GB, free: 89.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/3.158, allocations: 0.5056 MB / 1.32 GB, free: 89.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/3.158, allocations: 3.594 kB / 1.32 GB, free: 89.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/3.158, allocations: 2.844 kB / 1.32 GB, free: 89.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/3.158, allocations: 3.281 kB / 1.32 GB, free: 89.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/3.159, allocations: 0.9839 MB / 1.321 GB, free: 89.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/3.159, allocations: 5.062 kB / 1.321 GB, free: 89.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009669/3.16, allocations: 193.9 kB / 1.321 GB, free: 89.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.509e-05/3.16, allocations: 25.47 kB / 1.321 GB, free: 89.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/3.16, allocations: 14.45 kB / 1.321 GB, free: 89.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/3.162, allocations: 2.58 MB / 1.324 GB, free: 87.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/3.162, allocations: 11.69 kB / 1.324 GB, free: 87.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000898/3.163, allocations: 0.6771 MB / 1.324 GB, free: 86.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/3.163, allocations: 175.1 kB / 1.325 GB, free: 86.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.35e-05/3.163, allocations: 3.281 kB / 1.325 GB, free: 86.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004005/3.164, allocations: 21.88 kB / 1.325 GB, free: 86.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/3.164, allocations: 31.38 kB / 1.325 GB, free: 86.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.558e-05/3.164, allocations: 39.06 kB / 1.325 GB, free: 86.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004159/3.164, allocations: 342.5 kB / 1.325 GB, free: 86.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/3.164, allocations: 0 / 1.325 GB, free: 86.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001688/3.166, allocations: 338.6 kB / 1.325 GB, free: 86.63 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (34): * Single equations (assignments): 32 * 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.003251/3.169, allocations: 2.399 MB / 1.328 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001112/3.17, allocations: 487.4 kB / 1.328 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/3.17, allocations: 0 / 1.328 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008083/3.171, allocations: 356.8 kB / 1.328 GB, free: 85.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/3.173, allocations: 250.7 kB / 1.329 GB, free: 85.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/3.175, allocations: 1.077 MB / 1.33 GB, free: 85.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/3.176, allocations: 0.9421 MB / 1.331 GB, free: 84.55 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009712/3.177, allocations: 247.2 kB / 1.331 GB, free: 84.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004392/3.177, allocations: 256.9 kB / 1.331 GB, free: 84.54 MB / 0.4948 GB Notification: Performance of SimCode: time 1.814e-06/3.177, allocations: 0 / 1.331 GB, free: 84.54 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07241/3.249, allocations: 25.72 MB / 1.356 GB, free: 83.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002918/3.25, allocations: 195.5 kB / 1.356 GB, free: 83.27 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.245/6.494, allocations: 0 / 1.356 GB, free: 83.27 MB / 0.4948 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