Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",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.003275/0.003275, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 98.06 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3561/0.3561, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.449e-05/2.461e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4209, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.976/2.397, allocations: 0.6183 GB / 1.084 GB, free: 118.8 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/2.397, allocations: 91.14 kB / 1.084 GB, free: 118.8 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.16/3.557, allocations: 226.3 MB / 1.305 GB, free: 95.1 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.543e-06/3.557, allocations: 0 / 1.305 GB, free: 95.1 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 6.893e-05/3.557, allocations: 17.94 kB / 1.305 GB, free: 95.09 MB / 0.4952 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003775/3.561, allocations: 1.158 MB / 1.307 GB, free: 94.21 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/3.561, allocations: 11.69 kB / 1.307 GB, free: 94.21 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/3.562, allocations: 140.8 kB / 1.307 GB, free: 94.14 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/3.564, allocations: 0.5372 MB / 1.307 GB, free: 93.72 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/3.564, allocations: 85.64 kB / 1.307 GB, free: 93.65 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/3.564, allocations: 27.94 kB / 1.307 GB, free: 93.65 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001302/3.565, allocations: 0.5211 MB / 1.308 GB, free: 93.43 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/3.567, allocations: 0.7289 MB / 1.309 GB, free: 92.9 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/3.567, allocations: 3.938 kB / 1.309 GB, free: 92.9 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-05/3.567, allocations: 7.891 kB / 1.309 GB, free: 92.89 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-05/3.567, allocations: 44.53 kB / 1.309 GB, free: 92.88 MB / 0.4952 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.005894/3.573, allocations: 3.892 MB / 1.312 GB, free: 89.03 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005327/3.574, allocations: 261.4 kB / 1.313 GB, free: 88.77 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/3.574, allocations: 133.3 kB / 1.313 GB, free: 88.64 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 8.209e-05/3.574, allocations: 28.91 kB / 1.313 GB, free: 88.61 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/3.574, allocations: 30.8 kB / 1.313 GB, free: 88.57 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=28): time 2.535e-06/3.574, allocations: 0 / 1.313 GB, free: 88.57 MB / 0.4952 GB Notification: Performance of matching and sorting (n=33): time 0.008364/3.582, allocations: 1.448 MB / 1.314 GB, free: 87.05 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/3.582, allocations: 136.5 kB / 1.314 GB, free: 86.89 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007428/3.583, allocations: 466 kB / 1.315 GB, free: 86.42 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/3.583, allocations: 25.7 kB / 1.315 GB, free: 86.39 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/3.584, allocations: 443.9 kB / 1.315 GB, free: 85.96 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/3.584, allocations: 114.4 kB / 1.315 GB, free: 85.84 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/3.584, allocations: 0 / 1.315 GB, free: 85.84 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 8.728e-05/3.584, allocations: 338.8 kB / 1.316 GB, free: 85.5 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/3.584, allocations: 185.5 kB / 1.316 GB, free: 85.32 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005996/3.585, allocations: 485.1 kB / 1.316 GB, free: 84.7 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009262/3.586, allocations: 323.4 kB / 1.317 GB, free: 84.39 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/3.586, allocations: 4 kB / 1.317 GB, free: 84.38 MB / 0.4952 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001994/3.588, allocations: 0.7869 MB / 1.317 GB, free: 83.59 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/3.588, allocations: 16.83 kB / 1.317 GB, free: 83.57 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/3.588, allocations: 8 kB / 1.317 GB, free: 83.56 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001799/3.59, allocations: 276.7 kB / 1.318 GB, free: 83.29 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006879/3.59, allocations: 123.8 kB / 1.318 GB, free: 83.17 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/3.592, allocations: 0.95 MB / 1.319 GB, free: 82.2 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009724/3.593, allocations: 32.03 kB / 1.319 GB, free: 82.16 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/3.593, allocations: 79.92 kB / 1.319 GB, free: 82.09 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002062/3.593, allocations: 124.7 kB / 1.319 GB, free: 81.96 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001159/3.594, allocations: 425.6 kB / 1.319 GB, free: 81.53 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/3.594, allocations: 59.25 kB / 1.319 GB, free: 81.47 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/3.596, allocations: 0.5128 MB / 1.32 GB, free: 80.95 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/3.596, allocations: 4 kB / 1.32 GB, free: 80.94 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/3.596, allocations: 4 kB / 1.32 GB, free: 80.94 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/3.596, allocations: 0 / 1.32 GB, free: 80.94 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/3.598, allocations: 0.9797 MB / 1.321 GB, free: 79.91 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/3.598, allocations: 0 / 1.321 GB, free: 79.91 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/3.6, allocations: 199.8 kB / 1.321 GB, free: 79.72 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/3.6, allocations: 24.83 kB / 1.321 GB, free: 79.69 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.633e-05/3.6, allocations: 8 kB / 1.321 GB, free: 79.68 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/3.602, allocations: 2.596 MB / 1.324 GB, free: 76.86 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/3.602, allocations: 3.938 kB / 1.324 GB, free: 76.86 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/3.604, allocations: 0.6855 MB / 1.324 GB, free: 76.14 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/3.604, allocations: 176.3 kB / 1.324 GB, free: 75.95 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/3.604, allocations: 4.156 kB / 1.324 GB, free: 75.95 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007311/3.605, allocations: 23.91 kB / 1.325 GB, free: 75.92 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/3.605, allocations: 35.92 kB / 1.325 GB, free: 75.89 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.231e-05/3.605, allocations: 35.98 kB / 1.325 GB, free: 75.85 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0005612/3.606, allocations: 350.8 kB / 1.325 GB, free: 75.51 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.01e-07/3.606, allocations: 4 kB / 1.325 GB, free: 75.51 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001724/3.608, allocations: 339.8 kB / 1.325 GB, free: 75.18 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003942/3.611, allocations: 2.385 MB / 1.328 GB, free: 72.89 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001492/3.613, allocations: 491.6 kB / 1.328 GB, free: 72.41 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/3.613, allocations: 0 / 1.328 GB, free: 72.41 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.001224/3.614, allocations: 350.4 kB / 1.328 GB, free: 72.06 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/3.616, allocations: 259 kB / 1.329 GB, free: 71.81 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/3.62, allocations: 1.108 MB / 1.33 GB, free: 70.65 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/3.62, allocations: 0.9373 MB / 1.331 GB, free: 69.69 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007732/3.621, allocations: 271.3 kB / 1.331 GB, free: 69.42 MB / 0.4952 GB Notification: Performance of SimCode: time 1.583e-06/3.621, allocations: 0 / 1.331 GB, free: 69.42 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.41/7.03, allocations: 22.81 MB / 1.353 GB, free: 46.61 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat