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.001204/0.001204, allocations: 182.5 kB / 13.19 MB, free: 2.129 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.845/1.845, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.001035/0.001035, allocations: 91.77 kB / 267 MB, free: 9.277 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.4906/0.4906, allocations: 43.46 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.45e-05, allocations: 4 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1586, allocations: 58.84 MB / 484.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.531/1.69, allocations: 497.6 MB / 0.9588 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/1.69, allocations: 78.3 kB / 0.9589 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.1254/1.816, allocations: 57.28 MB / 1.015 GB, free: 94.72 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.675e-06/1.816, allocations: 0 / 1.015 GB, free: 94.72 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.581e-05/1.816, allocations: 4 kB / 1.015 GB, free: 94.71 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.001831/1.818, allocations: 0.6843 MB / 1.015 GB, free: 93.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/1.818, allocations: 12.03 kB / 1.016 GB, free: 93.97 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.674e-05/1.818, allocations: 66.53 kB / 1.016 GB, free: 93.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007072/1.825, allocations: 0.5904 MB / 1.016 GB, free: 93.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005501/1.826, allocations: 254.6 kB / 1.016 GB, free: 93.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/1.826, allocations: 131.4 kB / 1.017 GB, free: 92.87 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/1.826, allocations: 20 kB / 1.017 GB, free: 92.85 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009946/1.827, allocations: 0.5205 MB / 1.017 GB, free: 92.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/1.827, allocations: 3.938 kB / 1.017 GB, free: 92.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/1.827, allocations: 12 kB / 1.017 GB, free: 92.28 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/1.827, allocations: 12 kB / 1.017 GB, free: 92.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/1.828, allocations: 0.5675 MB / 1.018 GB, free: 91.7 MB / 0.5105 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.002015/1.83, allocations: 1.624 MB / 1.019 GB, free: 89.95 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/1.831, allocations: 154.5 kB / 1.019 GB, free: 89.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/1.831, allocations: 72.84 kB / 1.019 GB, free: 89.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/1.832, allocations: 1.215 MB / 1.021 GB, free: 88.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/1.832, allocations: 34.56 kB / 1.021 GB, free: 88.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 2.074e-06/1.832, allocations: 0 / 1.021 GB, free: 88.25 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.0008555/1.833, allocations: 285.4 kB / 1.021 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/1.833, allocations: 59.36 kB / 1.021 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/1.833, allocations: 157.4 kB / 1.021 GB, free: 87.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/1.833, allocations: 33.7 kB / 1.021 GB, free: 87.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.758e-05/1.833, allocations: 179.4 kB / 1.021 GB, free: 87.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/1.833, allocations: 71.08 kB / 1.021 GB, free: 87.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.607e-05/1.833, allocations: 4 kB / 1.021 GB, free: 87.44 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.508e-05/1.833, allocations: 326.8 kB / 1.022 GB, free: 87.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/1.833, allocations: 68.73 kB / 1.022 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/1.833, allocations: 259.8 kB / 1.022 GB, free: 86.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/1.834, allocations: 100.7 kB / 1.022 GB, free: 86.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.834, allocations: 4 kB / 1.022 GB, free: 86.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004819/1.834, allocations: 354 kB / 1.022 GB, free: 86.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/1.834, allocations: 12.92 kB / 1.022 GB, free: 86.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.834, allocations: 4 kB / 1.022 GB, free: 86.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-05/1.834, allocations: 12 kB / 1.022 GB, free: 86.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/1.835, allocations: 127.8 kB / 1.023 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002694/1.835, allocations: 0.6054 MB / 1.023 GB, free: 85.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/1.835, allocations: 43.59 kB / 1.023 GB, free: 85.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/1.835, allocations: 39.98 kB / 1.023 GB, free: 85.38 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 () * 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.0001091/1.835, allocations: 136.8 kB / 1.023 GB, free: 85.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/1.835, allocations: 19.81 kB / 1.023 GB, free: 85.22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006894/1.836, allocations: 320.5 kB / 1.024 GB, free: 84.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/1.836, allocations: 4 kB / 1.024 GB, free: 84.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.836, allocations: 0 / 1.024 GB, free: 84.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/1.836, allocations: 3.984 kB / 1.024 GB, free: 84.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005871/1.837, allocations: 0.5364 MB / 1.024 GB, free: 84.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.837, allocations: 4 kB / 1.024 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/1.837, allocations: 59.91 kB / 1.024 GB, free: 84.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/1.837, allocations: 4 kB / 1.024 GB, free: 84.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/1.837, allocations: 11.98 kB / 1.024 GB, free: 84.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002036/1.837, allocations: 0.5979 MB / 1.025 GB, free: 83.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.837, allocations: 4 kB / 1.025 GB, free: 83.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/1.838, allocations: 340.1 kB / 1.025 GB, free: 83.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/1.838, allocations: 116.8 kB / 1.025 GB, free: 83.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/1.838, allocations: 8 kB / 1.025 GB, free: 83.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/1.838, allocations: 8 kB / 1.025 GB, free: 83.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/1.838, allocations: 31.86 kB / 1.025 GB, free: 83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/1.838, allocations: 19.94 kB / 1.025 GB, free: 82.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.175e-05/1.838, allocations: 135.1 kB / 1.026 GB, free: 82.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/1.838, allocations: 3.938 kB / 1.026 GB, free: 82.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00105/1.839, allocations: 255.6 kB / 1.026 GB, free: 82.59 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 () * 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.002154/1.841, allocations: 1.864 MB / 1.028 GB, free: 80.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004688/1.842, allocations: 205.5 kB / 1.028 GB, free: 80.49 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/1.842, allocations: 64 / 1.028 GB, free: 80.49 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/1.842, allocations: 79.91 kB / 1.028 GB, free: 80.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/1.842, allocations: 47.28 kB / 1.028 GB, free: 80.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06549/1.908, allocations: 30.52 MB / 1.058 GB, free: 49.66 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/1.908, allocations: 0.7287 MB / 1.058 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005628/1.909, allocations: 105.9 kB / 1.059 GB, free: 48.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/1.909, allocations: 75.39 kB / 1.059 GB, free: 48.73 MB / 0.5105 GB Notification: Performance of SimCode: time 1.022e-06/1.909, allocations: 0 / 1.059 GB, free: 48.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0512/1.96, allocations: 17.41 MB / 1.076 GB, free: 31.37 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/1.96, allocations: 219.9 kB / 1.076 GB, free: 31.13 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/4.461, allocations: 4.062 kB / 1.076 GB, free: 31.13 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