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.001354/0.001354, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001679/0.001679, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.427/1.427, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.001926/0.001926, allocations: 71.88 kB / 373.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.106, allocations: 53.31 MB / 426.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3864/0.4924, allocations: 155.2 MB / 0.5684 GB, free: 5.332 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.4936, allocations: 0.6984 MB / 0.5691 GB, free: 4.633 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.502e-05/0.4937, allocations: 0 / 0.5691 GB, free: 4.633 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.4941, allocations: 79.48 kB / 0.5692 GB, free: 4.555 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005901/0.4947, allocations: 298.7 kB / 0.5695 GB, free: 4.262 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00301/0.4977, allocations: 1.124 MB / 0.5706 GB, free: 3.145 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00533/0.503, allocations: 5.605 MB / 0.576 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003171/0.5033, allocations: 188 kB / 0.5762 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003675/0.507, allocations: 2.242 MB / 0.5784 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003669/0.5107, allocations: 2.05 MB / 0.5804 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007367/0.5114, allocations: 236 kB / 0.5806 GB, free: 8.781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004389/0.5158, allocations: 1.815 MB / 0.5824 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002187/0.518, allocations: 1.227 MB / 0.5836 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003504/0.5215, allocations: 1.568 MB / 0.5851 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007476/0.529, allocations: 4.556 MB / 0.5896 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.529, allocations: 4 kB / 0.5896 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.916e-06/0.529, allocations: 0 / 0.5896 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001261/0.5291, allocations: 0 / 0.5896 GB, free: 15.59 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.01032/0.5394, allocations: 3.568 MB / 0.5931 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.5395, allocations: 8.031 kB / 0.5931 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006872/0.5402, allocations: 374 kB / 0.5934 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.5422, allocations: 331.9 kB / 0.5938 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003937/0.5461, allocations: 1.339 MB / 0.5951 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.5463, allocations: 192.8 kB / 0.5953 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006644/0.547, allocations: 243.9 kB / 0.5955 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007515/0.5545, allocations: 3.819 MB / 0.5992 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.992e-05/0.5545, allocations: 0 / 0.5992 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004501/0.555, allocations: 121.4 kB / 0.5993 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.756e-05/0.555, allocations: 60 kB / 0.5994 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.5655, allocations: 5.978 MB / 0.6052 GB, free: 15.38 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.02625/0.5918, allocations: 11.23 MB / 0.6162 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1953/0.7871, allocations: 4.784 MB / 0.6209 GB, free: 177.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003725/0.7908, allocations: 2.241 MB / 0.6231 GB, free: 177 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005481/0.7913, allocations: 436.2 kB / 0.6235 GB, free: 176.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.194e-05/0.7914, allocations: 95.7 kB / 0.6236 GB, free: 176.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=390): time 6.122e-06/0.7914, allocations: 0.7812 kB / 0.6236 GB, free: 176.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=390): time 0.01014/0.8016, allocations: 5.824 MB / 0.6293 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.8016, allocations: 92.66 kB / 0.6293 GB, free: 175 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.8029, allocations: 0.8804 MB / 0.6302 GB, free: 174.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006245/0.8035, allocations: 99.77 kB / 0.6303 GB, free: 174.6 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.8038, allocations: 0.5257 MB / 0.6308 GB, free: 174.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001206/0.805, allocations: 1.37 MB / 0.6321 GB, free: 173.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009525/0.806, allocations: 0.6278 MB / 0.6328 GB, free: 173.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.8061, allocations: 356.3 kB / 0.6331 GB, free: 172.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002842/0.8089, allocations: 1.74 MB / 0.6348 GB, free: 172.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003436/0.8124, allocations: 2.262 MB / 0.637 GB, free: 171.4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00626/0.8186, allocations: 4.338 MB / 0.6412 GB, free: 169.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/0.8187, allocations: 3.375 kB / 0.6412 GB, free: 169.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007132/0.8258, allocations: 4.588 MB / 0.6457 GB, free: 168.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.8258, allocations: 12.03 kB / 0.6457 GB, free: 168.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/0.8259, allocations: 14.16 kB / 0.6458 GB, free: 168.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.801e-05/0.8259, allocations: 33.84 kB / 0.6458 GB, free: 168.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00351/0.8294, allocations: 0.7916 MB / 0.6466 GB, free: 168.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.607e-05/0.8295, allocations: 35.38 kB / 0.6466 GB, free: 168.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/0.8319, allocations: 371.4 kB / 0.6469 GB, free: 168.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003965/0.8323, allocations: 146.6 kB / 0.6471 GB, free: 168.2 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.001535/0.8338, allocations: 0.7648 MB / 0.6478 GB, free: 167.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007913/0.8346, allocations: 216.1 kB / 0.648 GB, free: 167.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008171/0.8428, allocations: 5.168 MB / 0.6531 GB, free: 164.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.506e-05/0.8428, allocations: 40.97 kB / 0.6531 GB, free: 164.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-05/0.8428, allocations: 7.688 kB / 0.6531 GB, free: 164.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.174e-05/0.8429, allocations: 19.92 kB / 0.6532 GB, free: 164.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00418/0.847, allocations: 2.825 MB / 0.6559 GB, free: 163 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.842e-05/0.8471, allocations: 4 kB / 0.6559 GB, free: 163 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003321/0.8504, allocations: 0.7289 MB / 0.6566 GB, free: 162.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-05/0.8504, allocations: 12 kB / 0.6566 GB, free: 162.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004693/0.8509, allocations: 87.97 kB / 0.6567 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-05/0.8509, allocations: 19.47 kB / 0.6567 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.8509, allocations: 7.922 kB / 0.6567 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009461/0.8604, allocations: 7.226 MB / 0.6638 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004927/0.8609, allocations: 326.9 kB / 0.6641 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005388/0.8614, allocations: 87.88 kB / 0.6642 GB, free: 154.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002797/0.8642, allocations: 220.9 kB / 0.6644 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006064/0.8648, allocations: 316.9 kB / 0.6647 GB, free: 154 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004719/0.8653, allocations: 176.8 kB / 0.6649 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007353/0.866, allocations: 0.6863 MB / 0.6656 GB, free: 153.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.866, allocations: 0 / 0.6656 GB, free: 153.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00244/0.8685, allocations: 1.093 MB / 0.6666 GB, free: 152 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.01037/0.8789, allocations: 8.13 MB / 0.6746 GB, free: 143.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006513/0.8854, allocations: 4.126 MB / 0.6786 GB, free: 139.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.8854, allocations: 5 kB / 0.6786 GB, free: 139.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003275/0.8887, allocations: 2.107 MB / 0.6806 GB, free: 137.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006116/0.8948, allocations: 1.247 MB / 0.6819 GB, free: 136.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03552/0.9303, allocations: 24.66 MB / 0.7059 GB, free: 111.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/0.9318, allocations: 1.848 MB / 0.7078 GB, free: 109.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00518/0.9369, allocations: 1.771 MB / 0.7095 GB, free: 107.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001962/0.9389, allocations: 0.8858 MB / 0.7103 GB, free: 106.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.553e-06/0.9389, allocations: 0 / 0.7103 GB, free: 106.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/1.047, allocations: 83.91 MB / 0.7923 GB, free: 23.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.52, allocations: 8.047 kB / 0.7923 GB, free: 23.08 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 & /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: 16.89869358111173] 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'] 14.640458359848708 14.655185038 14.122830362 Calling exit ...