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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 221.5 MB / 230.7 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 107 kB / 281.6 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2256/0.2256, allocations: 44.16 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.943e-05/1.955e-05, allocations: 224 / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1434, allocations: 61.9 MB / 0.4948 GB, free: 1.18 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.501/1.644, allocations: 0.4895 GB / 0.9843 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/1.645, allocations: 68.78 kB / 0.9843 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.09941/1.744, allocations: 47.47 MB / 1.031 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.884e-06/1.744, allocations: 0 / 1.031 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.277e-05/1.744, allocations: 4 kB / 1.031 GB, free: 56.22 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.001322/1.746, allocations: 0.6468 MB / 1.031 GB, free: 55.53 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.746, allocations: 11.98 kB / 1.031 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006772/1.752, allocations: 0.5965 MB / 1.032 GB, free: 54.92 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/1.753, allocations: 254.7 kB / 1.032 GB, free: 54.63 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.331e-05/1.753, allocations: 115.4 kB / 1.032 GB, free: 54.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.228e-05/1.753, allocations: 15.98 kB / 1.032 GB, free: 54.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008241/1.754, allocations: 0.5398 MB / 1.033 GB, free: 53.94 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/1.754, allocations: 316.2 kB / 1.033 GB, free: 53.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/1.754, allocations: 0 / 1.033 GB, free: 53.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/1.754, allocations: 3.953 kB / 1.033 GB, free: 53.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/1.754, allocations: 8 kB / 1.033 GB, free: 53.58 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.002384/1.757, allocations: 2.673 MB / 1.036 GB, free: 50.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009227/1.758, allocations: 126.5 kB / 1.036 GB, free: 50.44 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.212e-05/1.758, allocations: 41 kB / 1.036 GB, free: 50.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.593e-05/1.758, allocations: 85.09 kB / 1.036 GB, free: 50.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/1.758, allocations: 34.56 kB / 1.036 GB, free: 50.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 2.816e-06/1.758, allocations: 3.984 kB / 1.036 GB, free: 50.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.002976/1.761, allocations: 0.5026 MB / 1.037 GB, free: 49.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/1.761, allocations: 51.41 kB / 1.037 GB, free: 49.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/1.761, allocations: 193.8 kB / 1.037 GB, free: 49.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/1.761, allocations: 25.7 kB / 1.037 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/1.761, allocations: 210.8 kB / 1.037 GB, free: 49.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/1.761, allocations: 39.39 kB / 1.037 GB, free: 49.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/1.761, allocations: 0 / 1.037 GB, free: 49.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.275e-05/1.761, allocations: 334.8 kB / 1.037 GB, free: 48.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.443e-05/1.761, allocations: 64.8 kB / 1.037 GB, free: 48.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/1.761, allocations: 254.1 kB / 1.038 GB, free: 48.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009677/1.762, allocations: 268.6 kB / 1.038 GB, free: 48.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.762, allocations: 4 kB / 1.038 GB, free: 48.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001191/1.764, allocations: 0.5056 MB / 1.038 GB, free: 47.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/1.764, allocations: 8.938 kB / 1.038 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/1.764, allocations: 4 kB / 1.038 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/1.764, allocations: 16 kB / 1.038 GB, free: 47.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/1.764, allocations: 167.8 kB / 1.039 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002475/1.765, allocations: 0.6055 MB / 1.039 GB, free: 46.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/1.765, allocations: 8 kB / 1.039 GB, free: 46.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/1.765, allocations: 55.98 kB / 1.039 GB, free: 46.77 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 (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.000109/1.765, allocations: 120.9 kB / 1.039 GB, free: 46.64 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002277/1.765, allocations: 145.4 kB / 1.039 GB, free: 46.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/1.765, allocations: 23.72 kB / 1.04 GB, free: 46.47 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006231/1.766, allocations: 324.9 kB / 1.04 GB, free: 46.15 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/1.766, allocations: 4.188 kB / 1.04 GB, free: 46.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.766, allocations: 0 / 1.04 GB, free: 46.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.766, allocations: 7.922 kB / 1.04 GB, free: 46.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004899/1.766, allocations: 456.6 kB / 1.04 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/1.766, allocations: 0 / 1.04 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/1.767, allocations: 67.95 kB / 1.04 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/1.767, allocations: 7.953 kB / 1.04 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/1.767, allocations: 7.984 kB / 1.04 GB, free: 45.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001842/1.767, allocations: 0.6016 MB / 1.041 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.767, allocations: 0 / 1.041 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/1.767, allocations: 268.4 kB / 1.041 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/1.767, allocations: 109 kB / 1.041 GB, free: 44.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.248e-05/1.767, allocations: 4 kB / 1.041 GB, free: 44.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/1.768, allocations: 7.984 kB / 1.041 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/1.768, allocations: 23.86 kB / 1.041 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/1.768, allocations: 31.98 kB / 1.041 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.062e-05/1.768, allocations: 136.4 kB / 1.041 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/1.768, allocations: 0 / 1.041 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009644/1.769, allocations: 223.8 kB / 1.042 GB, free: 44.09 MB / 0.5105 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.001524/1.77, allocations: 1.597 MB / 1.043 GB, free: 42.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004458/1.771, allocations: 215.6 kB / 1.043 GB, free: 42.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.771, allocations: 4 kB / 1.043 GB, free: 42.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/1.771, allocations: 77.84 kB / 1.044 GB, free: 42.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/1.771, allocations: 20.7 kB / 1.044 GB, free: 42.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04341/1.815, allocations: 22.02 MB / 1.065 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/1.815, allocations: 0.7287 MB / 1.066 GB, free: 19.23 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008871/1.816, allocations: 397.8 kB / 1.066 GB, free: 18.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/1.816, allocations: 111.4 kB / 1.066 GB, free: 18.73 MB / 0.5105 GB Notification: Performance of SimCode: time 1.122e-06/1.816, allocations: 3.938 kB / 1.066 GB, free: 18.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/1.849, allocations: 11.41 MB / 1.077 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/1.849, allocations: 163.3 kB / 1.078 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/3.96, allocations: 4.031 kB / 1.078 GB, free: 7.137 MB / 0.5105 GB (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)