Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001042, 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.487/1.487, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 92.05 kB / 286.7 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2532/0.2532, allocations: 45.15 MB / 383.8 MB, free: 256 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.227e-05/2.234e-05, allocations: 0 / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1335, allocations: 63.25 MB / 0.5044 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.982/2.116, allocations: 0.6965 GB / 1.201 GB, free: 167.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001777/2.116, allocations: 67.97 kB / 1.201 GB, free: 167 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.06592/2.182, allocations: 33.59 MB / 1.234 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.313e-06/2.182, allocations: 0 / 1.234 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.051e-05/2.182, allocations: 224 / 1.234 GB, free: 133.3 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004714/2.182, allocations: 427.2 kB / 1.234 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/2.183, allocations: 12.03 kB / 1.234 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/2.184, allocations: 187.6 kB / 1.234 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/2.184, allocations: 203 kB / 1.235 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/2.184, allocations: 4 kB / 1.235 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/2.184, allocations: 4 kB / 1.235 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003307/2.185, allocations: 192.2 kB / 1.235 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/2.185, allocations: 149.3 kB / 1.235 GB, free: 132 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/2.185, allocations: 4 kB / 1.235 GB, free: 132 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/2.185, allocations: 0 / 1.235 GB, free: 132 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/2.185, allocations: 4 kB / 1.235 GB, free: 132 MB / 0.5261 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.001222/2.186, allocations: 0.5826 MB / 1.236 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/2.187, allocations: 146.5 kB / 1.236 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.903e-05/2.187, allocations: 68.86 kB / 1.236 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/2.187, allocations: 93.09 kB / 1.236 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/2.187, allocations: 34.56 kB / 1.236 GB, free: 131 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/2.187, allocations: 0 / 1.236 GB, free: 131 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.003702/2.191, allocations: 1.007 MB / 1.237 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/2.191, allocations: 55.41 kB / 1.237 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.029e-05/2.191, allocations: 112.9 kB / 1.237 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/2.191, allocations: 25.7 kB / 1.237 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/2.191, allocations: 96.34 kB / 1.237 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/2.191, allocations: 63.02 kB / 1.237 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/2.191, allocations: 4 kB / 1.237 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.327e-05/2.191, allocations: 322.8 kB / 1.237 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.312e-05/2.191, allocations: 72 kB / 1.238 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/2.191, allocations: 104.8 kB / 1.238 GB, free: 129 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/2.191, allocations: 77.08 kB / 1.238 GB, free: 129 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/2.191, allocations: 0 / 1.238 GB, free: 129 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003459/2.192, allocations: 239.7 kB / 1.238 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/2.192, allocations: 7.938 kB / 1.238 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/2.192, allocations: 0 / 1.238 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001202/2.192, allocations: 28.94 kB / 1.238 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/2.192, allocations: 47.97 kB / 1.238 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002678/2.192, allocations: 0.5444 MB / 1.239 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/2.193, allocations: 4.031 kB / 1.239 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/2.193, allocations: 4 kB / 1.239 GB, free: 128.1 MB / 0.5261 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 9.658e-05/2.193, allocations: 113.1 kB / 1.239 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003219/2.193, allocations: 210.3 kB / 1.239 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/2.193, allocations: 7.906 kB / 1.239 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000462/2.194, allocations: 265.8 kB / 1.239 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/2.194, allocations: 0 / 1.239 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/2.194, allocations: 3.953 kB / 1.239 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/2.194, allocations: 0 / 1.239 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007708/2.194, allocations: 0.5947 MB / 1.24 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/2.194, allocations: 0 / 1.24 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/2.195, allocations: 47.91 kB / 1.24 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.648e-05/2.195, allocations: 20.84 kB / 1.24 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/2.195, allocations: 7.984 kB / 1.24 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005443/2.195, allocations: 1.217 MB / 1.241 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/2.195, allocations: 3.938 kB / 1.241 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/2.196, allocations: 424.7 kB / 1.241 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.782e-05/2.196, allocations: 89.08 kB / 1.241 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/2.196, allocations: 0 / 1.241 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/2.196, allocations: 11.94 kB / 1.241 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/2.196, allocations: 15.92 kB / 1.241 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/2.196, allocations: 15.98 kB / 1.242 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.245e-05/2.196, allocations: 83.28 kB / 1.242 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/2.196, allocations: 3.938 kB / 1.242 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005927/2.197, allocations: 155.9 kB / 1.242 GB, free: 124.5 MB / 0.5261 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.00161/2.199, allocations: 1.771 MB / 1.243 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003353/2.199, allocations: 184.6 kB / 1.244 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/2.199, allocations: 4.188 kB / 1.244 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/2.199, allocations: 201.6 kB / 1.244 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/2.199, allocations: 50.14 kB / 1.244 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007243/2.2, allocations: 393.4 kB / 1.244 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/2.2, allocations: 0.7163 MB / 1.245 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003303/2.201, allocations: 41.19 kB / 1.245 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/2.201, allocations: 39.42 kB / 1.245 GB, free: 121 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/2.201, allocations: 0 / 1.245 GB, free: 121 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/2.229, allocations: 9.795 MB / 1.255 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/2.229, allocations: 129.1 kB / 1.255 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/4.078, allocations: 0 / 1.255 GB, free: 111.1 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat