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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001582/0.001582, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001899/0.001899, allocations: 204.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.413/1.413, allocations: 227.7 MB / 247.2 MB, free: 10.2 MB / 206.1 MB 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.003074/0.003074, allocations: 59.89 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2614, allocations: 50.55 MB / 409.1 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4176/0.679, allocations: 154.7 MB / 0.5506 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.6801, allocations: 0.7039 MB / 0.5513 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.6802, allocations: 5.625 kB / 0.5513 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.6805, allocations: 73.78 kB / 0.5514 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005396/0.6811, allocations: 291.4 kB / 0.5516 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.6837, allocations: 1.12 MB / 0.5527 GB, free: 0.582 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003755/0.6875, allocations: 5.593 MB / 0.5582 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003195/0.6878, allocations: 259.1 kB / 0.5584 GB, free: 460 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003226/0.6911, allocations: 2.178 MB / 0.5606 GB, free: 460 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00385/0.6949, allocations: 1.973 MB / 0.5625 GB, free: 448 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009668/0.6959, allocations: 237 kB / 0.5627 GB, free: 448 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004337/0.7003, allocations: 1.772 MB / 0.5644 GB, free: 428 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001712/0.702, allocations: 1.228 MB / 0.5656 GB, free: 416 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00395/0.706, allocations: 1.56 MB / 0.5672 GB, free: 384 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006329/0.7123, allocations: 4.564 MB / 0.5716 GB, free: 15.89 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.7124, allocations: 3.812 kB / 0.5716 GB, free: 15.89 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.7124, allocations: 0 / 0.5716 GB, free: 15.89 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001385/0.7125, allocations: 0 / 0.5716 GB, free: 15.89 MB / 478.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.01064/0.7232, allocations: 3.554 MB / 0.5751 GB, free: 14.72 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.7232, allocations: 9.875 kB / 0.5751 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007626/0.724, allocations: 378.2 kB / 0.5755 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/0.726, allocations: 332.2 kB / 0.5758 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/0.7287, allocations: 1.346 MB / 0.5771 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.7288, allocations: 180.8 kB / 0.5773 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004587/0.7293, allocations: 244.5 kB / 0.5775 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006415/0.7357, allocations: 3.827 MB / 0.5812 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.7358, allocations: 0 / 0.5812 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004352/0.7362, allocations: 118.4 kB / 0.5814 GB, free: 13.69 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.642e-05/0.7363, allocations: 57.28 kB / 0.5814 GB, free: 13.69 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008365/0.7446, allocations: 5.989 MB / 0.5873 GB, free: 12.25 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.02036/0.765, allocations: 11.23 MB / 0.5982 GB, free: 2.199 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007622/0.7727, allocations: 5.039 MB / 0.6031 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00405/0.7767, allocations: 2.405 MB / 0.6055 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000761/0.7775, allocations: 436.1 kB / 0.6059 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/0.7777, allocations: 94.62 kB / 0.606 GB, free: 11.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 5.17e-06/0.7777, allocations: 0 / 0.606 GB, free: 11.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01161/0.7893, allocations: 5.832 MB / 0.6117 GB, free: 5.832 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.755e-05/0.7894, allocations: 93.66 kB / 0.6118 GB, free: 5.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.7907, allocations: 0.8674 MB / 0.6126 GB, free: 4.852 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006144/0.7913, allocations: 105.7 kB / 0.6127 GB, free: 4.742 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/0.7918, allocations: 0.529 MB / 0.6133 GB, free: 4.211 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001533/0.7933, allocations: 1.371 MB / 0.6146 GB, free: 2.859 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001068/0.7944, allocations: 0.6255 MB / 0.6152 GB, free: 2.227 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.7946, allocations: 357.9 kB / 0.6155 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00304/0.7976, allocations: 1.748 MB / 0.6173 GB, free: 124 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003594/0.8012, allocations: 2.252 MB / 0.6194 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007381/0.8086, allocations: 4.336 MB / 0.6237 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/0.8087, allocations: 4 kB / 0.6237 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008805/0.8175, allocations: 4.594 MB / 0.6282 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.8175, allocations: 8 kB / 0.6282 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-05/0.8176, allocations: 24.06 kB / 0.6282 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.187e-05/0.8176, allocations: 31.94 kB / 0.6282 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003806/0.8214, allocations: 0.7879 MB / 0.629 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-05/0.8215, allocations: 32.39 kB / 0.629 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/0.8241, allocations: 362.5 kB / 0.6294 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000394/0.8245, allocations: 147.9 kB / 0.6295 GB, free: 3.363 MB / 0.4981 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.001695/0.8262, allocations: 0.7622 MB / 0.6303 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006696/0.8268, allocations: 218.8 kB / 0.6305 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009542/0.8364, allocations: 5.17 MB / 0.6355 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.476e-05/0.8365, allocations: 43.94 kB / 0.6356 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.8365, allocations: 0 / 0.6356 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.517e-05/0.8365, allocations: 19.92 kB / 0.6356 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004853/0.8414, allocations: 2.831 MB / 0.6383 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.8414, allocations: 0 / 0.6383 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003545/0.845, allocations: 0.7256 MB / 0.6391 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.483e-05/0.845, allocations: 19.94 kB / 0.6391 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00031/0.8453, allocations: 91.95 kB / 0.6392 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.374e-05/0.8454, allocations: 19.94 kB / 0.6392 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.8454, allocations: 0 / 0.6392 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/0.8575, allocations: 7.229 MB / 0.6462 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006385/0.8582, allocations: 326.9 kB / 0.6466 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005192/0.8588, allocations: 87.88 kB / 0.6466 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003051/0.8618, allocations: 223.7 kB / 0.6469 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007214/0.8626, allocations: 318.9 kB / 0.6472 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004824/0.863, allocations: 179.9 kB / 0.6473 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009392/0.864, allocations: 0.6808 MB / 0.648 GB, free: 492 kB / 0.5137 GB Notification: Performance of sort global known variables: time 2.5e-07/0.864, allocations: 0 / 0.648 GB, free: 492 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002922/0.8669, allocations: 1.093 MB / 0.6491 GB, free: 15.38 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.01383/0.8808, allocations: 8.134 MB / 0.657 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008818/0.8896, allocations: 4.302 MB / 0.6612 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/0.8897, allocations: 9 kB / 0.6612 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004481/0.8942, allocations: 2.266 MB / 0.6634 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00741/0.9016, allocations: 1.244 MB / 0.6646 GB, free: 15.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04769/0.9493, allocations: 24.66 MB / 0.6887 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001973/0.9514, allocations: 1.849 MB / 0.6905 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005785/0.9572, allocations: 1.768 MB / 0.6922 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002135/0.9593, allocations: 0.8898 MB / 0.6931 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of SimCode: time 2.033e-06/0.9594, allocations: 0 / 0.6931 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3197/1.279, allocations: 83.42 MB / 0.7746 GB, free: 298.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/15.17, allocations: 4.828 kB / 0.7746 GB, free: 298.3 MB / 0.6231 GB (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)