Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.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.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",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.001727/0.001727, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009088/0.0009091, allocations: 90.81 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2469/0.2469, allocations: 43.56 MB / 362.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004238, allocations: 19.98 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.141, allocations: 58.86 MB / 490.3 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.522/1.664, allocations: 497.7 MB / 0.9648 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/1.664, allocations: 79.95 kB / 0.9649 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.1228/1.787, allocations: 57.38 MB / 1.021 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.318e-06/1.787, allocations: 0 / 1.021 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.118e-05/1.787, allocations: 0 / 1.021 GB, free: 103.5 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002306/1.789, allocations: 0.7066 MB / 1.022 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.458e-05/1.789, allocations: 8.031 kB / 1.022 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.467e-05/1.789, allocations: 62.53 kB / 1.022 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00698/1.796, allocations: 0.5893 MB / 1.022 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/1.797, allocations: 266.7 kB / 1.023 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/1.797, allocations: 123.4 kB / 1.023 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.411e-05/1.797, allocations: 20 kB / 1.023 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/1.798, allocations: 0.5517 MB / 1.023 GB, free: 101 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.798, allocations: 4 kB / 1.023 GB, free: 101 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/1.798, allocations: 15.98 kB / 1.023 GB, free: 101 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/1.798, allocations: 4 kB / 1.023 GB, free: 101 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/1.799, allocations: 0.6103 MB / 1.024 GB, free: 100.4 MB / 0.5105 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.001853/1.801, allocations: 1.627 MB / 1.025 GB, free: 98.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/1.801, allocations: 150.5 kB / 1.026 GB, free: 98.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/1.802, allocations: 1.214 MB / 1.027 GB, free: 97.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/1.803, allocations: 38.56 kB / 1.027 GB, free: 97.01 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 3.627e-06/1.803, allocations: 3.938 kB / 1.027 GB, free: 97 MB / 0.5105 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=20): time 0.0009585/1.803, allocations: 329.5 kB / 1.027 GB, free: 96.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/1.804, allocations: 55.36 kB / 1.027 GB, free: 96.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/1.804, allocations: 165.1 kB / 1.027 GB, free: 96.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/1.804, allocations: 29.7 kB / 1.027 GB, free: 96.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.873e-05/1.804, allocations: 187.2 kB / 1.028 GB, free: 96.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/1.804, allocations: 75 kB / 1.028 GB, free: 96.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/1.804, allocations: 8 kB / 1.028 GB, free: 96.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/1.804, allocations: 322.8 kB / 1.028 GB, free: 95.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/1.804, allocations: 64.7 kB / 1.028 GB, free: 95.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/1.804, allocations: 267.7 kB / 1.028 GB, free: 95.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/1.805, allocations: 113.1 kB / 1.028 GB, free: 95.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.805, allocations: 0 / 1.028 GB, free: 95.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004771/1.805, allocations: 356.9 kB / 1.029 GB, free: 94.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/1.805, allocations: 11.44 kB / 1.029 GB, free: 94.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.805, allocations: 8 kB / 1.029 GB, free: 94.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/1.805, allocations: 12 kB / 1.029 GB, free: 94.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/1.805, allocations: 128.5 kB / 1.029 GB, free: 94.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002989/1.806, allocations: 0.6055 MB / 1.029 GB, free: 94.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/1.806, allocations: 43.53 kB / 1.029 GB, free: 94.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/1.806, allocations: 39.98 kB / 1.03 GB, free: 94.06 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.000135/1.806, allocations: 141.7 kB / 1.03 GB, free: 93.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/1.806, allocations: 23.77 kB / 1.03 GB, free: 93.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007349/1.807, allocations: 328.1 kB / 1.03 GB, free: 93.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.807, allocations: 4 kB / 1.03 GB, free: 93.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.807, allocations: 0 / 1.03 GB, free: 93.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.807, allocations: 7.922 kB / 1.03 GB, free: 93.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005938/1.808, allocations: 0.5374 MB / 1.031 GB, free: 92.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/1.808, allocations: 4 kB / 1.031 GB, free: 92.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/1.808, allocations: 59.95 kB / 1.031 GB, free: 92.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/1.808, allocations: 4 kB / 1.031 GB, free: 92.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/1.808, allocations: 11.94 kB / 1.031 GB, free: 92.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002327/1.808, allocations: 0.5978 MB / 1.031 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.808, allocations: 7.984 kB / 1.031 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/1.808, allocations: 350.5 kB / 1.032 GB, free: 91.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.165e-05/1.809, allocations: 108.8 kB / 1.032 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/1.809, allocations: 4 kB / 1.032 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/1.809, allocations: 15.98 kB / 1.032 GB, free: 91.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/1.809, allocations: 23.94 kB / 1.032 GB, free: 91.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/1.809, allocations: 19.98 kB / 1.032 GB, free: 91.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.001e-05/1.809, allocations: 127.2 kB / 1.032 GB, free: 91.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/1.809, allocations: 0 / 1.032 GB, free: 91.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001046/1.81, allocations: 263.7 kB / 1.032 GB, free: 91.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (16): * Single equations (assignments): 15 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001834/1.812, allocations: 1.877 MB / 1.034 GB, free: 89.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004465/1.812, allocations: 209.2 kB / 1.034 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.812, allocations: 0 / 1.034 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/1.813, allocations: 88.33 kB / 1.034 GB, free: 89.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/1.813, allocations: 56.08 kB / 1.034 GB, free: 88.97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06465/1.878, allocations: 36.07 MB / 1.069 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/1.878, allocations: 0.7287 MB / 1.07 GB, free: 51.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005732/1.878, allocations: 106.1 kB / 1.07 GB, free: 51.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/1.879, allocations: 79.39 kB / 1.07 GB, free: 51.64 MB / 0.5105 GB Notification: Performance of SimCode: time 2.735e-06/1.879, allocations: 0 / 1.07 GB, free: 51.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/1.91, allocations: 15.77 MB / 1.086 GB, free: 35.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/1.91, allocations: 243.5 kB / 1.086 GB, free: 35.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/4.086, allocations: 0 / 1.086 GB, free: 35.65 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat does not exist to compare? outputFormat=mat