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.001596/0.001596, allocations: 121.8 kB / 18.51 MB, free: 4.535 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.002023/0.002023, allocations: 215.2 kB / 21.46 MB, free: 1.586 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.522/1.522, allocations: 230.2 MB / 254.5 MB, free: 15.4 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.2205/0.2205, allocations: 46.89 MB / 357.4 MB, free: 10.52 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.002225/0.002225, allocations: 84.39 kB / 0.4912 GB, free: 27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1166, allocations: 65.97 MB / 0.5556 GB, free: 9.156 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5391/0.6557, allocations: 152.7 MB / 0.7048 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.6576, allocations: 1.063 MB / 0.7058 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.678e-05/0.6577, allocations: 0 / 0.7058 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.658, allocations: 41.48 kB / 0.7058 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009823/0.659, allocations: 272.6 kB / 0.7061 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.6595, allocations: 117.8 kB / 0.7062 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000332/0.6598, allocations: 183.2 kB / 0.7064 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.643e-05/0.6599, allocations: 11.92 kB / 0.7064 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.6601, allocations: 91.62 kB / 0.7065 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.6602, allocations: 63.75 kB / 0.7065 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.6603, allocations: 4 kB / 0.7065 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007385/0.661, allocations: 267.7 kB / 0.7068 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.041e-05/0.6611, allocations: 19.91 kB / 0.7068 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.312e-05/0.6612, allocations: 47.78 kB / 0.7069 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006069/0.6618, allocations: 282.2 kB / 0.7071 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6618, allocations: 0 / 0.7071 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6618, allocations: 11.94 kB / 0.7071 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.6618, allocations: 0 / 0.7071 GB, free: 3.066 MB / 0.4981 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.0007347/0.6625, allocations: 407 kB / 0.7075 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.6626, allocations: 12.03 kB / 0.7075 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.153e-05/0.6626, allocations: 50.66 kB / 0.7076 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002996/0.6656, allocations: 195.2 kB / 0.7078 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.6661, allocations: 207.9 kB / 0.708 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.6661, allocations: 8 kB / 0.708 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.6662, allocations: 8 kB / 0.708 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007486/0.6669, allocations: 226.4 kB / 0.7082 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.6669, allocations: 0 / 0.7082 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.667, allocations: 0 / 0.7082 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.667, allocations: 8 kB / 0.7082 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006328/0.6676, allocations: 175.8 kB / 0.7084 GB, free: 1.691 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.001436/0.6691, allocations: 0.5693 MB / 0.7089 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/0.6695, allocations: 134.5 kB / 0.7091 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.6697, allocations: 73.02 kB / 0.7091 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.6697, allocations: 8 kB / 0.7091 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.6698, allocations: 34.56 kB / 0.7092 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.724e-06/0.6698, allocations: 0 / 0.7092 GB, free: 0.8008 MB / 0.4981 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.007086/0.6769, allocations: 1.302 MB / 0.7105 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.6769, allocations: 59.06 kB / 0.7105 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.6771, allocations: 113.8 kB / 0.7106 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.6771, allocations: 25.7 kB / 0.7106 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.064e-05/0.6772, allocations: 104 kB / 0.7107 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.996e-05/0.6773, allocations: 71.42 kB / 0.7108 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.6774, allocations: 53.66 kB / 0.7109 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.6776, allocations: 322.8 kB / 0.7112 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.6778, allocations: 63.97 kB / 0.7112 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.6781, allocations: 115.2 kB / 0.7113 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004925/0.6786, allocations: 179.3 kB / 0.7115 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.6786, allocations: 0 / 0.7115 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007291/0.6793, allocations: 261.2 kB / 0.7118 GB, free: 14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.6794, allocations: 11.94 kB / 0.7118 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.6794, allocations: 4.094 kB / 0.7118 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/0.6796, allocations: 48.83 kB / 0.7118 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.68, allocations: 55.59 kB / 0.7119 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006019/0.6806, allocations: 0.5655 MB / 0.7124 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.6809, allocations: 8.031 kB / 0.7124 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-05/0.6809, allocations: 32.08 kB / 0.7125 GB, free: 13.25 MB / 0.5137 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.000173/0.6811, allocations: 121.8 kB / 0.7126 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.44e-05/0.6812, allocations: 7.953 kB / 0.7126 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.6822, allocations: 343 kB / 0.7129 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.6822, allocations: 4 kB / 0.7129 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.6822, allocations: 3.984 kB / 0.7129 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6823, allocations: 0 / 0.7129 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.6837, allocations: 0.6369 MB / 0.7135 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.6837, allocations: 0 / 0.7135 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004556/0.6842, allocations: 59.89 kB / 0.7136 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/0.6843, allocations: 24.94 kB / 0.7136 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.6843, allocations: 15.98 kB / 0.7136 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.6858, allocations: 1.37 MB / 0.715 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6858, allocations: 0 / 0.715 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.6868, allocations: 437.1 kB / 0.7154 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.676e-05/0.6868, allocations: 85.09 kB / 0.7155 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/0.6869, allocations: 11.98 kB / 0.7155 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.6872, allocations: 4 kB / 0.7155 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.6873, allocations: 23.97 kB / 0.7155 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.408e-05/0.6873, allocations: 31.98 kB / 0.7155 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.8e-05/0.6874, allocations: 83.58 kB / 0.7156 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6874, allocations: 8 kB / 0.7156 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000654/0.688, allocations: 83.92 kB / 0.7157 GB, free: 9.656 MB / 0.5137 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.001732/0.6898, allocations: 1.02 MB / 0.7167 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006992/0.6905, allocations: 195.8 kB / 0.7169 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6905, allocations: 0 / 0.7169 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00049/0.691, allocations: 218.5 kB / 0.7171 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006362/0.6916, allocations: 44.34 kB / 0.7171 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.6952, allocations: 2.069 MB / 0.7192 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.6956, allocations: 0.7085 MB / 0.7199 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003104/0.6959, allocations: 69.78 kB / 0.7199 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.6961, allocations: 71.39 kB / 0.72 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of SimCode: time 8.01e-07/0.6961, allocations: 0 / 0.72 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05144/0.7476, allocations: 7.38 MB / 0.7272 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.79, allocations: 3.984 kB / 0.7272 GB, free: 13.79 MB / 0.5294 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.727235168684274] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p'] 12.881155031733215 12.89589372 12.231076764 Calling exit ...