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.002354/0.002354, allocations: 182.2 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.2/2.2, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001168/0.001168, allocations: 90.59 kB / 267.5 MB, free: 14.11 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.2954/0.2954, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.359e-05/4.379e-05, allocations: 0 / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1348, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.936/2.071, allocations: 0.619 GB / 1.092 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/2.071, allocations: 97.17 kB / 1.092 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.176/3.247, allocations: 228.9 MB / 1.316 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.575e-06/3.247, allocations: 0 / 1.316 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.894e-05/3.247, allocations: 20.12 kB / 1.316 GB, free: 5.789 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.004163/3.251, allocations: 1.15 MB / 1.317 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/3.251, allocations: 16.03 kB / 1.317 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002428/3.251, allocations: 94.5 kB / 1.317 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/3.253, allocations: 135.1 kB / 1.317 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/3.255, allocations: 0.5442 MB / 1.317 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/3.255, allocations: 100.4 kB / 1.318 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/3.255, allocations: 47.94 kB / 1.318 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/3.257, allocations: 0.8036 MB / 1.318 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/3.257, allocations: 4 kB / 1.318 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/3.257, allocations: 23.98 kB / 1.318 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/3.257, allocations: 44.92 kB / 1.318 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/3.259, allocations: 0.5972 MB / 1.319 GB, free: 2.055 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.3892/3.648, allocations: 3.929 MB / 1.323 GB, free: 96.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009212/3.649, allocations: 327.9 kB / 1.323 GB, free: 96.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004902/3.65, allocations: 166.5 kB / 1.323 GB, free: 96.13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/3.65, allocations: 24.53 kB / 1.323 GB, free: 96.13 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/3.65, allocations: 38.41 kB / 1.323 GB, free: 96.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.326e-06/3.65, allocations: 0 / 1.323 GB, free: 96.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.009556/3.659, allocations: 1.512 MB / 1.325 GB, free: 95.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/3.659, allocations: 133.8 kB / 1.325 GB, free: 95.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/3.661, allocations: 0.5324 MB / 1.325 GB, free: 95.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/3.661, allocations: 41.36 kB / 1.326 GB, free: 95.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/3.661, allocations: 397.8 kB / 1.326 GB, free: 95.08 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/3.661, allocations: 146.1 kB / 1.326 GB, free: 95.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.972e-05/3.662, allocations: 13 kB / 1.326 GB, free: 95.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.094e-05/3.662, allocations: 337.9 kB / 1.326 GB, free: 94.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/3.662, allocations: 189.8 kB / 1.327 GB, free: 94.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007905/3.663, allocations: 0.4988 MB / 1.327 GB, free: 94.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008066/3.664, allocations: 282.3 kB / 1.327 GB, free: 94.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/3.664, allocations: 6.75 kB / 1.327 GB, free: 94.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002276/3.666, allocations: 0.8272 MB / 1.328 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/3.666, allocations: 10.97 kB / 1.328 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/3.666, allocations: 13.25 kB / 1.328 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00229/3.669, allocations: 307.1 kB / 1.328 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008996/3.669, allocations: 129 kB / 1.329 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/3.671, allocations: 0.9189 MB / 1.329 GB, free: 93.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/3.672, allocations: 50.27 kB / 1.33 GB, free: 93.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/3.673, allocations: 63.55 kB / 1.33 GB, free: 93.71 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.0003041/3.673, allocations: 158.2 kB / 1.33 GB, free: 93.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/3.673, allocations: 64.94 kB / 1.33 GB, free: 93.58 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/3.676, allocations: 0.6662 MB / 1.33 GB, free: 93.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/3.676, allocations: 4.094 kB / 1.33 GB, free: 93.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/3.676, allocations: 2.297 kB / 1.33 GB, free: 93.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/3.676, allocations: 4.5 kB / 1.33 GB, free: 93.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003335/3.679, allocations: 1.247 MB / 1.332 GB, free: 93.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/3.679, allocations: 5.031 kB / 1.332 GB, free: 93.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/3.681, allocations: 207.5 kB / 1.332 GB, free: 93.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001844/3.682, allocations: 26.75 kB / 1.332 GB, free: 93.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/3.682, allocations: 21.31 kB / 1.332 GB, free: 93.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/3.684, allocations: 2.676 MB / 1.335 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/3.684, allocations: 7.656 kB / 1.335 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/3.687, allocations: 0.8246 MB / 1.335 GB, free: 90.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006207/3.687, allocations: 187.8 kB / 1.336 GB, free: 90.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/3.687, allocations: 13 kB / 1.336 GB, free: 90.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008169/3.688, allocations: 25.72 kB / 1.336 GB, free: 90.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/3.688, allocations: 45.53 kB / 1.336 GB, free: 90.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/3.689, allocations: 45.62 kB / 1.336 GB, free: 90.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009323/3.689, allocations: 423.4 kB / 1.336 GB, free: 89.97 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.823e-06/3.69, allocations: 0 / 1.336 GB, free: 89.97 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002347/3.692, allocations: 385.2 kB / 1.336 GB, free: 89.97 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.005689/3.698, allocations: 2.574 MB / 1.339 GB, free: 88.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002241/3.7, allocations: 0.5345 MB / 1.339 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/3.7, allocations: 1.688 kB / 1.339 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001656/3.702, allocations: 389.1 kB / 1.34 GB, free: 88.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/3.705, allocations: 333 kB / 1.34 GB, free: 88.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004771/3.71, allocations: 1.211 MB / 1.341 GB, free: 88.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006603/3.71, allocations: 0.9353 MB / 1.342 GB, free: 87.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/3.711, allocations: 286 kB / 1.343 GB, free: 87.64 MB / 0.5105 GB Notification: Performance of SimCode: time 1.553e-06/3.712, allocations: 0 / 1.343 GB, free: 87.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.399/7.111, allocations: 23.79 MB / 1.366 GB, free: 87.18 MB / 0.5105 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