Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001167, allocations: 109 kB / 19.74 MB, free: 2.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 216.8 kB / 22.92 MB, free: 5.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 230.2 MB / 256.2 MB, free: 8.59 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1986/0.1986, allocations: 46.88 MB / 359.3 MB, free: 4.969 MB / 286.1 MB " [Timeout remaining time 180] 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.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002118/0.002118, allocations: 83.86 kB / 0.494 GB, free: 9.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2555, allocations: 65.98 MB / 0.5584 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4302/0.6857, allocations: 181 MB / 0.7351 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007396/0.6931, allocations: 6.554 MB / 0.7415 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004314/0.6935, allocations: 21.41 kB / 0.7416 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009389/0.6944, allocations: 425.3 kB / 0.742 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002959/0.6974, allocations: 1.781 MB / 0.7437 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002676/0.7001, allocations: 1.496 MB / 0.7452 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001569/0.7017, allocations: 2.125 MB / 0.7472 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000476/0.7021, allocations: 490.7 kB / 0.7477 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002661/0.7048, allocations: 1.781 MB / 0.7495 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/0.7068, allocations: 1.552 MB / 0.751 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.7069, allocations: 76.38 kB / 0.751 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.7091, allocations: 1.373 MB / 0.7524 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003006/0.7094, allocations: 457.2 kB / 0.7528 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004887/0.7098, allocations: 0.5564 MB / 0.7534 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00197/0.7118, allocations: 2.074 MB / 0.7554 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.7118, allocations: 0 / 0.7554 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.91e-07/0.7118, allocations: 0 / 0.7554 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.7118, allocations: 4.531 kB / 0.7554 GB, free: 1.445 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00245/0.7143, allocations: 1.472 MB / 0.7568 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.7143, allocations: 12.23 kB / 0.7568 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.7144, allocations: 136 kB / 0.757 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.7157, allocations: 283.3 kB / 0.7572 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008067/0.7165, allocations: 0.6453 MB / 0.7579 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.827e-05/0.7166, allocations: 113.6 kB / 0.758 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.926e-05/0.7167, allocations: 69.14 kB / 0.758 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.7181, allocations: 1.262 MB / 0.7593 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.7181, allocations: 3.094 kB / 0.7593 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.826e-05/0.7182, allocations: 38.8 kB / 0.7593 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.518e-05/0.7183, allocations: 80.16 kB / 0.7594 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.7195, allocations: 1.051 MB / 0.7604 GB, free: 16.04 MB / 0.5762 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.005412/0.7249, allocations: 4.92 MB / 0.7652 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.7253, allocations: 295.1 kB / 0.7655 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.7255, allocations: 137.5 kB / 0.7656 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.493e-05/0.7256, allocations: 102.6 kB / 0.7657 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.7256, allocations: 40.47 kB / 0.7658 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 1.684e-06/0.7256, allocations: 3.938 kB / 0.7658 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.005677/0.7313, allocations: 1.838 MB / 0.7676 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.7314, allocations: 138.8 kB / 0.7677 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008395/0.7322, allocations: 0.935 MB / 0.7686 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.7322, allocations: 36.27 kB / 0.7687 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.7326, allocations: 0.5854 MB / 0.7692 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.082e-05/0.7327, allocations: 136.8 kB / 0.7694 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.7329, allocations: 223.9 kB / 0.7696 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.733, allocations: 399.1 kB / 0.77 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.7334, allocations: 275.1 kB / 0.7702 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007573/0.7341, allocations: 0.866 MB / 0.7711 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.7353, allocations: 1.177 MB / 0.7722 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.7353, allocations: 5.25 kB / 0.7722 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001537/0.7368, allocations: 1.24 MB / 0.7734 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.7368, allocations: 14.53 kB / 0.7734 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.7369, allocations: 18.62 kB / 0.7735 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.738, allocations: 291.2 kB / 0.7737 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/0.7384, allocations: 205.6 kB / 0.7739 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009071/0.7393, allocations: 0.9159 MB / 0.7748 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006612/0.74, allocations: 47.36 kB / 0.7749 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/0.7401, allocations: 65.5 kB / 0.7749 GB, free: 9.203 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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.0003713/0.7404, allocations: 342.8 kB / 0.7753 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.7406, allocations: 95.69 kB / 0.7754 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008254/0.7414, allocations: 0.5283 MB / 0.7759 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.7414, allocations: 3.562 kB / 0.7759 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.7414, allocations: 3.531 kB / 0.7759 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.7414, allocations: 2.719 kB / 0.7759 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.7427, allocations: 1.124 MB / 0.777 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7427, allocations: 0 / 0.777 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008948/0.7436, allocations: 184.7 kB / 0.7772 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.221e-05/0.7437, allocations: 22.58 kB / 0.7772 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.7437, allocations: 9.375 kB / 0.7772 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.7457, allocations: 2.879 MB / 0.78 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7457, allocations: 0 / 0.78 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008365/0.7465, allocations: 0.7015 MB / 0.7807 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.7468, allocations: 206.4 kB / 0.7809 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.49e-05/0.7469, allocations: 6.969 kB / 0.7809 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.7473, allocations: 15.19 kB / 0.7809 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.7473, allocations: 32.02 kB / 0.7809 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.7474, allocations: 27.69 kB / 0.781 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006008/0.748, allocations: 0.6257 MB / 0.7816 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.748, allocations: 0 / 0.7816 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001116/0.7491, allocations: 382.6 kB / 0.7819 GB, free: 5.355 MB / 0.5762 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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.002419/0.7515, allocations: 1.794 MB / 0.7837 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009779/0.7525, allocations: 0.6471 MB / 0.7843 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7525, allocations: 5.25 kB / 0.7843 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007819/0.7533, allocations: 362.4 kB / 0.7847 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.7548, allocations: 427.1 kB / 0.7851 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008918/0.7638, allocations: 8.184 MB / 0.7931 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006071/0.7644, allocations: 1.027 MB / 0.7941 GB, free: 8 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009026/0.7653, allocations: 383 kB / 0.7944 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.7656, allocations: 324.8 kB / 0.7947 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of SimCode: time 7.02e-07/0.7656, allocations: 0 / 0.7947 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06223/0.8278, allocations: 31.2 MB / 0.8252 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.62/17.45, allocations: 10.12 kB / 0.8252 GB, free: 6.117 MB / 0.6075 GB " [Timeout remaining time 642] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.952035435999278]