Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.002161/0.002161, allocations: 177.6 kB / 8.002 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 2.026/2.026, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.001293/0.001293, allocations: 82.64 kB / 261.7 MB, free: 1.688 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.2628/0.2628, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.958e-05, allocations: 4 kB / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1392, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.953/2.092, allocations: 0.7263 GB / 1.192 GB, free: 94.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/2.093, allocations: 72.22 kB / 1.192 GB, free: 94.13 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07068/2.164, allocations: 32.9 MB / 1.225 GB, free: 61.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.685e-06/2.164, allocations: 4 kB / 1.225 GB, free: 61.08 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.316e-05/2.164, allocations: 0 / 1.225 GB, free: 61.08 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005228/2.164, allocations: 415.2 kB / 1.225 GB, free: 60.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/2.164, allocations: 8.031 kB / 1.225 GB, free: 60.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/2.166, allocations: 179.7 kB / 1.225 GB, free: 60.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/2.166, allocations: 207 kB / 1.225 GB, free: 60.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/2.166, allocations: 8 kB / 1.225 GB, free: 60.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/2.166, allocations: 4 kB / 1.225 GB, free: 60.19 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00037/2.167, allocations: 196.2 kB / 1.226 GB, free: 60 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/2.167, allocations: 150.8 kB / 1.226 GB, free: 59.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/2.167, allocations: 0 / 1.226 GB, free: 59.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/2.167, allocations: 0 / 1.226 GB, free: 59.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/2.167, allocations: 4 kB / 1.226 GB, free: 59.84 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.001343/2.168, allocations: 0.599 MB / 1.226 GB, free: 59.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/2.168, allocations: 138.6 kB / 1.226 GB, free: 59.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/2.169, allocations: 76.78 kB / 1.226 GB, free: 58.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/2.169, allocations: 93.09 kB / 1.227 GB, free: 58.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/2.169, allocations: 34.56 kB / 1.227 GB, free: 58.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 2.414e-06/2.169, allocations: 0 / 1.227 GB, free: 58.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.004091/2.173, allocations: 1.003 MB / 1.228 GB, free: 57.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/2.173, allocations: 55.41 kB / 1.228 GB, free: 57.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/2.173, allocations: 105 kB / 1.228 GB, free: 57.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/2.173, allocations: 25.7 kB / 1.228 GB, free: 57.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/2.173, allocations: 88.36 kB / 1.228 GB, free: 57.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/2.173, allocations: 71 kB / 1.228 GB, free: 57.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/2.173, allocations: 4 kB / 1.228 GB, free: 57.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000111/2.173, allocations: 326.8 kB / 1.228 GB, free: 57.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/2.174, allocations: 64 kB / 1.228 GB, free: 56.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/2.174, allocations: 107.3 kB / 1.228 GB, free: 56.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/2.174, allocations: 81.09 kB / 1.228 GB, free: 56.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/2.174, allocations: 4 kB / 1.228 GB, free: 56.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003623/2.174, allocations: 234.2 kB / 1.229 GB, free: 56.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/2.174, allocations: 11.94 kB / 1.229 GB, free: 56.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/2.174, allocations: 0 / 1.229 GB, free: 56.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001327/2.174, allocations: 20.86 kB / 1.229 GB, free: 56.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/2.175, allocations: 55.94 kB / 1.229 GB, free: 56.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003586/2.175, allocations: 0.5484 MB / 1.229 GB, free: 55.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/2.175, allocations: 4 kB / 1.229 GB, free: 55.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/2.175, allocations: 4 kB / 1.229 GB, free: 55.84 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001126/2.175, allocations: 105 kB / 1.229 GB, free: 55.73 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003361/2.176, allocations: 216.7 kB / 1.23 GB, free: 55.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/2.176, allocations: 11.98 kB / 1.23 GB, free: 55.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004962/2.176, allocations: 275.2 kB / 1.23 GB, free: 55.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/2.176, allocations: 0 / 1.23 GB, free: 55.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/2.176, allocations: 3.938 kB / 1.23 GB, free: 55.22 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/2.176, allocations: 7.953 kB / 1.23 GB, free: 55.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007861/2.177, allocations: 0.5845 MB / 1.23 GB, free: 54.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/2.177, allocations: 0 / 1.23 GB, free: 54.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/2.178, allocations: 51.91 kB / 1.231 GB, free: 54.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.697e-05/2.178, allocations: 16.84 kB / 1.231 GB, free: 54.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/2.178, allocations: 7.984 kB / 1.231 GB, free: 54.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007668/2.178, allocations: 1.213 MB / 1.232 GB, free: 53.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/2.178, allocations: 3.938 kB / 1.232 GB, free: 53.17 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000527/2.179, allocations: 424.5 kB / 1.232 GB, free: 52.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/2.179, allocations: 85.05 kB / 1.232 GB, free: 52.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/2.179, allocations: 0 / 1.232 GB, free: 52.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/2.179, allocations: 7.984 kB / 1.232 GB, free: 52.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/2.179, allocations: 27.94 kB / 1.232 GB, free: 52.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/2.179, allocations: 11.98 kB / 1.232 GB, free: 52.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.584e-05/2.179, allocations: 83.28 kB / 1.232 GB, free: 52.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.71e-07/2.179, allocations: 0 / 1.232 GB, free: 52.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007811/2.18, allocations: 155.9 kB / 1.232 GB, free: 52.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001868/2.182, allocations: 1.769 MB / 1.234 GB, free: 50.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004262/2.183, allocations: 179.9 kB / 1.234 GB, free: 50.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/2.183, allocations: 4 kB / 1.234 GB, free: 50.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002511/2.183, allocations: 202 kB / 1.235 GB, free: 50.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/2.183, allocations: 48.78 kB / 1.235 GB, free: 50.08 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008405/2.184, allocations: 394.4 kB / 1.235 GB, free: 49.65 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/2.184, allocations: 0.7124 MB / 1.236 GB, free: 48.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003493/2.185, allocations: 53.39 kB / 1.236 GB, free: 48.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/2.185, allocations: 39.42 kB / 1.236 GB, free: 48.82 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/2.185, allocations: 0 / 1.236 GB, free: 48.82 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/2.216, allocations: 9.791 MB / 1.245 GB, free: 39.03 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/2.216, allocations: 136.8 kB / 1.245 GB, free: 38.84 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.155/4.371, allocations: 0 / 1.245 GB, free: 38.84 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat