Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.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.001568/0.001568, allocations: 121.4 kB / 18.5 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.001932/0.001932, allocations: 213.6 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.458/1.458, allocations: 230.5 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001989/0.001989, allocations: 71.83 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09759, allocations: 53.32 MB / 427 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3707/0.4683, allocations: 155.2 MB / 0.5686 GB, free: 5.188 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.4696, allocations: 0.6945 MB / 0.5692 GB, free: 4.492 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.949e-05/0.4697, allocations: 4 kB / 0.5692 GB, free: 4.488 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.47, allocations: 79.48 kB / 0.5693 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006288/0.4707, allocations: 298.7 kB / 0.5696 GB, free: 4.117 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003165/0.4738, allocations: 1.125 MB / 0.5707 GB, free: 3 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00551/0.4793, allocations: 5.601 MB / 0.5762 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003327/0.4797, allocations: 192 kB / 0.5764 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003709/0.4834, allocations: 2.263 MB / 0.5786 GB, free: 10.9 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00351/0.4869, allocations: 2.045 MB / 0.5806 GB, free: 8.852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008704/0.4878, allocations: 236 kB / 0.5808 GB, free: 8.621 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004507/0.4923, allocations: 1.814 MB / 0.5826 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001904/0.4942, allocations: 1.235 MB / 0.5838 GB, free: 5.566 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003011/0.4972, allocations: 1.565 MB / 0.5853 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006759/0.5039, allocations: 4.56 MB / 0.5897 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.504, allocations: 3.984 kB / 0.5897 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.504, allocations: 0 / 0.5897 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001178/0.5041, allocations: 0 / 0.5897 GB, free: 15.42 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: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.01075/0.5148, allocations: 3.557 MB / 0.5932 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.5149, allocations: 12.03 kB / 0.5932 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008127/0.5157, allocations: 374 kB / 0.5936 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/0.5177, allocations: 337.1 kB / 0.5939 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/0.5207, allocations: 1.339 MB / 0.5952 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.5209, allocations: 184.9 kB / 0.5954 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005496/0.5214, allocations: 244 kB / 0.5956 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007803/0.5293, allocations: 3.823 MB / 0.5994 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.03e-05/0.5293, allocations: 7.922 kB / 0.5994 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004232/0.5297, allocations: 112 kB / 0.5995 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.772e-05/0.5298, allocations: 56 kB / 0.5995 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/0.5398, allocations: 5.99 MB / 0.6054 GB, free: 15.22 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.02186/0.5616, allocations: 11.23 MB / 0.6163 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.199/0.7606, allocations: 4.776 MB / 0.621 GB, free: 177 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003949/0.7645, allocations: 2.24 MB / 0.6232 GB, free: 176.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006163/0.7652, allocations: 436.2 kB / 0.6236 GB, free: 176.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.904e-05/0.7653, allocations: 93.06 kB / 0.6237 GB, free: 176.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=390): time 6.432e-06/0.7653, allocations: 0 / 0.6237 GB, free: 176.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=390): time 0.01199/0.7772, allocations: 5.83 MB / 0.6294 GB, free: 174.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.7773, allocations: 92.75 kB / 0.6295 GB, free: 174.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.7785, allocations: 0.8751 MB / 0.6303 GB, free: 174.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006485/0.7792, allocations: 101 kB / 0.6304 GB, free: 174.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.7795, allocations: 0.5293 MB / 0.631 GB, free: 174.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001262/0.7808, allocations: 1.365 MB / 0.6323 GB, free: 173.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/0.7818, allocations: 0.6291 MB / 0.6329 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.7819, allocations: 356.7 kB / 0.6332 GB, free: 172.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003018/0.7849, allocations: 1.741 MB / 0.6349 GB, free: 172.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003527/0.7884, allocations: 2.261 MB / 0.6371 GB, free: 171.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006502/0.7949, allocations: 4.332 MB / 0.6414 GB, free: 169.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.16e-05/0.795, allocations: 3.188 kB / 0.6414 GB, free: 169.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007713/0.8027, allocations: 4.605 MB / 0.6459 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.8027, allocations: 9.938 kB / 0.6459 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/0.8027, allocations: 14 kB / 0.6459 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.451e-05/0.8028, allocations: 27.38 kB / 0.6459 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003675/0.8065, allocations: 0.7924 MB / 0.6467 GB, free: 168.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.858e-05/0.8065, allocations: 39.17 kB / 0.6467 GB, free: 168.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/0.809, allocations: 363.8 kB / 0.6471 GB, free: 168 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004228/0.8094, allocations: 145.7 kB / 0.6472 GB, free: 168 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[11],fog[10],fog[9],fog[8],fog[7],fog[6],fog[5],fog[4],fog[3],fog[2],fog[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001415/0.8108, allocations: 0.7658 MB / 0.648 GB, free: 167.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006029/0.8114, allocations: 221.6 kB / 0.6482 GB, free: 167.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007757/0.8192, allocations: 5.165 MB / 0.6532 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/0.8192, allocations: 42.72 kB / 0.6533 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.8192, allocations: 0 / 0.6533 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.519e-05/0.8193, allocations: 23.91 kB / 0.6533 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003644/0.8229, allocations: 2.83 MB / 0.6561 GB, free: 162.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.8229, allocations: 0 / 0.6561 GB, free: 162.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003137/0.826, allocations: 0.731 MB / 0.6568 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.09e-05/0.8261, allocations: 16 kB / 0.6568 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002783/0.8264, allocations: 87.97 kB / 0.6569 GB, free: 162 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-05/0.8264, allocations: 13.56 kB / 0.6569 GB, free: 162 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8264, allocations: 0 / 0.6569 GB, free: 162 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008682/0.8351, allocations: 7.238 MB / 0.6639 GB, free: 154.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005152/0.8356, allocations: 322.9 kB / 0.6643 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004959/0.8361, allocations: 87.88 kB / 0.6643 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002874/0.8389, allocations: 220.5 kB / 0.6646 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005854/0.8395, allocations: 314.8 kB / 0.6649 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004812/0.84, allocations: 179.8 kB / 0.665 GB, free: 153.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007169/0.8407, allocations: 0.6902 MB / 0.6657 GB, free: 152.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.8407, allocations: 0 / 0.6657 GB, free: 152.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002361/0.8431, allocations: 1.089 MB / 0.6668 GB, free: 151.8 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (x,hx_h[1],hx_h[2],hx_h[3],hx_h[4],hx_h[5],hx_h[6],hx_h[7],hx_h[8],hx_h[9],hx_h[10],hx_h[11],hx_h[12],hx_h[13],hx_h[14],hx_h[15],hx_h[16]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01003/0.8531, allocations: 8.118 MB / 0.6747 GB, free: 143.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006393/0.8595, allocations: 4.121 MB / 0.6787 GB, free: 139.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.8595, allocations: 8.969 kB / 0.6787 GB, free: 139.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003159/0.8627, allocations: 2.111 MB / 0.6808 GB, free: 137.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006564/0.8692, allocations: 1.249 MB / 0.682 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03294/0.9022, allocations: 24.66 MB / 0.7061 GB, free: 111 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008886/0.9031, allocations: 1.852 MB / 0.7079 GB, free: 109.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00427/0.9073, allocations: 1.775 MB / 0.7096 GB, free: 107.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/0.9089, allocations: 0.8858 MB / 0.7105 GB, free: 106.4 MB / 0.5137 GB Notification: Performance of SimCode: time 1.293e-06/0.9089, allocations: 0 / 0.7105 GB, free: 106.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1109/1.02, allocations: 83.85 MB / 0.7924 GB, free: 22.87 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/15.02, allocations: 10.95 kB / 0.7924 GB, free: 22.86 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.54683568375185] Failed to read output from testmodel.py, exit status != 0: ['time', 'hx_h[1]', 'hx_h[2]', 'hx_h[3]', 'hx_h[4]', 'hx_h[5]', 'hx_h[6]', 'hx_h[7]', 'hx_h[8]', 'hx_h[9]', 'hx_h[10]', 'hx_h[11]', 'hx_h[12]', 'hx_h[13]', 'hx_h[14]', 'hx_h[15]', 'hx_h[16]', 'x'] 15.140874993056059 15.159861205 14.651921055 Calling exit ...