Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",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.001456/0.001456, allocations: 185.8 kB / 15.76 MB, free: 6.348 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.4 MB / 221.9 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000922/0.0009223, allocations: 94.88 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2618/0.2618, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003283, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1523, allocations: 58.85 MB / 490.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.424/9.576, allocations: 3.614 GB / 4.093 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/9.577, allocations: 98.08 kB / 4.093 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.765/11.34, allocations: 434 MB / 4.517 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.836e-06/11.34, allocations: 3.344 kB / 4.517 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001121/11.34, allocations: 25.12 kB / 4.517 GB, free: 66.68 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.01042/11.35, allocations: 2.431 MB / 4.519 GB, free: 65.63 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/11.35, allocations: 10.75 kB / 4.519 GB, free: 65.63 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006509/11.35, allocations: 124.5 kB / 4.52 GB, free: 65.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007549/11.35, allocations: 111.5 kB / 4.52 GB, free: 65.55 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/11.36, allocations: 0.6339 MB / 4.52 GB, free: 65.32 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/11.36, allocations: 117 kB / 4.52 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/11.36, allocations: 69.59 kB / 4.52 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/11.36, allocations: 1.152 MB / 4.522 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/11.36, allocations: 2.062 kB / 4.522 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/11.36, allocations: 39.89 kB / 4.522 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.042e-05/11.36, allocations: 49.77 kB / 4.522 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/11.36, allocations: 1.152 MB / 4.523 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006654/11.37, allocations: 4.688 MB / 4.527 GB, free: 62.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/11.37, allocations: 0.8225 MB / 4.528 GB, free: 62.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/11.37, allocations: 1.571 MB / 4.53 GB, free: 61.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/11.37, allocations: 41.38 kB / 4.53 GB, free: 61.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=70): time 3.407e-06/11.37, allocations: 5.656 kB / 4.53 GB, free: 61.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82): time 0.01365/11.38, allocations: 4.284 MB / 4.534 GB, free: 60.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.311e-05/11.38, allocations: 113.6 kB / 4.534 GB, free: 60.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009319/11.38, allocations: 0.5873 MB / 4.535 GB, free: 60.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001452/11.38, allocations: 39.64 kB / 4.535 GB, free: 60.24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/11.39, allocations: 390.6 kB / 4.535 GB, free: 60.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/11.39, allocations: 289.9 kB / 4.535 GB, free: 59.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/11.39, allocations: 19.12 kB / 4.535 GB, free: 59.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001724/11.39, allocations: 388.2 kB / 4.536 GB, free: 59.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009223/11.39, allocations: 499.7 kB / 4.536 GB, free: 59.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/11.39, allocations: 0.7434 MB / 4.537 GB, free: 59.31 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009499/11.39, allocations: 0.5854 MB / 4.537 GB, free: 59.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/11.39, allocations: 2.938 kB / 4.537 GB, free: 59.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0033/11.39, allocations: 1.68 MB / 4.539 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/11.39, allocations: 7.875 kB / 4.539 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/11.39, allocations: 11.41 kB / 4.539 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00774/11.4, allocations: 1.445 MB / 4.541 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000792/11.4, allocations: 161.3 kB / 4.541 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/11.4, allocations: 1.538 MB / 4.542 GB, free: 58.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/11.4, allocations: 94.91 kB / 4.542 GB, free: 58.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/11.41, allocations: 62.23 kB / 4.542 GB, free: 58.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0008955/11.41, allocations: 300.8 kB / 4.543 GB, free: 58.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002809/11.41, allocations: 88.53 kB / 4.543 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003366/11.41, allocations: 1.645 MB / 4.544 GB, free: 58.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/11.41, allocations: 7.344 kB / 4.544 GB, free: 58.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/11.41, allocations: 0 / 4.544 GB, free: 58.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/11.41, allocations: 14.69 kB / 4.544 GB, free: 58.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00422/11.41, allocations: 2.516 MB / 4.547 GB, free: 57.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/11.41, allocations: 3.531 kB / 4.547 GB, free: 57.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/11.42, allocations: 274.2 kB / 4.547 GB, free: 57.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001787/11.42, allocations: 403 kB / 4.547 GB, free: 57.92 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-05/11.42, allocations: 31.83 kB / 4.547 GB, free: 57.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/11.42, allocations: 2.275 MB / 4.55 GB, free: 56.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/11.42, allocations: 0 / 4.55 GB, free: 56.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003467/11.42, allocations: 2.091 MB / 4.552 GB, free: 55.74 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007368/11.42, allocations: 290.4 kB / 4.552 GB, free: 55.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/11.42, allocations: 26.02 kB / 4.552 GB, free: 55.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008525/11.42, allocations: 76.3 kB / 4.552 GB, free: 55.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/11.42, allocations: 69.19 kB / 4.552 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.952e-05/11.42, allocations: 52.77 kB / 4.552 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006007/11.43, allocations: 484.2 kB / 4.553 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/11.43, allocations: 0 / 4.553 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003042/11.43, allocations: 0.8343 MB / 4.554 GB, free: 55.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006859/11.44, allocations: 4.508 MB / 4.558 GB, free: 53.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002623/11.44, allocations: 1.251 MB / 4.559 GB, free: 53.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/11.44, allocations: 7.922 kB / 4.559 GB, free: 53.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001551/11.44, allocations: 0.6925 MB / 4.56 GB, free: 53.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/11.44, allocations: 468.7 kB / 4.56 GB, free: 53.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/11.46, allocations: 11.95 MB / 4.572 GB, free: 46.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/11.46, allocations: 1.061 MB / 4.573 GB, free: 46.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001395/11.46, allocations: 309.6 kB / 4.573 GB, free: 46.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005958/11.46, allocations: 345.5 kB / 4.574 GB, free: 46.08 MB / 0.5105 GB Notification: Performance of SimCode: time 1.206e-05/11.46, allocations: 3.391 kB / 4.574 GB, free: 46.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08723/11.55, allocations: 53.7 MB / 4.626 GB, free: 31.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/11.55, allocations: 265 kB / 4.626 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.985/15.53, allocations: 4 kB / 4.626 GB, free: 31.23 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat