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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001788/0.001788, allocations: 123.6 kB / 18.45 MB, free: 4.59 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.002171/0.002171, allocations: 213.7 kB / 21.41 MB, free: 1.637 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.498/1.498, allocations: 227.4 MB / 251.7 MB, free: 48 kB / 190.1 MB " [Timeout remaining time 178] 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.312/0.312, allocations: 46.16 MB / 351.1 MB, free: 14.28 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.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"}) [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.002281/0.002281, allocations: 77.11 kB / 489.7 MB, free: 28.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1393, allocations: 62.46 MB / 0.5392 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5623/0.7017, allocations: 177.3 MB / 0.7123 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008452/0.7101, allocations: 5.33 MB / 0.7175 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008437/0.7111, allocations: 19.88 kB / 0.7175 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.7122, allocations: 326 kB / 0.7178 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003852/0.7161, allocations: 1.332 MB / 0.7191 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.719, allocations: 1.069 MB / 0.7202 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00251/0.7215, allocations: 1.848 MB / 0.722 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008789/0.7224, allocations: 461.5 kB / 0.7224 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002839/0.7252, allocations: 1.09 MB / 0.7235 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.7267, allocations: 0.7511 MB / 0.7242 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.7268, allocations: 60 kB / 0.7243 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.7284, allocations: 0.6281 MB / 0.7249 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003054/0.7287, allocations: 263.3 kB / 0.7251 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004875/0.7292, allocations: 394.2 kB / 0.7255 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002019/0.7313, allocations: 1.32 MB / 0.7268 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7313, allocations: 4 kB / 0.7268 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7313, allocations: 0 / 0.7268 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.7313, allocations: 0 / 0.7268 GB, free: 15.73 MB / 0.5294 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.002376/0.7337, allocations: 1.117 MB / 0.7279 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.7337, allocations: 12.03 kB / 0.7279 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.7339, allocations: 98.52 kB / 0.728 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008453/0.7347, allocations: 139.4 kB / 0.7281 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008987/0.7356, allocations: 0.5357 MB / 0.7287 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.7358, allocations: 108.3 kB / 0.7288 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.942e-05/0.7359, allocations: 51.98 kB / 0.7288 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.7373, allocations: 0.8097 MB / 0.7296 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.7373, allocations: 0 / 0.7296 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.588e-05/0.7374, allocations: 28 kB / 0.7296 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-05/0.7375, allocations: 40.92 kB / 0.7297 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.7385, allocations: 0.6243 MB / 0.7303 GB, free: 11.98 MB / 0.5294 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.004629/0.7432, allocations: 3.94 MB / 0.7341 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006073/0.7438, allocations: 358.4 kB / 0.7345 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.7441, allocations: 177.2 kB / 0.7346 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.7442, allocations: 93.36 kB / 0.7347 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.7443, allocations: 42.84 kB / 0.7348 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.843e-06/0.7443, allocations: 0 / 0.7348 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005626/0.7499, allocations: 1.669 MB / 0.7364 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.7501, allocations: 140.5 kB / 0.7365 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008059/0.7509, allocations: 0.6211 MB / 0.7371 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.29e-05/0.7509, allocations: 37.7 kB / 0.7372 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/0.7512, allocations: 371.8 kB / 0.7375 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.7514, allocations: 146.8 kB / 0.7377 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.7516, allocations: 154.6 kB / 0.7378 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.7518, allocations: 374.8 kB / 0.7382 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.7522, allocations: 205.9 kB / 0.7384 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006504/0.7529, allocations: 0.5164 MB / 0.7389 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.7539, allocations: 0.7477 MB / 0.7396 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.754, allocations: 8 kB / 0.7396 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001546/0.7555, allocations: 0.8802 MB / 0.7405 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.7555, allocations: 12.25 kB / 0.7405 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.7556, allocations: 12 kB / 0.7405 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.757, allocations: 322 kB / 0.7408 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.7574, allocations: 127.7 kB / 0.7409 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.7586, allocations: 0.9271 MB / 0.7418 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004919/0.7591, allocations: 31.98 kB / 0.7419 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.27e-05/0.7592, allocations: 64 kB / 0.7419 GB, free: 15.32 MB / 0.545 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.0003825/0.7596, allocations: 253.4 kB / 0.7422 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.7598, allocations: 71.58 kB / 0.7422 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.7614, allocations: 0.8519 MB / 0.7431 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.7615, allocations: 8 kB / 0.7431 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.7615, allocations: 3.938 kB / 0.7431 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.7615, allocations: 0 / 0.7431 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.7637, allocations: 1.469 MB / 0.7445 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.7637, allocations: 4 kB / 0.7445 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.7648, allocations: 211.9 kB / 0.7447 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.7649, allocations: 24.84 kB / 0.7447 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.765, allocations: 20 kB / 0.7448 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/0.7675, allocations: 2.874 MB / 0.7476 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.7675, allocations: 8.031 kB / 0.7476 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.769, allocations: 0.823 MB / 0.7484 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000319/0.7693, allocations: 188.6 kB / 0.7486 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.77e-05/0.7694, allocations: 8 kB / 0.7486 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.7698, allocations: 24.05 kB / 0.7486 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.77, allocations: 47.83 kB / 0.7486 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.371e-05/0.77, allocations: 43.98 kB / 0.7487 GB, free: 7.906 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005889/0.7706, allocations: 435 kB / 0.7491 GB, free: 7.488 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7706, allocations: 4 kB / 0.7491 GB, free: 7.484 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009144/0.7716, allocations: 255.8 kB / 0.7493 GB, free: 7.234 MB / 0.545 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.002447/0.774, allocations: 1.568 MB / 0.7509 GB, free: 5.629 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.7755, allocations: 0.5546 MB / 0.7514 GB, free: 5.078 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/0.7755, allocations: 11.8 kB / 0.7514 GB, free: 5.066 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.7766, allocations: 410.4 kB / 0.7518 GB, free: 4.652 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.7785, allocations: 370.4 kB / 0.7522 GB, free: 4.297 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00982/0.7884, allocations: 6.335 MB / 0.7583 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/0.789, allocations: 0.9337 MB / 0.7593 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001208/0.7903, allocations: 461.7 kB / 0.7597 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005586/0.7908, allocations: 287.3 kB / 0.76 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of SimCode: time 1.533e-06/0.7908, allocations: 0 / 0.76 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0626/0.8534, allocations: 24.49 MB / 0.7839 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.85, allocations: 11.73 kB / 0.7839 GB, free: 3.637 MB / 0.5762 GB " [Timeout remaining time 646] (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.000201919 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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.17496634996496] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 13.962123041972518 13.975942212 13.241992859 Calling exit ...