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.001813/0.001813, 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.001639/0.001639, 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.001992/0.001992, allocations: 72.77 kB / 378.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2724, allocations: 53.36 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4432/0.7157, allocations: 155.2 MB / 0.5734 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.7169, allocations: 0.7105 MB / 0.5741 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.717, allocations: 0 / 0.5741 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000412/0.7174, allocations: 87.42 kB / 0.5742 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007501/0.7182, allocations: 297.6 kB / 0.5745 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00308/0.7212, allocations: 1.14 MB / 0.5756 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004885/0.7261, allocations: 5.668 MB / 0.5811 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.7265, allocations: 98.3 kB / 0.5812 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004087/0.7305, allocations: 2.274 MB / 0.5834 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004395/0.7349, allocations: 2.056 MB / 0.5854 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.7362, allocations: 238.3 kB / 0.5857 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005468/0.7416, allocations: 1.83 MB / 0.5874 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002305/0.7439, allocations: 1.249 MB / 0.5887 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003867/0.7478, allocations: 1.566 MB / 0.5902 GB, free: 9.844 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007992/0.7558, allocations: 4.56 MB / 0.5946 GB, free: 7.641 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.7558, allocations: 0 / 0.5946 GB, free: 7.641 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.7558, allocations: 0 / 0.5946 GB, free: 7.641 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001617/0.756, allocations: 0 / 0.5946 GB, free: 7.641 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.01179/0.7678, allocations: 3.483 MB / 0.598 GB, free: 5.566 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.7678, allocations: 14.03 kB / 0.5981 GB, free: 5.562 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001302/0.7691, allocations: 375.1 kB / 0.5984 GB, free: 5.293 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002548/0.7717, allocations: 339.8 kB / 0.5987 GB, free: 5.082 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003726/0.7754, allocations: 1.339 MB / 0.6 GB, free: 3.723 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.7756, allocations: 176.9 kB / 0.6002 GB, free: 3.547 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007437/0.7763, allocations: 248 kB / 0.6005 GB, free: 3.305 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008406/0.7847, allocations: 3.815 MB / 0.6042 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.055e-05/0.7848, allocations: 0 / 0.6042 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005455/0.7853, allocations: 116 kB / 0.6043 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.733e-05/0.7854, allocations: 60 kB / 0.6043 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/0.796, allocations: 5.986 MB / 0.6102 GB, free: 9.266 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.02409/0.82, allocations: 11.26 MB / 0.6212 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008368/0.8284, allocations: 4.783 MB / 0.6259 GB, free: 8.477 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004382/0.8328, allocations: 2.245 MB / 0.6281 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006225/0.8334, allocations: 129 kB / 0.6282 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.8336, allocations: 98.62 kB / 0.6283 GB, free: 6.012 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 6.021e-06/0.8336, allocations: 0 / 0.6283 GB, free: 6.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01227/0.8458, allocations: 5.825 MB / 0.634 GB, free: 168 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.8459, allocations: 90.47 kB / 0.634 GB, free: 64 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.8473, allocations: 0.8752 MB / 0.6349 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007223/0.848, allocations: 101.7 kB / 0.635 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004614/0.8485, allocations: 0.5301 MB / 0.6355 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001762/0.8503, allocations: 1.367 MB / 0.6369 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/0.8514, allocations: 0.6255 MB / 0.6375 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002213/0.8517, allocations: 361.7 kB / 0.6378 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003396/0.8551, allocations: 1.748 MB / 0.6395 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00409/0.8591, allocations: 2.262 MB / 0.6417 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008337/0.8675, allocations: 4.333 MB / 0.646 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.056e-05/0.8675, allocations: 0 / 0.646 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01041/0.8779, allocations: 4.595 MB / 0.6504 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.878, allocations: 12 kB / 0.6505 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/0.878, allocations: 12 kB / 0.6505 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.896e-05/0.878, allocations: 28.69 kB / 0.6505 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004317/0.8823, allocations: 0.7957 MB / 0.6513 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.673e-05/0.8824, allocations: 31.94 kB / 0.6513 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003292/0.8857, allocations: 369.5 kB / 0.6517 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005565/0.8863, allocations: 143.9 kB / 0.6518 GB, free: 13.52 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.001964/0.8882, allocations: 0.7583 MB / 0.6525 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009481/0.8892, allocations: 219.4 kB / 0.6527 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/0.8993, allocations: 5.171 MB / 0.6578 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.06e-05/0.8994, allocations: 43.94 kB / 0.6578 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/0.8994, allocations: 4 kB / 0.6578 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.145e-05/0.8994, allocations: 31.84 kB / 0.6579 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005288/0.9047, allocations: 2.79 MB / 0.6606 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/0.9047, allocations: 0.5625 kB / 0.6606 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003687/0.9084, allocations: 0.7294 MB / 0.6613 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.321e-05/0.9085, allocations: 12 kB / 0.6613 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003664/0.9088, allocations: 99.89 kB / 0.6614 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.61e-05/0.9089, allocations: 19.94 kB / 0.6614 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9089, allocations: 3.938 kB / 0.6614 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/0.9215, allocations: 7.228 MB / 0.6685 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008041/0.9223, allocations: 249.8 kB / 0.6687 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007315/0.923, allocations: 83.88 kB / 0.6688 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00327/0.9263, allocations: 227.7 kB / 0.669 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008157/0.9271, allocations: 326.8 kB / 0.6693 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005184/0.9276, allocations: 175.9 kB / 0.6695 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001028/0.9287, allocations: 0.6863 MB / 0.6702 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9287, allocations: 4 kB / 0.6702 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003284/0.9319, allocations: 1.093 MB / 0.6712 GB, free: 9.559 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.01418/0.9461, allocations: 8.11 MB / 0.6792 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0087/0.9548, allocations: 4.126 MB / 0.6832 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.772e-05/0.9548, allocations: 9 kB / 0.6832 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00452/0.9594, allocations: 2.103 MB / 0.6853 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006216/0.9656, allocations: 1.249 MB / 0.6865 GB, free: 9.922 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04802/1.014, allocations: 24.67 MB / 0.7106 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/1.015, allocations: 1.845 MB / 0.7124 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005282/1.02, allocations: 1.771 MB / 0.7141 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/1.022, allocations: 0.8858 MB / 0.715 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of SimCode: time 2.244e-06/1.022, allocations: 0 / 0.715 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3477/1.37, allocations: 86.78 MB / 0.7997 GB, free: 248.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.66, allocations: 9.266 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.079087189864367] 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.775414046831429 15.785402394 15.026951026 Calling exit ...