Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",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.001956/0.001956, 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.826/1.826, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0009416/0.0009418, allocations: 90.62 kB / 261.8 MB, free: 1.676 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.2379/0.2379, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.909e-05/1.91e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.181, allocations: 58.86 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.698/1.88, allocations: 0.6183 GB / 1.084 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/1.88, allocations: 95.44 kB / 1.084 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.281/3.161, allocations: 226.3 MB / 1.305 GB, free: 94.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.664e-06/3.161, allocations: 0 / 1.305 GB, free: 94.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.418e-05/3.161, allocations: 18.67 kB / 1.305 GB, free: 94.43 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.003444/3.165, allocations: 1.156 MB / 1.307 GB, free: 94.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/3.165, allocations: 10.98 kB / 1.307 GB, free: 94.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009121/3.166, allocations: 135.5 kB / 1.307 GB, free: 94.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/3.167, allocations: 0.5494 MB / 1.307 GB, free: 93.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/3.167, allocations: 83.44 kB / 1.307 GB, free: 93.72 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.563e-05/3.167, allocations: 28.06 kB / 1.307 GB, free: 93.72 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001062/3.168, allocations: 0.5246 MB / 1.308 GB, free: 93.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/3.169, allocations: 0.733 MB / 1.309 GB, free: 93.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/3.17, allocations: 1.375 kB / 1.309 GB, free: 93.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-05/3.17, allocations: 6.688 kB / 1.309 GB, free: 93.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.096e-05/3.17, allocations: 40.44 kB / 1.309 GB, free: 93.48 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.00486/3.175, allocations: 3.897 MB / 1.312 GB, free: 90.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/3.175, allocations: 252.8 kB / 1.313 GB, free: 90.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/3.175, allocations: 130.4 kB / 1.313 GB, free: 90.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.437e-05/3.175, allocations: 21.91 kB / 1.313 GB, free: 90.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/3.176, allocations: 44.02 kB / 1.313 GB, free: 90.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.956e-06/3.176, allocations: 0 / 1.313 GB, free: 90.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.005705/3.181, allocations: 1.44 MB / 1.314 GB, free: 90.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/3.181, allocations: 137.2 kB / 1.314 GB, free: 90.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006549/3.182, allocations: 463.7 kB / 1.315 GB, free: 90.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/3.182, allocations: 25.7 kB / 1.315 GB, free: 90.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/3.182, allocations: 399.7 kB / 1.315 GB, free: 89.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/3.182, allocations: 113.3 kB / 1.315 GB, free: 89.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/3.182, allocations: 0 / 1.315 GB, free: 89.83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001405/3.183, allocations: 370.5 kB / 1.316 GB, free: 89.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/3.183, allocations: 177.1 kB / 1.316 GB, free: 89.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006195/3.184, allocations: 493.3 kB / 1.316 GB, free: 89.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006639/3.184, allocations: 323.6 kB / 1.317 GB, free: 89.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/3.184, allocations: 3.406 kB / 1.317 GB, free: 89.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001586/3.186, allocations: 0.82 MB / 1.317 GB, free: 89.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/3.186, allocations: 9.562 kB / 1.317 GB, free: 89.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/3.186, allocations: 13.28 kB / 1.317 GB, free: 89.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/3.187, allocations: 274 kB / 1.318 GB, free: 89.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/3.187, allocations: 119.7 kB / 1.318 GB, free: 89.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/3.189, allocations: 0.9495 MB / 1.319 GB, free: 88.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006671/3.189, allocations: 38.03 kB / 1.319 GB, free: 88.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/3.19, allocations: 73.42 kB / 1.319 GB, free: 88.52 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.0002415/3.19, allocations: 133.3 kB / 1.319 GB, free: 88.41 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001083/3.191, allocations: 429.4 kB / 1.319 GB, free: 88.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/3.191, allocations: 60.59 kB / 1.319 GB, free: 88.31 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/3.192, allocations: 0.511 MB / 1.32 GB, free: 88.24 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/3.192, allocations: 3.719 kB / 1.32 GB, free: 88.24 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/3.192, allocations: 1.031 kB / 1.32 GB, free: 88.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/3.192, allocations: 3.422 kB / 1.32 GB, free: 88.24 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/3.194, allocations: 0.9899 MB / 1.321 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/3.195, allocations: 0 / 1.321 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009611/3.195, allocations: 203.5 kB / 1.321 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.132e-05/3.196, allocations: 22.89 kB / 1.321 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/3.196, allocations: 15.42 kB / 1.321 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/3.197, allocations: 2.578 MB / 1.324 GB, free: 85.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/3.197, allocations: 3.969 kB / 1.324 GB, free: 85.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008761/3.198, allocations: 0.6832 MB / 1.324 GB, free: 85.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/3.198, allocations: 176.7 kB / 1.325 GB, free: 85.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.608e-05/3.198, allocations: 3.812 kB / 1.325 GB, free: 85.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/3.199, allocations: 18.91 kB / 1.325 GB, free: 85.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/3.199, allocations: 33.16 kB / 1.325 GB, free: 85.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.275e-05/3.199, allocations: 35.64 kB / 1.325 GB, free: 85.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003736/3.199, allocations: 343.6 kB / 1.325 GB, free: 85.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/3.199, allocations: 6.594 kB / 1.325 GB, free: 85.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00162/3.201, allocations: 347.9 kB / 1.325 GB, free: 85.08 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.002968/3.204, allocations: 2.395 MB / 1.328 GB, free: 84.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009687/3.205, allocations: 488.4 kB / 1.328 GB, free: 84.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/3.205, allocations: 0 / 1.328 GB, free: 84.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007858/3.206, allocations: 367.1 kB / 1.328 GB, free: 84.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/3.207, allocations: 241.9 kB / 1.329 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/3.209, allocations: 1.077 MB / 1.33 GB, free: 83.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/3.209, allocations: 0.9408 MB / 1.331 GB, free: 83.03 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009435/3.21, allocations: 247.8 kB / 1.331 GB, free: 83.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/3.211, allocations: 256.8 kB / 1.331 GB, free: 83.02 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/3.211, allocations: 2.953 kB / 1.331 GB, free: 83.02 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05712/3.268, allocations: 25.71 MB / 1.356 GB, free: 82.38 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/3.268, allocations: 195.4 kB / 1.356 GB, free: 82.19 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/6.293, allocations: 4 kB / 1.356 GB, free: 82.18 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat