Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.0018/0.0018, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.002586/0.002586, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.528/1.528, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.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.2362/0.2362, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.002278/0.002278, allocations: 76.16 kB / 0.4917 GB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1377, allocations: 66.04 MB / 0.5561 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4526/0.5903, allocations: 152.9 MB / 0.7055 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002155/0.5924, allocations: 1.604 MB / 0.707 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.648e-05/0.5925, allocations: 0 / 0.707 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.5928, allocations: 55.66 kB / 0.7071 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00096/0.5938, allocations: 410.1 kB / 0.7075 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.5943, allocations: 171.1 kB / 0.7076 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.5945, allocations: 175.3 kB / 0.7078 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.5946, allocations: 7.984 kB / 0.7078 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.5948, allocations: 87.62 kB / 0.7079 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.5949, allocations: 59.75 kB / 0.7079 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.5949, allocations: 8 kB / 0.708 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.596, allocations: 0.6236 MB / 0.7086 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.339e-05/0.5961, allocations: 31.84 kB / 0.7086 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.1e-05/0.5962, allocations: 51.78 kB / 0.7086 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006931/0.5969, allocations: 402.5 kB / 0.709 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5969, allocations: 0 / 0.709 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5969, allocations: 0 / 0.709 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.5969, allocations: 4 kB / 0.709 GB, free: 4.59 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007138/0.5976, allocations: 440.1 kB / 0.7094 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.5976, allocations: 16.03 kB / 0.7095 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/0.5977, allocations: 34.75 kB / 0.7095 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002465/0.6002, allocations: 197.1 kB / 0.7097 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.6005, allocations: 216.8 kB / 0.7099 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.6005, allocations: 8 kB / 0.7099 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.6006, allocations: 8 kB / 0.7099 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.6011, allocations: 205.5 kB / 0.7101 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.6011, allocations: 0 / 0.7101 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.504e-05/0.6012, allocations: 4 kB / 0.7101 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.6012, allocations: 7.938 kB / 0.7101 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006117/0.6018, allocations: 231.8 kB / 0.7103 GB, free: 3.152 MB / 0.5137 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.00179/0.6036, allocations: 0.6705 MB / 0.711 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/0.604, allocations: 185.5 kB / 0.7112 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.6042, allocations: 88.83 kB / 0.7113 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.6044, allocations: 93.09 kB / 0.7113 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.6045, allocations: 34.56 kB / 0.7114 GB, free: 2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.6045, allocations: 0 / 0.7114 GB, free: 2 MB / 0.5137 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.006006/0.6105, allocations: 1.551 MB / 0.7129 GB, free: 352 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.6105, allocations: 55.41 kB / 0.7129 GB, free: 284 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.56e-05/0.6106, allocations: 113.8 kB / 0.713 GB, free: 160 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.6106, allocations: 25.7 kB / 0.7131 GB, free: 128 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.968e-05/0.6107, allocations: 100.4 kB / 0.7132 GB, free: 24 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.366e-05/0.6108, allocations: 67.61 kB / 0.7132 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-05/0.6109, allocations: 45.7 kB / 0.7133 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.611, allocations: 322.8 kB / 0.7136 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.6112, allocations: 87.95 kB / 0.7137 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.6115, allocations: 123.4 kB / 0.7138 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.612, allocations: 235 kB / 0.714 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.612, allocations: 0 / 0.714 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006533/0.6126, allocations: 278.4 kB / 0.7143 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.6127, allocations: 8 kB / 0.7143 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.6127, allocations: 7.938 kB / 0.7143 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/0.6128, allocations: 24.78 kB / 0.7143 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.6133, allocations: 55.95 kB / 0.7144 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004061/0.6137, allocations: 0.5289 MB / 0.7149 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.614, allocations: 20.05 kB / 0.7149 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.614, allocations: 8 kB / 0.7149 GB, free: 14.16 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.6141, allocations: 121.8 kB / 0.715 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-05/0.6142, allocations: 11.94 kB / 0.715 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000766/0.615, allocations: 313.5 kB / 0.7153 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.615, allocations: 7.984 kB / 0.7153 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.615, allocations: 3.984 kB / 0.7153 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.615, allocations: 0 / 0.7153 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.6162, allocations: 0.6737 MB / 0.716 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6162, allocations: 0 / 0.716 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004587/0.6166, allocations: 55.89 kB / 0.7161 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.86e-05/0.6167, allocations: 16.84 kB / 0.7161 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.6167, allocations: 11.98 kB / 0.7161 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.6178, allocations: 1.371 MB / 0.7174 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.6178, allocations: 4.031 kB / 0.7174 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008992/0.6187, allocations: 457.5 kB / 0.7179 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.6188, allocations: 85.09 kB / 0.7179 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.6188, allocations: 8 kB / 0.718 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.6192, allocations: 8.734 kB / 0.718 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.6192, allocations: 15.98 kB / 0.718 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.6192, allocations: 11.98 kB / 0.718 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.322e-05/0.6193, allocations: 87.58 kB / 0.7181 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6193, allocations: 4.062 kB / 0.7181 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005384/0.6198, allocations: 135.7 kB / 0.7182 GB, free: 10.51 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (19): * Single equations (assignments): 18 * 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): 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.001799/0.6216, allocations: 1.147 MB / 0.7193 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006427/0.6223, allocations: 215.8 kB / 0.7195 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6223, allocations: 0 / 0.7195 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004311/0.6227, allocations: 226.9 kB / 0.7198 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.6232, allocations: 60.45 kB / 0.7198 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/0.6263, allocations: 2.141 MB / 0.7219 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.6266, allocations: 0.7124 MB / 0.7226 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002788/0.6269, allocations: 53.39 kB / 0.7226 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.6271, allocations: 35.42 kB / 0.7227 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.6271, allocations: 0 / 0.7227 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03649/0.6635, allocations: 8.016 MB / 0.7305 GB, free: 13.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.57, allocations: 11.83 kB / 0.7305 GB, free: 13.83 MB / 0.545 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.692040815018117] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p'] 12.664479965809733 12.681887621 12.082169166 Calling exit ...