Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009207/0.0009207, allocations: 95.83 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009603/0.0009604, allocations: 181.4 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2491/0.2491, allocations: 44.22 MB / 337.1 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004813, allocations: 8 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1514, allocations: 61.92 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4306/0.5821, allocations: 126.1 MB / 0.5837 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005058/0.5872, allocations: 4.975 MB / 0.5885 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.116e-05/0.5873, allocations: 0 / 0.5885 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.5876, allocations: 39.8 kB / 0.5886 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002266/0.5898, allocations: 1.084 MB / 0.5896 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.5901, allocations: 130.4 kB / 0.5898 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.5905, allocations: 267.4 kB / 0.59 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.5906, allocations: 9.688 kB / 0.59 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.5909, allocations: 167.5 kB / 0.5902 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.5911, allocations: 155.5 kB / 0.5903 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.5911, allocations: 4 kB / 0.5903 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.5931, allocations: 1.057 MB / 0.5914 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.047e-05/0.5932, allocations: 51.8 kB / 0.5914 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.5933, allocations: 65.64 kB / 0.5915 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008169/0.5941, allocations: 0.5721 MB / 0.592 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.5941, allocations: 0 / 0.592 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5941, allocations: 0 / 0.592 GB, free: 11.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.5941, allocations: 3.938 kB / 0.592 GB, free: 11.21 MB / 430.1 MB 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.001087/0.5952, allocations: 0.6209 MB / 0.5926 GB, free: 10.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.5953, allocations: 8.031 kB / 0.5927 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.737e-05/0.5953, allocations: 62.53 kB / 0.5927 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007361/0.6027, allocations: 0.5854 MB / 0.5933 GB, free: 9.879 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/0.6032, allocations: 258.6 kB / 0.5935 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.6034, allocations: 123.4 kB / 0.5936 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.362e-05/0.6035, allocations: 26.25 kB / 0.5937 GB, free: 9.414 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.6046, allocations: 0.5595 MB / 0.5942 GB, free: 8.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.6047, allocations: 3.938 kB / 0.5942 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.001e-05/0.6047, allocations: 12 kB / 0.5942 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.6048, allocations: 8 kB / 0.5942 GB, free: 8.797 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.6062, allocations: 0.6299 MB / 0.5949 GB, free: 8.168 MB / 430.1 MB 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.002052/0.6082, allocations: 1.707 MB / 0.5965 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.6086, allocations: 156.3 kB / 0.5967 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.6096, allocations: 1.238 MB / 0.5979 GB, free: 4.684 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.6097, allocations: 50.45 kB / 0.5979 GB, free: 4.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.6097, allocations: 0 / 0.5979 GB, free: 4.625 MB / 430.1 MB 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.0009642/0.6107, allocations: 329 kB / 0.5982 GB, free: 4.301 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.6107, allocations: 55.41 kB / 0.5983 GB, free: 4.234 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.6109, allocations: 183 kB / 0.5985 GB, free: 4.047 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.611, allocations: 29.7 kB / 0.5985 GB, free: 4.012 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.39e-05/0.6111, allocations: 187.3 kB / 0.5987 GB, free: 3.824 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.6111, allocations: 63.11 kB / 0.5987 GB, free: 3.762 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.6111, allocations: 8 kB / 0.5987 GB, free: 3.754 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.6112, allocations: 326.8 kB / 0.5991 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.6114, allocations: 60.72 kB / 0.5991 GB, free: 3.367 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.6116, allocations: 268 kB / 0.5994 GB, free: 3.012 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.6118, allocations: 103.8 kB / 0.5995 GB, free: 2.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.6118, allocations: 4 kB / 0.5995 GB, free: 2.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005553/0.6124, allocations: 369.4 kB / 0.5998 GB, free: 2.539 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.6124, allocations: 8 kB / 0.5998 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.6124, allocations: 11.94 kB / 0.5998 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.6124, allocations: 15.92 kB / 0.5999 GB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.6128, allocations: 123.8 kB / 0.6 GB, free: 2.383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000323/0.6132, allocations: 0.6016 MB / 0.6006 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.6134, allocations: 51.77 kB / 0.6006 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.6135, allocations: 43.97 kB / 0.6007 GB, free: 1.664 MB / 430.1 MB 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.0001299/0.6136, allocations: 145.7 kB / 0.6008 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.6137, allocations: 19.81 kB / 0.6008 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008939/0.6146, allocations: 459.8 kB / 0.6013 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6146, allocations: 4 kB / 0.6013 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.6146, allocations: 0 / 0.6013 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.6146, allocations: 3.984 kB / 0.6013 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007866/0.6154, allocations: 0.6352 MB / 0.6019 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.6154, allocations: 0 / 0.6019 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.6156, allocations: 59.91 kB / 0.6019 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.6156, allocations: 8.203 kB / 0.6019 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.6157, allocations: 15.98 kB / 0.602 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002674/0.6159, allocations: 0.5861 MB / 0.6025 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.616, allocations: 7.938 kB / 0.6025 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.6163, allocations: 396.6 kB / 0.6029 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.793e-05/0.6164, allocations: 112.8 kB / 0.603 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.6165, allocations: 4 kB / 0.603 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.6167, allocations: 15.98 kB / 0.603 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.6168, allocations: 19.94 kB / 0.6031 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.6168, allocations: 23.98 kB / 0.6031 GB, free: 14.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.6169, allocations: 135.1 kB / 0.6032 GB, free: 14.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6169, allocations: 0 / 0.6032 GB, free: 14.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006402/0.6176, allocations: 155.9 kB / 0.6034 GB, free: 14.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 14 * 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.001273/0.6189, allocations: 1.651 MB / 0.605 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004745/0.6194, allocations: 220 kB / 0.6052 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6194, allocations: 3.938 kB / 0.6052 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.6196, allocations: 85.33 kB / 0.6053 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.62, allocations: 52.58 kB / 0.6053 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.6234, allocations: 5.861 MB / 0.611 GB, free: 6.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.6237, allocations: 0.7289 MB / 0.6118 GB, free: 5.742 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008167/0.6245, allocations: 379.1 kB / 0.6121 GB, free: 5.371 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.6247, allocations: 91.38 kB / 0.6122 GB, free: 5.281 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6247, allocations: 0 / 0.6122 GB, free: 5.281 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.6454, allocations: 7.106 MB / 0.6191 GB, free: 14.34 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.6456, allocations: 242 kB / 0.6194 GB, free: 14.06 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.574, allocations: 0 / 0.6194 GB, free: 14.06 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat does not exist to compare? outputFormat=mat