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.Nitrogen.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.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001734/0.00174, allocations: 107.9 kB / 17.63 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002055/0.002055, allocations: 210.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2301/0.2301, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.002267/0.002267, allocations: 82.36 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1221, allocations: 62.45 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4603/0.5824, allocations: 177.2 MB / 0.6421 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008866/0.5913, allocations: 5.336 MB / 0.6473 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000731/0.5922, allocations: 19.88 kB / 0.6473 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009887/0.5932, allocations: 322 kB / 0.6476 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003755/0.5969, allocations: 1.336 MB / 0.6489 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00286/0.5998, allocations: 1.065 MB / 0.6499 GB, free: 9.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002444/0.6023, allocations: 1.856 MB / 0.6517 GB, free: 7.848 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000783/0.6031, allocations: 459.6 kB / 0.6522 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.6056, allocations: 1.082 MB / 0.6532 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.607, allocations: 0.7549 MB / 0.654 GB, free: 5.547 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.6072, allocations: 60 kB / 0.654 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.6087, allocations: 0.5813 MB / 0.6546 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003237/0.609, allocations: 263.3 kB / 0.6549 GB, free: 4.648 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004992/0.6095, allocations: 398.2 kB / 0.6552 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.6114, allocations: 1.293 MB / 0.6565 GB, free: 2.961 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6114, allocations: 0 / 0.6565 GB, free: 2.961 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.6114, allocations: 0 / 0.6565 GB, free: 2.961 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.6115, allocations: 4 kB / 0.6565 GB, free: 2.957 MB / 494.1 MB 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.002378/0.6138, allocations: 1.103 MB / 0.6576 GB, free: 1.801 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.6139, allocations: 12.03 kB / 0.6576 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001944/0.6141, allocations: 98.52 kB / 0.6577 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008306/0.6149, allocations: 131.1 kB / 0.6578 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008653/0.6158, allocations: 0.5002 MB / 0.6583 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.616, allocations: 100.4 kB / 0.6584 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.823e-05/0.6161, allocations: 48 kB / 0.6584 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.6175, allocations: 0.8253 MB / 0.6592 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.6175, allocations: 0 / 0.6592 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.131e-05/0.6176, allocations: 27.94 kB / 0.6593 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.248e-05/0.6177, allocations: 37.44 kB / 0.6593 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.6188, allocations: 0.6321 MB / 0.6599 GB, free: 15.26 MB / 0.4981 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.005055/0.6239, allocations: 3.955 MB / 0.6638 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000658/0.6246, allocations: 361.7 kB / 0.6641 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.6249, allocations: 173.2 kB / 0.6643 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.6251, allocations: 97.31 kB / 0.6644 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.6251, allocations: 42.78 kB / 0.6644 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/0.6251, allocations: 0 / 0.6644 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.006186/0.6313, allocations: 1.662 MB / 0.6661 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.6314, allocations: 140.4 kB / 0.6662 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000801/0.6322, allocations: 0.6133 MB / 0.6668 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.929e-05/0.6323, allocations: 29.7 kB / 0.6668 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.6326, allocations: 370.9 kB / 0.6672 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.6328, allocations: 142 kB / 0.6673 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.633, allocations: 162.5 kB / 0.6675 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.6332, allocations: 374.8 kB / 0.6678 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.6337, allocations: 201.9 kB / 0.668 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/0.6344, allocations: 0.5086 MB / 0.6685 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.6355, allocations: 0.7552 MB / 0.6692 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.6355, allocations: 8 kB / 0.6693 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001617/0.6371, allocations: 0.887 MB / 0.6701 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.6372, allocations: 12 kB / 0.6701 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.6372, allocations: 8 kB / 0.6701 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.6386, allocations: 309.5 kB / 0.6704 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.6391, allocations: 131.7 kB / 0.6706 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.6403, allocations: 0.9335 MB / 0.6715 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.6408, allocations: 24 kB / 0.6715 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.651e-05/0.6409, allocations: 67.98 kB / 0.6716 GB, free: 2.598 MB / 0.4981 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.0003965/0.6413, allocations: 245.4 kB / 0.6718 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.6415, allocations: 71.16 kB / 0.6719 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/0.6433, allocations: 0.8655 MB / 0.6727 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.6433, allocations: 4 kB / 0.6727 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6434, allocations: 0 / 0.6727 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.6434, allocations: 3.984 kB / 0.6727 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.6456, allocations: 1.469 MB / 0.6741 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6457, allocations: 3.938 kB / 0.6742 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.6468, allocations: 212 kB / 0.6744 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.6469, allocations: 24.84 kB / 0.6744 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.416e-05/0.6469, allocations: 19.98 kB / 0.6744 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002847/0.6498, allocations: 2.878 MB / 0.6772 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6498, allocations: 0 / 0.6772 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.6512, allocations: 0.8251 MB / 0.678 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.6515, allocations: 196.2 kB / 0.6782 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.6517, allocations: 12 kB / 0.6782 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.6521, allocations: 16 kB / 0.6782 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.734e-05/0.6522, allocations: 43.89 kB / 0.6783 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/0.6522, allocations: 51.97 kB / 0.6783 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005798/0.6528, allocations: 439 kB / 0.6787 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6528, allocations: 0 / 0.6787 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001046/0.6539, allocations: 248 kB / 0.679 GB, free: 10.51 MB / 0.5137 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.002542/0.6564, allocations: 1.558 MB / 0.6805 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.6579, allocations: 0.5902 MB / 0.6811 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6579, allocations: 0 / 0.6811 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.659, allocations: 430.7 kB / 0.6815 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.6608, allocations: 370.4 kB / 0.6818 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.6712, allocations: 6.55 MB / 0.6882 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/0.6719, allocations: 0.93 MB / 0.6891 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001362/0.6732, allocations: 465.6 kB / 0.6896 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005586/0.6738, allocations: 291.3 kB / 0.6899 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/0.6738, allocations: 0 / 0.6899 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2784/0.9522, allocations: 24.2 MB / 0.7135 GB, free: 198.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.5, allocations: 6.828 kB / 0.7135 GB, free: 198.2 MB / 0.5294 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_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_IdealGases_Nitrogen.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)