Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008338/0.0008341, allocations: 88.16 kB / 16.31 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 180.9 kB / 17.21 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.2 MB / 241.2 MB, free: 332 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002829/0.000283, allocations: 8.75 kB / 300.9 MB, free: 6.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1115, allocations: 50.42 MB / 351.3 MB, free: 3.918 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3442/0.4557, allocations: 137.7 MB / 489.1 MB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.4569, allocations: 0.6742 MB / 489.7 MB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.141e-05/0.457, allocations: 0 / 489.7 MB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.4574, allocations: 58.27 kB / 489.8 MB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005855/0.458, allocations: 275.3 kB / 490.1 MB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0029/0.4609, allocations: 0.8484 MB / 490.9 MB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005547/0.4665, allocations: 5.982 MB / 496.9 MB, free: 4.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000446/0.4669, allocations: 267.9 kB / 497.2 MB, free: 4.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003762/0.4707, allocations: 1.921 MB / 499.1 MB, free: 2.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003798/0.4745, allocations: 2.045 MB / 0.4894 GB, free: 76 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006327/0.4752, allocations: 144 kB / 0.4895 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003569/0.4788, allocations: 1.385 MB / 0.4909 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001295/0.4801, allocations: 1.095 MB / 0.4919 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009456/0.481, allocations: 0.5006 MB / 0.4924 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003739/0.4848, allocations: 3.221 MB / 0.4956 GB, free: 9.715 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4848, allocations: 0 / 0.4956 GB, free: 9.715 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4848, allocations: 0 / 0.4956 GB, free: 9.715 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.769e-05/0.4849, allocations: 0 / 0.4956 GB, free: 9.715 MB / 414.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.007878/0.4928, allocations: 2.906 MB / 0.4984 GB, free: 6.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.4929, allocations: 12.02 kB / 0.4984 GB, free: 6.738 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009749/0.4938, allocations: 373.8 kB / 0.4988 GB, free: 6.363 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.4957, allocations: 329.2 kB / 0.4991 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/0.4983, allocations: 1.304 MB / 0.5004 GB, free: 4.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.4985, allocations: 184.9 kB / 0.5005 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004165/0.499, allocations: 244 kB / 0.5008 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006532/0.5055, allocations: 3.804 MB / 0.5045 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.884e-05/0.5056, allocations: 0 / 0.5045 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003716/0.5059, allocations: 108 kB / 0.5046 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.047e-05/0.506, allocations: 63.95 kB / 0.5046 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009278/0.5153, allocations: 5.971 MB / 0.5105 GB, free: 10.26 MB / 430.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.2207/0.736, allocations: 11.18 MB / 0.5214 GB, free: 143.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008546/0.7446, allocations: 5.016 MB / 0.5263 GB, free: 142.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00409/0.7487, allocations: 2.394 MB / 0.5286 GB, free: 141.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00057/0.7493, allocations: 435.5 kB / 0.529 GB, free: 141.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.7495, allocations: 97.97 kB / 0.5291 GB, free: 141.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 6.382e-06/0.7495, allocations: 0 / 0.5291 GB, free: 141.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.01087/0.7604, allocations: 5.786 MB / 0.5348 GB, free: 139.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.7605, allocations: 94.77 kB / 0.5349 GB, free: 139.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.7616, allocations: 0.8685 MB / 0.5357 GB, free: 139.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005453/0.7621, allocations: 99.77 kB / 0.5358 GB, free: 139.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.7624, allocations: 0.5187 MB / 0.5363 GB, free: 138.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009561/0.7634, allocations: 1.304 MB / 0.5376 GB, free: 137.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.7636, allocations: 72.97 kB / 0.5377 GB, free: 137.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.7638, allocations: 0.4936 MB / 0.5382 GB, free: 137.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00239/0.7662, allocations: 1.736 MB / 0.5399 GB, free: 136.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002547/0.7687, allocations: 2.242 MB / 0.542 GB, free: 135.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002664/0.7714, allocations: 2.105 MB / 0.5441 GB, free: 134.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.7714, allocations: 3.688 kB / 0.5441 GB, free: 134.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006222/0.7777, allocations: 4.554 MB / 0.5485 GB, free: 132.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.7777, allocations: 11.22 kB / 0.5486 GB, free: 132.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.7777, allocations: 11.25 kB / 0.5486 GB, free: 132.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.082e-05/0.7778, allocations: 29.62 kB / 0.5486 GB, free: 132.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003205/0.781, allocations: 0.7918 MB / 0.5494 GB, free: 131.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.023e-05/0.7811, allocations: 43.67 kB / 0.5494 GB, free: 131.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/0.7835, allocations: 423.5 kB / 0.5498 GB, free: 130.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002824/0.7838, allocations: 147.9 kB / 0.55 GB, free: 130.8 MB / 430.1 MB 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[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 initialization (450): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001459/0.7852, allocations: 0.7503 MB / 0.5507 GB, free: 130 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000484/0.7857, allocations: 213.7 kB / 0.5509 GB, free: 129.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007637/0.7934, allocations: 5.181 MB / 0.556 GB, free: 124.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/0.7934, allocations: 40 kB / 0.556 GB, free: 124.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.7935, allocations: 7.781 kB / 0.556 GB, free: 124.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.003e-05/0.7935, allocations: 19.92 kB / 0.556 GB, free: 124.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004233/0.7977, allocations: 2.814 MB / 0.5588 GB, free: 121.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.7978, allocations: 3.938 kB / 0.5588 GB, free: 121.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003044/0.8008, allocations: 0.7294 MB / 0.5595 GB, free: 121.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.768e-05/0.8009, allocations: 15.94 kB / 0.5595 GB, free: 121 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002057/0.8011, allocations: 87.97 kB / 0.5596 GB, free: 121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.076e-05/0.8011, allocations: 25.3 kB / 0.5596 GB, free: 120.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.8011, allocations: 3.953 kB / 0.5596 GB, free: 120.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008629/0.8097, allocations: 7.179 MB / 0.5666 GB, free: 113.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007288/0.8105, allocations: 354.8 kB / 0.567 GB, free: 113.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004435/0.811, allocations: 75.98 kB / 0.567 GB, free: 113.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0029/0.8139, allocations: 300.8 kB / 0.5673 GB, free: 113 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004735/0.8144, allocations: 310.9 kB / 0.5676 GB, free: 112.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004922/0.8149, allocations: 183.8 kB / 0.5678 GB, free: 112.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008101/0.8157, allocations: 0.6785 MB / 0.5685 GB, free: 111.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8157, allocations: 0 / 0.5685 GB, free: 111.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002403/0.8181, allocations: 1.077 MB / 0.5695 GB, free: 110.8 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009302/0.8274, allocations: 8.067 MB / 0.5774 GB, free: 102.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005476/0.8329, allocations: 4.254 MB / 0.5815 GB, free: 98.42 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/0.833, allocations: 9 kB / 0.5815 GB, free: 98.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002563/0.8355, allocations: 2.252 MB / 0.5837 GB, free: 96.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005064/0.8406, allocations: 1.243 MB / 0.585 GB, free: 94.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02802/0.8686, allocations: 18.51 MB / 0.603 GB, free: 75.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.8699, allocations: 1.845 MB / 0.6048 GB, free: 73.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005133/0.8751, allocations: 1.764 MB / 0.6066 GB, free: 72.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/0.8766, allocations: 0.878 MB / 0.6074 GB, free: 71.23 MB / 430.1 MB Notification: Performance of SimCode: time 1.192e-06/0.8766, allocations: 0 / 0.6074 GB, free: 71.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2609/1.137, allocations: 77.99 MB / 0.6836 GB, free: 135.1 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/1.138, allocations: 215.9 kB / 0.6838 GB, free: 134.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.506/5.643, allocations: 3.094 kB / 0.6838 GB, free: 134.9 MB / 430.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat does not exist to compare? outputFormat=mat