Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.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.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 198.1 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.33/1.33, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008295/0.0008296, allocations: 93.86 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1992/0.1992, allocations: 45.15 MB / 383.8 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.477e-05/1.481e-05, allocations: 4 kB / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1185, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.438/1.557, allocations: 0.4906 GB / 0.995 GB, free: 174.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/1.557, allocations: 68.53 kB / 0.9951 GB, free: 174 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1024/1.659, allocations: 47.54 MB / 1.041 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.453e-06/1.659, allocations: 0 / 1.041 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.58e-05/1.659, allocations: 4 kB / 1.042 GB, free: 126.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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001525/1.661, allocations: 0.6552 MB / 1.042 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/1.661, allocations: 8.031 kB / 1.042 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007087/1.668, allocations: 0.6048 MB / 1.043 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/1.669, allocations: 254.7 kB / 1.043 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/1.669, allocations: 119.4 kB / 1.043 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/1.669, allocations: 19.89 kB / 1.043 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008971/1.67, allocations: 0.5398 MB / 1.044 GB, free: 124 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/1.67, allocations: 316.2 kB / 1.044 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/1.67, allocations: 0 / 1.044 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/1.67, allocations: 4 kB / 1.044 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/1.67, allocations: 11.98 kB / 1.044 GB, free: 123.6 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.002713/1.673, allocations: 2.688 MB / 1.047 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009243/1.674, allocations: 114.6 kB / 1.047 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.23e-05/1.674, allocations: 40.94 kB / 1.047 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-05/1.674, allocations: 93.08 kB / 1.047 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/1.674, allocations: 34.69 kB / 1.047 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 2.073e-06/1.674, allocations: 0 / 1.047 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.002975/1.677, allocations: 0.5102 MB / 1.047 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/1.677, allocations: 59.39 kB / 1.047 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/1.677, allocations: 179 kB / 1.048 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/1.677, allocations: 25.7 kB / 1.048 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/1.677, allocations: 214.7 kB / 1.048 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/1.677, allocations: 43.45 kB / 1.048 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/1.677, allocations: 0 / 1.048 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.438e-05/1.678, allocations: 326.8 kB / 1.048 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.712e-05/1.678, allocations: 64.86 kB / 1.048 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/1.678, allocations: 250 kB / 1.048 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/1.679, allocations: 283.6 kB / 1.049 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.679, allocations: 4 kB / 1.049 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001373/1.68, allocations: 0.5147 MB / 1.049 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/1.68, allocations: 12.16 kB / 1.049 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/1.68, allocations: 4 kB / 1.049 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/1.68, allocations: 12 kB / 1.049 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/1.681, allocations: 167.8 kB / 1.049 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002751/1.681, allocations: 0.6055 MB / 1.05 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/1.681, allocations: 8 kB / 1.05 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/1.682, allocations: 56.27 kB / 1.05 GB, free: 116.8 MB / 0.5261 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 (47): * Single equations (assignments): 46 * 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.0001101/1.682, allocations: 124.8 kB / 1.05 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002327/1.682, allocations: 154.3 kB / 1.05 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/1.682, allocations: 19.81 kB / 1.05 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006668/1.683, allocations: 322.8 kB / 1.051 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/1.683, allocations: 8 kB / 1.051 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.683, allocations: 0 / 1.051 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.683, allocations: 0 / 1.051 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/1.683, allocations: 456.6 kB / 1.051 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.683, allocations: 3.938 kB / 1.051 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/1.683, allocations: 71.89 kB / 1.051 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/1.684, allocations: 4 kB / 1.051 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/1.684, allocations: 4 kB / 1.051 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002023/1.684, allocations: 0.5978 MB / 1.052 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.684, allocations: 7.953 kB / 1.052 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/1.684, allocations: 270.1 kB / 1.052 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.768e-05/1.684, allocations: 112.9 kB / 1.052 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/1.684, allocations: 7.953 kB / 1.052 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/1.684, allocations: 11.92 kB / 1.052 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/1.684, allocations: 11.98 kB / 1.052 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/1.684, allocations: 27.98 kB / 1.052 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.878e-05/1.685, allocations: 131.4 kB / 1.052 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/1.685, allocations: 0 / 1.052 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008956/1.685, allocations: 239.8 kB / 1.053 GB, free: 114.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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.001903/1.687, allocations: 1.604 MB / 1.054 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004495/1.688, allocations: 203.7 kB / 1.054 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.688, allocations: 1.875 kB / 1.054 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/1.688, allocations: 75.89 kB / 1.054 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/1.688, allocations: 28.83 kB / 1.054 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04664/1.735, allocations: 22.22 MB / 1.076 GB, free: 89.76 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/1.735, allocations: 0.7327 MB / 1.077 GB, free: 89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009471/1.736, allocations: 393.8 kB / 1.077 GB, free: 88.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/1.737, allocations: 111.4 kB / 1.077 GB, free: 88.51 MB / 0.5261 GB Notification: Performance of SimCode: time 8.92e-07/1.737, allocations: 0 / 1.077 GB, free: 88.51 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/1.771, allocations: 11.47 MB / 1.089 GB, free: 77.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/1.772, allocations: 165.3 kB / 1.089 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/3.852, allocations: 0 / 1.089 GB, free: 76.86 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1)