Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.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.001309/0.001309, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001412/0.001412, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.424/1.424, allocations: 230.5 MB / 258.2 MB, free: 8.051 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.2258/0.2258, allocations: 46.93 MB / 361.6 MB, free: 4.316 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.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2",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.002388/0.002388, allocations: 75.88 kB / 0.497 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3151, allocations: 66.08 MB / 0.5615 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1709/0.486, allocations: 152.8 MB / 0.7107 GB, free: 11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.4874, allocations: 1.059 MB / 0.7117 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.4875, allocations: 0 / 0.7117 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.4877, allocations: 39.75 kB / 0.7117 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006844/0.4884, allocations: 272.5 kB / 0.712 GB, free: 9.629 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.4887, allocations: 115.7 kB / 0.7121 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.489, allocations: 187.2 kB / 0.7123 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.4891, allocations: 4 kB / 0.7123 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.4893, allocations: 95.56 kB / 0.7124 GB, free: 9.234 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.4894, allocations: 63.75 kB / 0.7124 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.4895, allocations: 4 kB / 0.7125 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005201/0.49, allocations: 267.7 kB / 0.7127 GB, free: 8.906 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.042e-05/0.49, allocations: 35.89 kB / 0.7127 GB, free: 8.871 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.4901, allocations: 39.88 kB / 0.7128 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.4905, allocations: 283.2 kB / 0.713 GB, free: 8.555 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4905, allocations: 4 kB / 0.7131 GB, free: 8.551 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.086e-06/0.4906, allocations: 3.984 kB / 0.7131 GB, free: 8.547 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.4906, allocations: 0 / 0.7131 GB, free: 8.547 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005127/0.4911, allocations: 329.8 kB / 0.7134 GB, free: 8.195 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.4911, allocations: 15.97 kB / 0.7134 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.4912, allocations: 42.75 kB / 0.7134 GB, free: 8.129 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/0.4932, allocations: 196.6 kB / 0.7136 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.4935, allocations: 153.6 kB / 0.7138 GB, free: 7.762 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.4935, allocations: 0 / 0.7138 GB, free: 7.762 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.4935, allocations: 15.98 kB / 0.7138 GB, free: 7.746 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004948/0.494, allocations: 224 kB / 0.714 GB, free: 7.512 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.494, allocations: 0 / 0.714 GB, free: 7.512 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.4941, allocations: 4 kB / 0.714 GB, free: 7.508 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4941, allocations: 4 kB / 0.714 GB, free: 7.504 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.4945, allocations: 163.9 kB / 0.7142 GB, free: 7.344 MB / 0.545 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.001041/0.4955, allocations: 0.5628 MB / 0.7147 GB, free: 6.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.4959, allocations: 138.5 kB / 0.7148 GB, free: 6.586 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.496, allocations: 68.81 kB / 0.7149 GB, free: 6.516 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.4961, allocations: 0 / 0.7149 GB, free: 6.516 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.4961, allocations: 42.75 kB / 0.7149 GB, free: 6.465 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 8.41e-07/0.4961, allocations: 0 / 0.7149 GB, free: 6.465 MB / 0.545 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.005106/0.5012, allocations: 1.153 MB / 0.7161 GB, free: 5.258 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.5012, allocations: 55.41 kB / 0.7161 GB, free: 5.191 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.509e-05/0.5013, allocations: 109.8 kB / 0.7162 GB, free: 5.074 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.5014, allocations: 29.7 kB / 0.7163 GB, free: 5.039 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.5015, allocations: 104 kB / 0.7164 GB, free: 4.934 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.5015, allocations: 71.41 kB / 0.7164 GB, free: 4.863 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.434e-05/0.5016, allocations: 53.66 kB / 0.7165 GB, free: 4.805 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.5018, allocations: 326.8 kB / 0.7168 GB, free: 4.477 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.5019, allocations: 67.97 kB / 0.7168 GB, free: 4.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.5021, allocations: 107.2 kB / 0.717 GB, free: 4.293 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.5025, allocations: 179.3 kB / 0.7171 GB, free: 4.105 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5025, allocations: 0 / 0.7171 GB, free: 4.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006066/0.5031, allocations: 265.3 kB / 0.7174 GB, free: 3.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.5031, allocations: 4 kB / 0.7174 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.5031, allocations: 0 / 0.7174 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001799/0.5033, allocations: 52.77 kB / 0.7174 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.5036, allocations: 51.97 kB / 0.7175 GB, free: 3.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004551/0.504, allocations: 0.5758 MB / 0.718 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.5042, allocations: 8 kB / 0.718 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/0.5043, allocations: 27.92 kB / 0.7181 GB, free: 3.094 MB / 0.545 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.0001367/0.5044, allocations: 117.8 kB / 0.7182 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/0.5044, allocations: 15.89 kB / 0.7182 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007618/0.5052, allocations: 351.4 kB / 0.7185 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.5052, allocations: 4 kB / 0.7185 GB, free: 2.602 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.5052, allocations: 3.984 kB / 0.7185 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.5052, allocations: 0 / 0.7185 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.5063, allocations: 0.591 MB / 0.7191 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5063, allocations: 0 / 0.7191 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.5066, allocations: 67.89 kB / 0.7192 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.449e-05/0.5067, allocations: 16.84 kB / 0.7192 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.5067, allocations: 15.98 kB / 0.7192 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.5077, allocations: 1.271 MB / 0.7205 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5077, allocations: 0 / 0.7205 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007129/0.5084, allocations: 434.7 kB / 0.7209 GB, free: 8 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.5085, allocations: 7.984 kB / 0.7209 GB, free: 0 / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.5085, allocations: 8.047 kB / 0.7209 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.5087, allocations: 7.938 kB / 0.7209 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.5088, allocations: 24.03 kB / 0.7209 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.5088, allocations: 27.98 kB / 0.7209 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.187e-05/0.5089, allocations: 95.2 kB / 0.721 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5089, allocations: 0 / 0.721 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005128/0.5094, allocations: 79.94 kB / 0.7211 GB, free: 15.76 MB / 0.5606 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 (21): * Single equations (assignments): 20 * 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.001276/0.5107, allocations: 1.012 MB / 0.7221 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000505/0.5112, allocations: 195.8 kB / 0.7223 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5112, allocations: 0 / 0.7223 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.5115, allocations: 224.6 kB / 0.7225 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.512, allocations: 43.89 kB / 0.7225 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.5147, allocations: 2.091 MB / 0.7246 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.515, allocations: 0.7046 MB / 0.7253 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003082/0.5153, allocations: 85.52 kB / 0.7254 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.5155, allocations: 67.41 kB / 0.7254 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.5155, allocations: 0 / 0.7254 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03476/0.5503, allocations: 7.498 MB / 0.7327 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.51, allocations: 9.547 kB / 0.7328 GB, free: 3.734 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2_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_IdealGasN2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.638082914054394] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p'] 12.607352963183075 12.858267726 12.365285507 Calling exit ...