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.SimpleNaturalGas.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.001208/0.001208, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.00138/0.00138, allocations: 218.6 kB / 22.92 MB, free: 5.195 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.297/1.297, allocations: 230.2 MB / 256.1 MB, free: 8.633 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.1965/0.1965, allocations: 46.88 MB / 359.3 MB, free: 4.996 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.SimpleNaturalGas,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",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.002113/0.002113, allocations: 79.88 kB / 0.494 GB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2611, allocations: 65.99 MB / 0.5584 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4291/0.6903, allocations: 180.8 MB / 0.735 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007535/0.6978, allocations: 6.548 MB / 0.7414 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004397/0.6982, allocations: 22.03 kB / 0.7414 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009578/0.6992, allocations: 444.4 kB / 0.7418 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003108/0.7023, allocations: 1.786 MB / 0.7436 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00292/0.7052, allocations: 1.534 MB / 0.7451 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00194/0.7072, allocations: 2.249 MB / 0.7473 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007196/0.7079, allocations: 0.6044 MB / 0.7479 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002928/0.7108, allocations: 1.822 MB / 0.7497 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.7129, allocations: 1.674 MB / 0.7513 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001887/0.7131, allocations: 100.6 kB / 0.7514 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.7154, allocations: 1.396 MB / 0.7527 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004559/0.7158, allocations: 0.6938 MB / 0.7534 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000681/0.7165, allocations: 0.7593 MB / 0.7542 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002499/0.719, allocations: 2.624 MB / 0.7567 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.719, allocations: 0.9688 kB / 0.7567 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.719, allocations: 0 / 0.7567 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.719, allocations: 0.7812 kB / 0.7567 GB, free: 1.43 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003092/0.7221, allocations: 1.749 MB / 0.7584 GB, free: 16.61 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.7221, allocations: 10.97 kB / 0.7584 GB, free: 16.61 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001943/0.7223, allocations: 180.1 kB / 0.7586 GB, free: 16.57 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.7236, allocations: 314.3 kB / 0.7589 GB, free: 16.5 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.7247, allocations: 0.7834 MB / 0.7597 GB, free: 16.2 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.7248, allocations: 140.4 kB / 0.7598 GB, free: 16.14 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.725, allocations: 99.31 kB / 0.7599 GB, free: 16.14 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.7271, allocations: 1.838 MB / 0.7617 GB, free: 15.94 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.7271, allocations: 8.047 kB / 0.7617 GB, free: 15.94 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.7272, allocations: 49.77 kB / 0.7618 GB, free: 15.93 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.888e-05/0.7273, allocations: 101.5 kB / 0.7619 GB, free: 15.93 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/0.7293, allocations: 1.694 MB / 0.7635 GB, free: 15.92 MB / 0.5763 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.007649/0.7369, allocations: 6.864 MB / 0.7702 GB, free: 12.43 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.7379, allocations: 0.8486 MB / 0.771 GB, free: 12.41 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004925/0.7384, allocations: 438.2 kB / 0.7715 GB, free: 12.39 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.7386, allocations: 102.4 kB / 0.7716 GB, free: 12.3 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.7386, allocations: 52.88 kB / 0.7716 GB, free: 12.26 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=60): time 2.384e-06/0.7386, allocations: 0.7812 kB / 0.7716 GB, free: 12.26 MB / 0.5763 GB Notification: Performance of matching and sorting (n=72): time 0.009274/0.7479, allocations: 4.131 MB / 0.7756 GB, free: 11.48 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.7479, allocations: 116.8 kB / 0.7758 GB, free: 11.36 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.749, allocations: 1.102 MB / 0.7768 GB, free: 11.2 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 8.497e-05/0.7491, allocations: 44.77 kB / 0.7769 GB, free: 11.17 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.7494, allocations: 0.5295 MB / 0.7774 GB, free: 10.92 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.7496, allocations: 280.7 kB / 0.7777 GB, free: 10.75 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002979/0.7499, allocations: 214.4 kB / 0.7779 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.75, allocations: 346 kB / 0.7782 GB, free: 10.42 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000718/0.7507, allocations: 0.5833 MB / 0.7788 GB, free: 10.42 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000934/0.7517, allocations: 0.8713 MB / 0.7796 GB, free: 10.11 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.7533, allocations: 1.449 MB / 0.781 GB, free: 9.809 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.7533, allocations: 4.375 kB / 0.781 GB, free: 9.809 MB / 0.5763 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002604/0.7559, allocations: 1.982 MB / 0.783 GB, free: 9.684 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.7559, allocations: 8.688 kB / 0.783 GB, free: 9.684 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.7559, allocations: 9.062 kB / 0.783 GB, free: 9.684 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004093/0.76, allocations: 1.35 MB / 0.7843 GB, free: 9.656 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/0.7606, allocations: 140.2 kB / 0.7844 GB, free: 9.656 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.7629, allocations: 1.928 MB / 0.7863 GB, free: 9.109 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009187/0.7638, allocations: 47.95 kB / 0.7864 GB, free: 9.105 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.7639, allocations: 66.97 kB / 0.7864 GB, free: 9.105 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0006135/0.7645, allocations: 402.9 kB / 0.7868 GB, free: 8.984 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.7648, allocations: 116.4 kB / 0.7869 GB, free: 8.93 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.7671, allocations: 1.497 MB / 0.7884 GB, free: 8.844 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.7671, allocations: 11.97 kB / 0.7884 GB, free: 8.84 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.7671, allocations: 1 kB / 0.7884 GB, free: 8.84 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.7671, allocations: 6.234 kB / 0.7884 GB, free: 8.84 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003582/0.7707, allocations: 2.685 MB / 0.791 GB, free: 8.484 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.7707, allocations: 3.891 kB / 0.791 GB, free: 8.484 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/0.7723, allocations: 325.5 kB / 0.7913 GB, free: 8.484 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001613/0.7725, allocations: 71.2 kB / 0.7914 GB, free: 8.477 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.919e-05/0.7726, allocations: 34.03 kB / 0.7914 GB, free: 8.477 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002324/0.7749, allocations: 3.039 MB / 0.7944 GB, free: 5.715 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7749, allocations: 6.953 kB / 0.7944 GB, free: 5.711 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/0.7772, allocations: 1.908 MB / 0.7963 GB, free: 5.473 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005082/0.7777, allocations: 347.8 kB / 0.7966 GB, free: 5.312 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.7779, allocations: 27.7 kB / 0.7966 GB, free: 5.312 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008332/0.7787, allocations: 53.73 kB / 0.7967 GB, free: 5.312 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.7789, allocations: 55.86 kB / 0.7967 GB, free: 5.312 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.779, allocations: 66.61 kB / 0.7968 GB, free: 5.305 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0008716/0.7798, allocations: 0.799 MB / 0.7976 GB, free: 5.066 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.7798, allocations: 0.9375 kB / 0.7976 GB, free: 5.066 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.001206/0.781, allocations: 486.4 kB / 0.7981 GB, free: 5.027 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (78): * Single equations (assignments): 76 * 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.004499/0.7855, allocations: 3.107 MB / 0.8011 GB, free: 2.91 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.00251/0.7881, allocations: 1.418 MB / 0.8025 GB, free: 1.898 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.7881, allocations: 10.66 kB / 0.8025 GB, free: 1.891 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.7896, allocations: 0.8428 MB / 0.8033 GB, free: 1.246 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/0.7926, allocations: 0.7638 MB / 0.8041 GB, free: 0.5859 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/0.8103, allocations: 12.94 MB / 0.8167 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008149/0.8111, allocations: 1.18 MB / 0.8178 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001323/0.8125, allocations: 480.5 kB / 0.8183 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006698/0.8131, allocations: 447.3 kB / 0.8187 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.8131, allocations: 1.203 kB / 0.8187 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09095/0.9041, allocations: 51.15 MB / 0.8687 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.82, allocations: 11.78 kB / 0.8687 GB, free: 14.97 MB / 0.6544 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.386770943994634]