Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.002149/0.002149, allocations: 183.8 kB / 13.19 MB, free: 2.129 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.7/1.7, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001008/0.001008, allocations: 92.41 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4255/0.4255, allocations: 43.46 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.033e-05/4.052e-05, allocations: 0 / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1435, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.756/1.9, allocations: 0.6189 GB / 1.092 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/1.9, allocations: 95.5 kB / 1.092 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.335/3.235, allocations: 228.9 MB / 1.316 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.484e-06/3.235, allocations: 0 / 1.316 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000166/3.236, allocations: 19.06 kB / 1.316 GB, free: 92.82 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.004775/3.24, allocations: 1.157 MB / 1.317 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/3.24, allocations: 8.25 kB / 1.317 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003535/3.241, allocations: 99.58 kB / 1.317 GB, free: 92.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/3.242, allocations: 139.9 kB / 1.317 GB, free: 92.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/3.244, allocations: 0.5331 MB / 1.317 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/3.244, allocations: 108.9 kB / 1.318 GB, free: 92.08 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/3.244, allocations: 49.84 kB / 1.318 GB, free: 92.08 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/3.246, allocations: 0.7984 MB / 1.318 GB, free: 91.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/3.246, allocations: 5.906 kB / 1.318 GB, free: 91.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/3.246, allocations: 27.81 kB / 1.318 GB, free: 91.85 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.72e-05/3.246, allocations: 42.47 kB / 1.318 GB, free: 91.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/3.248, allocations: 0.5984 MB / 1.319 GB, free: 91.85 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.005175/3.253, allocations: 3.927 MB / 1.323 GB, free: 89.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005419/3.253, allocations: 339.5 kB / 1.323 GB, free: 89.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/3.254, allocations: 158.3 kB / 1.323 GB, free: 89.24 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/3.254, allocations: 28.61 kB / 1.323 GB, free: 89.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/3.254, allocations: 37.59 kB / 1.323 GB, free: 89.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.547e-06/3.254, allocations: 0 / 1.323 GB, free: 89.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.006424/3.26, allocations: 1.513 MB / 1.325 GB, free: 88.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/3.26, allocations: 140.6 kB / 1.325 GB, free: 88.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008962/3.261, allocations: 0.5342 MB / 1.326 GB, free: 88.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.949e-05/3.261, allocations: 35.58 kB / 1.326 GB, free: 88.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/3.262, allocations: 363.1 kB / 1.326 GB, free: 88.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/3.262, allocations: 145.7 kB / 1.326 GB, free: 88.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/3.262, allocations: 14.34 kB / 1.326 GB, free: 88.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001348/3.262, allocations: 370.4 kB / 1.326 GB, free: 87.85 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/3.262, allocations: 196.3 kB / 1.327 GB, free: 87.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/3.263, allocations: 0.497 MB / 1.327 GB, free: 87.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/3.263, allocations: 296.5 kB / 1.327 GB, free: 87.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/3.263, allocations: 2.656 kB / 1.327 GB, free: 87.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001546/3.265, allocations: 0.8541 MB / 1.328 GB, free: 87.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/3.265, allocations: 6.344 kB / 1.328 GB, free: 87.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/3.265, allocations: 17.3 kB / 1.328 GB, free: 87.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/3.266, allocations: 309.9 kB / 1.329 GB, free: 87.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/3.267, allocations: 124 kB / 1.329 GB, free: 87.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009817/3.268, allocations: 0.9193 MB / 1.33 GB, free: 86.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007497/3.269, allocations: 46.8 kB / 1.33 GB, free: 86.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/3.269, allocations: 69.08 kB / 1.33 GB, free: 86.84 MB / 0.5105 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.000209/3.269, allocations: 165.1 kB / 1.33 GB, free: 86.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/3.269, allocations: 68.59 kB / 1.33 GB, free: 86.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/3.271, allocations: 0.6613 MB / 1.331 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/3.271, allocations: 2.156 kB / 1.331 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/3.271, allocations: 2.844 kB / 1.331 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/3.271, allocations: 2.953 kB / 1.331 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/3.273, allocations: 1.252 MB / 1.332 GB, free: 86.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/3.273, allocations: 0 / 1.332 GB, free: 86.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009748/3.274, allocations: 215.3 kB / 1.332 GB, free: 86.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.365e-05/3.274, allocations: 23.27 kB / 1.332 GB, free: 86.17 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/3.274, allocations: 15.17 kB / 1.332 GB, free: 86.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/3.276, allocations: 2.679 MB / 1.335 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/3.276, allocations: 6.609 kB / 1.335 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/3.277, allocations: 0.8344 MB / 1.335 GB, free: 83.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004042/3.277, allocations: 183 kB / 1.336 GB, free: 83.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/3.277, allocations: 7.156 kB / 1.336 GB, free: 83.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005377/3.278, allocations: 33.66 kB / 1.336 GB, free: 83.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/3.278, allocations: 36.36 kB / 1.336 GB, free: 83.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-05/3.278, allocations: 44.2 kB / 1.336 GB, free: 83.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005234/3.279, allocations: 421.6 kB / 1.336 GB, free: 83.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/3.279, allocations: 0 / 1.336 GB, free: 83.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001923/3.281, allocations: 383 kB / 1.336 GB, free: 83.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * 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.004098/3.285, allocations: 2.588 MB / 1.339 GB, free: 81.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001227/3.286, allocations: 0.5411 MB / 1.34 GB, free: 81.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/3.286, allocations: 0 / 1.34 GB, free: 81.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008793/3.287, allocations: 397.8 kB / 1.34 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/3.289, allocations: 343.8 kB / 1.34 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/3.292, allocations: 1.145 MB / 1.341 GB, free: 81.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/3.293, allocations: 0.9398 MB / 1.342 GB, free: 80.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001239/3.294, allocations: 266.9 kB / 1.343 GB, free: 80.78 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005976/3.295, allocations: 280.7 kB / 1.343 GB, free: 80.77 MB / 0.5105 GB Notification: Performance of SimCode: time 6.62e-07/3.295, allocations: 0 / 1.343 GB, free: 80.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08778/3.383, allocations: 38.77 MB / 1.381 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/3.383, allocations: 244.7 kB / 1.381 GB, free: 79.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.63/7.012, allocations: 2.906 kB / 1.381 GB, free: 79.27 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat