Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00223/0.00223, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.2 MB / 245 MB, free: 7.668 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 99.36 kB / 297.3 MB, free: 6.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4649/0.4649, allocations: 45.24 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004383, allocations: 4 kB / 468.5 MB, free: 7.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.58/0.5805, allocations: 63.25 MB / 0.5193 GB, free: 43.94 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.491/2.071, allocations: 463.6 MB / 0.972 GB, free: 146.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/2.072, allocations: 76.56 kB / 0.9721 GB, free: 146.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.06802/2.14, allocations: 30.59 MB / 1.002 GB, free: 120.6 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.797e-06/2.14, allocations: 4 kB / 1.002 GB, free: 120.6 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.525e-05/2.14, allocations: 0 / 1.002 GB, free: 120.6 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007064/2.141, allocations: 406.8 kB / 1.002 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.252e-05/2.141, allocations: 12.03 kB / 1.002 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.211e-05/2.141, allocations: 42.17 kB / 1.002 GB, free: 120.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/2.143, allocations: 185 kB / 1.003 GB, free: 120 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/2.143, allocations: 209.3 kB / 1.003 GB, free: 119.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/2.143, allocations: 7.953 kB / 1.003 GB, free: 119.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/2.143, allocations: 7.312 kB / 1.003 GB, free: 119.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005767/2.144, allocations: 227.6 kB / 1.003 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/2.144, allocations: 0 / 1.003 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/2.144, allocations: 0 / 1.003 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/2.144, allocations: 4 kB / 1.003 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004426/2.144, allocations: 165.1 kB / 1.003 GB, free: 119.4 MB / 0.5417 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.001156/2.146, allocations: 0.5697 MB / 1.004 GB, free: 118.9 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/2.146, allocations: 141.2 kB / 1.004 GB, free: 118.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/2.146, allocations: 4 kB / 1.004 GB, free: 118.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/2.146, allocations: 34.52 kB / 1.004 GB, free: 118.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/2.146, allocations: 3.938 kB / 1.004 GB, free: 118.7 MB / 0.5417 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005452/2.151, allocations: 1.312 MB / 1.005 GB, free: 117.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/2.152, allocations: 59.34 kB / 1.005 GB, free: 117.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/2.152, allocations: 107.3 kB / 1.005 GB, free: 117.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/2.152, allocations: 28.7 kB / 1.005 GB, free: 117.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/2.152, allocations: 88.05 kB / 1.005 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.183e-05/2.152, allocations: 73.25 kB / 1.005 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.882e-05/2.152, allocations: 3.562 kB / 1.005 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001181/2.152, allocations: 326 kB / 1.006 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/2.152, allocations: 67.09 kB / 1.006 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/2.152, allocations: 101.5 kB / 1.006 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/2.152, allocations: 75.73 kB / 1.006 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/2.153, allocations: 0 / 1.006 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004997/2.153, allocations: 269.6 kB / 1.006 GB, free: 116.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/2.153, allocations: 8 kB / 1.006 GB, free: 116.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/2.153, allocations: 0 / 1.006 GB, free: 116.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002439/2.153, allocations: 50.77 kB / 1.006 GB, free: 116.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/2.154, allocations: 51.95 kB / 1.006 GB, free: 116.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005297/2.154, allocations: 0.5715 MB / 1.007 GB, free: 115.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/2.154, allocations: 7.562 kB / 1.007 GB, free: 115.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/2.155, allocations: 24 kB / 1.007 GB, free: 115.7 MB / 0.5417 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 () * Number of clocked 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.0001748/2.155, allocations: 128.3 kB / 1.007 GB, free: 115.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.618e-05/2.155, allocations: 11.91 kB / 1.007 GB, free: 115.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009162/2.156, allocations: 352.3 kB / 1.007 GB, free: 115.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/2.156, allocations: 0 / 1.007 GB, free: 115.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/2.156, allocations: 4 kB / 1.007 GB, free: 115.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/2.156, allocations: 7.984 kB / 1.007 GB, free: 115.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/2.157, allocations: 0.6129 MB / 1.008 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/2.157, allocations: 0 / 1.008 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/2.157, allocations: 63.89 kB / 1.008 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.193e-05/2.157, allocations: 28.5 kB / 1.008 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/2.157, allocations: 11.25 kB / 1.008 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/2.159, allocations: 1.276 MB / 1.009 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/2.159, allocations: 0 / 1.009 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000775/2.159, allocations: 466.8 kB / 1.01 GB, free: 112.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/2.159, allocations: 92.89 kB / 1.01 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/2.16, allocations: 7.688 kB / 1.01 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/2.16, allocations: 11.56 kB / 1.01 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.448e-05/2.16, allocations: 27.48 kB / 1.01 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/2.16, allocations: 27.98 kB / 1.01 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.315e-05/2.16, allocations: 86.58 kB / 1.01 GB, free: 112.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/2.16, allocations: 4.062 kB / 1.01 GB, free: 112.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007765/2.161, allocations: 120.5 kB / 1.01 GB, free: 112.5 MB / 0.5417 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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.002432/2.163, allocations: 1.633 MB / 1.012 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006088/2.164, allocations: 204.1 kB / 1.012 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/2.164, allocations: 0 / 1.012 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003981/2.164, allocations: 226.4 kB / 1.012 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/2.165, allocations: 46.77 kB / 1.012 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/2.167, allocations: 1.556 MB / 1.014 GB, free: 109 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/2.167, allocations: 0.7088 MB / 1.014 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004683/2.168, allocations: 81.59 kB / 1.015 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/2.168, allocations: 72.95 kB / 1.015 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.032e-05/2.168, allocations: 0 / 1.015 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03979/2.208, allocations: 14.18 MB / 1.028 GB, free: 94.15 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002616/2.208, allocations: 207.1 kB / 1.029 GB, free: 93.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/4.433, allocations: 0 / 1.029 GB, free: 93.9 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat