Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001511/0.001512, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2304/0.2304, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003301/0.003302, allocations: 75.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3785, allocations: 62.44 MB / 0.5306 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.216/0.5946, allocations: 177.3 MB / 0.7038 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007785/0.6024, allocations: 5.343 MB / 0.709 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006728/0.6031, allocations: 19.88 kB / 0.709 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.6042, allocations: 313.9 kB / 0.7093 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003421/0.6076, allocations: 1.251 MB / 0.7105 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.6101, allocations: 0.9641 MB / 0.7115 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002686/0.6128, allocations: 1.852 MB / 0.7133 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008284/0.6137, allocations: 461.4 kB / 0.7137 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002474/0.6161, allocations: 1.086 MB / 0.7148 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.6175, allocations: 0.6579 MB / 0.7154 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.6177, allocations: 60 kB / 0.7155 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.6192, allocations: 0.6242 MB / 0.7161 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003141/0.6195, allocations: 263.3 kB / 0.7163 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004941/0.62, allocations: 394.2 kB / 0.7167 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.622, allocations: 1.324 MB / 0.718 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.622, allocations: 3.938 kB / 0.718 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.923e-06/0.622, allocations: 0 / 0.718 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.6221, allocations: 0 / 0.718 GB, free: 1.039 MB / 0.5606 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.271/0.893, allocations: 1.113 MB / 0.7191 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.8931, allocations: 9.156 kB / 0.7191 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003029/0.8934, allocations: 96.62 kB / 0.7192 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.8946, allocations: 143.9 kB / 0.7193 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.8959, allocations: 0.5291 MB / 0.7198 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.8961, allocations: 100.7 kB / 0.7199 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.8962, allocations: 51.83 kB / 0.72 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.8979, allocations: 0.8202 MB / 0.7208 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.8979, allocations: 5.344 kB / 0.7208 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.789e-05/0.898, allocations: 26.31 kB / 0.7208 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.751e-05/0.8981, allocations: 40.14 kB / 0.7209 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.8993, allocations: 0.6214 MB / 0.7215 GB, free: 185 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004133/0.9034, allocations: 3.924 MB / 0.7253 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/0.904, allocations: 365.1 kB / 0.7256 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.9042, allocations: 168.5 kB / 0.7258 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.9043, allocations: 93.55 kB / 0.7259 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.9044, allocations: 46.89 kB / 0.7259 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.214e-06/0.9044, allocations: 3.969 kB / 0.7259 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005458/0.9098, allocations: 1.687 MB / 0.7276 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.9099, allocations: 132.8 kB / 0.7277 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008652/0.9108, allocations: 0.6143 MB / 0.7283 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.135e-05/0.9109, allocations: 32.86 kB / 0.7284 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.9111, allocations: 387.7 kB / 0.7287 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.9112, allocations: 144.5 kB / 0.7289 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.9115, allocations: 163.9 kB / 0.729 GB, free: 179 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.9116, allocations: 374.9 kB / 0.7294 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.912, allocations: 208.1 kB / 0.7296 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/0.9125, allocations: 0.5099 MB / 0.7301 GB, free: 178 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000922/0.9134, allocations: 0.7419 MB / 0.7308 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.9134, allocations: 7.406 kB / 0.7308 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001466/0.9149, allocations: 0.8916 MB / 0.7317 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.9149, allocations: 9.312 kB / 0.7317 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.915, allocations: 9.406 kB / 0.7317 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.9163, allocations: 314.2 kB / 0.732 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/0.9167, allocations: 125.4 kB / 0.7321 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.9178, allocations: 0.9308 MB / 0.733 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005687/0.9183, allocations: 25.94 kB / 0.733 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.9185, allocations: 69.7 kB / 0.7331 GB, free: 176 MB / 0.5606 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003955/0.9189, allocations: 244.8 kB / 0.7333 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.919, allocations: 69.2 kB / 0.7334 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.9205, allocations: 0.8701 MB / 0.7343 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.9205, allocations: 7.406 kB / 0.7343 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.9206, allocations: 5.062 kB / 0.7343 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.9206, allocations: 3.984 kB / 0.7343 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.9223, allocations: 1.46 MB / 0.7357 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.9223, allocations: 0 / 0.7357 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000957/0.9233, allocations: 210 kB / 0.7359 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.395e-05/0.9234, allocations: 28.66 kB / 0.7359 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.577e-05/0.9234, allocations: 20.08 kB / 0.7359 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.9249, allocations: 2.883 MB / 0.7388 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.9249, allocations: 3.656 kB / 0.7388 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.9259, allocations: 0.8188 MB / 0.7396 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/0.9262, allocations: 184.6 kB / 0.7397 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.9264, allocations: 15.94 kB / 0.7398 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.9268, allocations: 19.98 kB / 0.7398 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.967e-05/0.9269, allocations: 40.03 kB / 0.7398 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.944e-05/0.9269, allocations: 51.97 kB / 0.7399 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004265/0.9274, allocations: 431 kB / 0.7403 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.9274, allocations: 4 kB / 0.7403 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009491/0.9283, allocations: 255.7 kB / 0.7405 GB, free: 169.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001745/0.9301, allocations: 1.559 MB / 0.742 GB, free: 168 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.9312, allocations: 0.5566 MB / 0.7426 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.9312, allocations: 17.16 kB / 0.7426 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008275/0.9321, allocations: 415.1 kB / 0.743 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.9336, allocations: 363 kB / 0.7433 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006693/0.9403, allocations: 6.339 MB / 0.7495 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.9407, allocations: 0.9378 MB / 0.7505 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009279/0.9416, allocations: 469.7 kB / 0.7509 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004049/0.942, allocations: 287.3 kB / 0.7512 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.942, allocations: 0 / 0.7512 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05041/0.9924, allocations: 24.45 MB / 0.7751 GB, free: 134 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/14.19, allocations: 15.2 kB / 0.7751 GB, free: 134 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1)