Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",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.001524/0.001523, allocations: 180.1 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 221.3 MB / 236 MB, free: 2.957 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.0009752/0.0009756, allocations: 91.55 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2436/0.2436, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.387e-05/3.39e-05, allocations: 4.219 kB / 451.9 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1563, allocations: 61.92 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.586/1.743, allocations: 0.502 GB / 1.004 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/1.743, allocations: 74.64 kB / 1.004 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1026/1.846, allocations: 48.3 MB / 1.051 GB, free: 74.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.863e-06/1.846, allocations: 0 / 1.051 GB, free: 74.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.585e-05/1.846, allocations: 4 kB / 1.051 GB, free: 74.91 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.001637/1.847, allocations: 0.6468 MB / 1.052 GB, free: 74.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.325e-05/1.847, allocations: 12.03 kB / 1.052 GB, free: 74.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.342e-05/1.848, allocations: 58.53 kB / 1.052 GB, free: 74.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006769/1.854, allocations: 0.5853 MB / 1.052 GB, free: 73.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/1.855, allocations: 258.6 kB / 1.053 GB, free: 73.26 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/1.855, allocations: 127.4 kB / 1.053 GB, free: 73.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/1.855, allocations: 24 kB / 1.053 GB, free: 73.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009267/1.856, allocations: 0.5282 MB / 1.053 GB, free: 72.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/1.856, allocations: 4 kB / 1.053 GB, free: 72.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-05/1.856, allocations: 12 kB / 1.053 GB, free: 72.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/1.856, allocations: 11.98 kB / 1.053 GB, free: 72.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/1.857, allocations: 0.5637 MB / 1.054 GB, free: 71.93 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.001906/1.859, allocations: 1.706 MB / 1.055 GB, free: 70.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/1.859, allocations: 150.8 kB / 1.056 GB, free: 69.92 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/1.859, allocations: 72.84 kB / 1.056 GB, free: 69.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000644/1.86, allocations: 0.7279 MB / 1.056 GB, free: 69.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/1.86, allocations: 42.56 kB / 1.056 GB, free: 68.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=17): time 3.747e-06/1.86, allocations: 0 / 1.056 GB, free: 68.96 MB / 0.5261 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=17): time 0.0009181/1.861, allocations: 264.2 kB / 1.057 GB, free: 68.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/1.861, allocations: 63.36 kB / 1.057 GB, free: 68.63 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/1.861, allocations: 170.1 kB / 1.057 GB, free: 68.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/1.861, allocations: 33.7 kB / 1.057 GB, free: 68.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/1.861, allocations: 191.2 kB / 1.057 GB, free: 68.22 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/1.861, allocations: 59.2 kB / 1.057 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/1.861, allocations: 4 kB / 1.057 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.176e-05/1.862, allocations: 330.8 kB / 1.057 GB, free: 67.83 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/1.862, allocations: 60.75 kB / 1.058 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/1.862, allocations: 252 kB / 1.058 GB, free: 67.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/1.862, allocations: 117.1 kB / 1.058 GB, free: 67.31 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/1.862, allocations: 4 kB / 1.058 GB, free: 67.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004883/1.863, allocations: 357.7 kB / 1.058 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/1.863, allocations: 11.98 kB / 1.058 GB, free: 66.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.863, allocations: 8 kB / 1.058 GB, free: 66.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/1.863, allocations: 11.94 kB / 1.058 GB, free: 66.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/1.863, allocations: 124.4 kB / 1.058 GB, free: 66.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002801/1.863, allocations: 0.6094 MB / 1.059 GB, free: 66.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/1.864, allocations: 43.59 kB / 1.059 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.304e-05/1.864, allocations: 43.98 kB / 1.059 GB, free: 66.08 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 (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 9.821e-05/1.864, allocations: 128.8 kB / 1.059 GB, free: 65.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/1.864, allocations: 19.81 kB / 1.059 GB, free: 65.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007729/1.865, allocations: 438.3 kB / 1.06 GB, free: 65.49 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.865, allocations: 4 kB / 1.06 GB, free: 65.49 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.865, allocations: 0 / 1.06 GB, free: 65.49 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.865, allocations: 0 / 1.06 GB, free: 65.49 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007828/1.865, allocations: 0.7421 MB / 1.06 GB, free: 64.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.865, allocations: 3.938 kB / 1.06 GB, free: 64.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/1.866, allocations: 67.89 kB / 1.06 GB, free: 64.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/1.866, allocations: 4 kB / 1.06 GB, free: 64.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/1.866, allocations: 12 kB / 1.06 GB, free: 64.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002039/1.866, allocations: 0.5941 MB / 1.061 GB, free: 63.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.866, allocations: 7.953 kB / 1.061 GB, free: 63.92 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/1.866, allocations: 395.9 kB / 1.061 GB, free: 63.44 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.311e-05/1.866, allocations: 112.8 kB / 1.062 GB, free: 63.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/1.866, allocations: 4 kB / 1.062 GB, free: 63.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/1.867, allocations: 15.98 kB / 1.062 GB, free: 63.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/1.867, allocations: 19.92 kB / 1.062 GB, free: 63.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/1.867, allocations: 27.98 kB / 1.062 GB, free: 63.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.769e-05/1.867, allocations: 131 kB / 1.062 GB, free: 63.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/1.867, allocations: 0 / 1.062 GB, free: 63.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009246/1.868, allocations: 199.8 kB / 1.062 GB, free: 62.92 MB / 0.5261 GB 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 () * 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.001698/1.869, allocations: 2.038 MB / 1.064 GB, free: 60.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004398/1.87, allocations: 205.3 kB / 1.064 GB, free: 60.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/1.87, allocations: 4.188 kB / 1.064 GB, free: 60.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/1.87, allocations: 75.84 kB / 1.064 GB, free: 60.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/1.871, allocations: 62.42 kB / 1.064 GB, free: 60.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04316/1.914, allocations: 21.51 MB / 1.085 GB, free: 38.79 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/1.914, allocations: 0.7365 MB / 1.086 GB, free: 38.03 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008194/1.915, allocations: 429.6 kB / 1.086 GB, free: 37.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/1.915, allocations: 99.36 kB / 1.086 GB, free: 37.51 MB / 0.5261 GB Notification: Performance of SimCode: time 7.81e-07/1.915, allocations: 0 / 1.086 GB, free: 37.51 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/1.945, allocations: 16.38 MB / 1.102 GB, free: 21.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/1.945, allocations: 220.7 kB / 1.103 GB, free: 21.03 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/4.318, allocations: 0 / 1.103 GB, free: 21.03 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1)