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.00182/0.00182, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002264/0.002264, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.00196/0.00196, allocations: 60.77 kB / 378.5 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2613, allocations: 53.36 MB / 431.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4093/0.6706, allocations: 155.3 MB / 0.5734 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.6719, allocations: 0.7009 MB / 0.5741 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.672, allocations: 2.656 kB / 0.5741 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004155/0.6724, allocations: 85.25 kB / 0.5742 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006245/0.6731, allocations: 294.3 kB / 0.5744 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002999/0.6761, allocations: 1.146 MB / 0.5756 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00444/0.6805, allocations: 5.67 MB / 0.5811 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.6808, allocations: 91.91 kB / 0.5812 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003732/0.6845, allocations: 2.273 MB / 0.5834 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003992/0.6885, allocations: 2.055 MB / 0.5854 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000833/0.6893, allocations: 240.9 kB / 0.5857 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004392/0.6937, allocations: 1.834 MB / 0.5874 GB, free: 10.83 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00157/0.6953, allocations: 1.241 MB / 0.5887 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002961/0.6982, allocations: 1.57 MB / 0.5902 GB, free: 9.863 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006349/0.7046, allocations: 4.56 MB / 0.5946 GB, free: 7.645 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.7046, allocations: 2.875 kB / 0.5946 GB, free: 7.645 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.7046, allocations: 0 / 0.5946 GB, free: 7.645 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001029/0.7047, allocations: 0 / 0.5946 GB, free: 7.645 MB / 462.1 MB 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.009659/0.7144, allocations: 3.494 MB / 0.5981 GB, free: 5.559 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.7144, allocations: 10.12 kB / 0.5981 GB, free: 5.559 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006425/0.715, allocations: 374.6 kB / 0.5984 GB, free: 5.293 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.7169, allocations: 340.1 kB / 0.5987 GB, free: 5.074 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003089/0.72, allocations: 1.332 MB / 0.6 GB, free: 3.719 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.7202, allocations: 180.9 kB / 0.6002 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005384/0.7207, allocations: 240 kB / 0.6004 GB, free: 3.305 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007374/0.7281, allocations: 3.819 MB / 0.6042 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.277e-05/0.7281, allocations: 0 / 0.6042 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004199/0.7285, allocations: 116 kB / 0.6043 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.556e-05/0.7286, allocations: 60 kB / 0.6043 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.739, allocations: 5.986 MB / 0.6102 GB, free: 9.262 MB / 478.1 MB 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.02279/0.7618, allocations: 11.26 MB / 0.6212 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008072/0.7699, allocations: 4.783 MB / 0.6259 GB, free: 8.477 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004132/0.774, allocations: 2.25 MB / 0.6281 GB, free: 6.219 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005528/0.7745, allocations: 135.4 kB / 0.6282 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/0.7747, allocations: 95.5 kB / 0.6283 GB, free: 6.008 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 6.151e-06/0.7747, allocations: 0 / 0.6283 GB, free: 6.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.0125/0.7872, allocations: 5.828 MB / 0.634 GB, free: 160 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.415e-05/0.7873, allocations: 90.47 kB / 0.6341 GB, free: 56 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.7888, allocations: 0.8685 MB / 0.6349 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006563/0.7894, allocations: 105.7 kB / 0.635 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004932/0.7899, allocations: 0.5307 MB / 0.6355 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001699/0.7916, allocations: 1.362 MB / 0.6368 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001574/0.7932, allocations: 0.6294 MB / 0.6375 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002218/0.7934, allocations: 361.9 kB / 0.6378 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003408/0.7968, allocations: 1.748 MB / 0.6395 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004121/0.801, allocations: 2.254 MB / 0.6417 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008117/0.8091, allocations: 4.333 MB / 0.6459 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.102e-05/0.8091, allocations: 4 kB / 0.646 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.0102/0.8193, allocations: 4.597 MB / 0.6504 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/0.8193, allocations: 12.03 kB / 0.6505 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.993e-05/0.8194, allocations: 19.94 kB / 0.6505 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.845e-05/0.8194, allocations: 31.94 kB / 0.6505 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004285/0.8237, allocations: 0.7917 MB / 0.6513 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.78e-05/0.8238, allocations: 31.88 kB / 0.6513 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/0.8268, allocations: 369.5 kB / 0.6517 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007381/0.8275, allocations: 147.9 kB / 0.6518 GB, free: 13.51 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.002323/0.8298, allocations: 0.7622 MB / 0.6525 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/0.8309, allocations: 222.7 kB / 0.6528 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/0.8428, allocations: 5.167 MB / 0.6578 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-05/0.8429, allocations: 43.94 kB / 0.6578 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/0.8429, allocations: 0 / 0.6578 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.519e-05/0.843, allocations: 23.91 kB / 0.6579 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005836/0.8488, allocations: 2.795 MB / 0.6606 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.269e-05/0.8488, allocations: 0 / 0.6606 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004209/0.853, allocations: 0.7255 MB / 0.6613 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.365e-05/0.8531, allocations: 16 kB / 0.6613 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007604/0.8539, allocations: 99.95 kB / 0.6614 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.002e-05/0.8539, allocations: 19.88 kB / 0.6614 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8539, allocations: 0 / 0.6614 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01542/0.8693, allocations: 7.233 MB / 0.6685 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000746/0.8701, allocations: 245.8 kB / 0.6687 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008981/0.871, allocations: 83.88 kB / 0.6688 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00342/0.8744, allocations: 231.7 kB / 0.669 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009491/0.8754, allocations: 326.8 kB / 0.6693 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007891/0.8761, allocations: 175.9 kB / 0.6695 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001147/0.8773, allocations: 0.6824 MB / 0.6702 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8773, allocations: 0 / 0.6702 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004453/0.8817, allocations: 1.097 MB / 0.6713 GB, free: 9.555 MB / 0.5294 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.01612/0.8979, allocations: 8.105 MB / 0.6792 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008999/0.9069, allocations: 4.126 MB / 0.6832 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/0.9069, allocations: 5 kB / 0.6832 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004344/0.9112, allocations: 2.111 MB / 0.6853 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006469/0.9177, allocations: 1.248 MB / 0.6865 GB, free: 9.914 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04924/0.9669, allocations: 24.66 MB / 0.7106 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00205/0.969, allocations: 1.849 MB / 0.7124 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006435/0.9754, allocations: 1.768 MB / 0.7141 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002429/0.9778, allocations: 0.8858 MB / 0.715 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of SimCode: time 1.062e-06/0.9778, allocations: 0 / 0.715 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3534/1.331, allocations: 86.78 MB / 0.7997 GB, free: 248.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/15.73, allocations: 10.33 kB / 0.7997 GB, free: 248.9 MB / 0.6075 GB " [Timeout remaining time 644] (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: 18.221704526338726] 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.850369203835726 15.867303478 15.15925064 Calling exit ...