Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_3_2_3_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.000951/0.0009509, allocations: 98.38 kB / 16.93 MB, free: 5.984 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.0009845/0.0009846, allocations: 178.1 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005025/0.0005026, allocations: 12 kB / 280.8 MB, free: 3.66 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09229/0.09281, allocations: 47.57 MB / 328.4 MB, free: 4.023 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3284/0.4213, allocations: 127.6 MB / 456 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.4234, allocations: 1.767 MB / 457.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.65e-05/0.4235, allocations: 7.938 kB / 457.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.4238, allocations: 59.64 kB / 457.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000414/0.4242, allocations: 219.5 kB / 458.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.4263, allocations: 0.792 MB / 458.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002906/0.4292, allocations: 3.072 MB / 461.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003188/0.4296, allocations: 266.5 kB / 462.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002601/0.4322, allocations: 1.886 MB / 464.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002245/0.4344, allocations: 1.625 MB / 465.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003922/0.4349, allocations: 140 kB / 465.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/0.4374, allocations: 1.373 MB / 467.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.4384, allocations: 1.013 MB / 468.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005183/0.439, allocations: 0.4928 MB / 468.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002818/0.4418, allocations: 3.152 MB / 471.9 MB, free: 9.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.4418, allocations: 0 / 471.9 MB, free: 9.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4418, allocations: 0 / 471.9 MB, free: 9.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.168e-05/0.4419, allocations: 0 / 471.9 MB, free: 9.09 MB / 366.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.007456/0.4493, allocations: 2.895 MB / 474.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4494, allocations: 12.03 kB / 474.8 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000551/0.4499, allocations: 369.8 kB / 475.1 MB, free: 5.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.4516, allocations: 325.2 kB / 475.5 MB, free: 5.434 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002994/0.4546, allocations: 1.312 MB / 476.8 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.4548, allocations: 181.4 kB / 476.9 MB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003648/0.4552, allocations: 247.9 kB / 477.2 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005636/0.4608, allocations: 3.773 MB / 481 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.393e-05/0.4609, allocations: 3.938 kB / 481 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003167/0.4612, allocations: 116 kB / 481.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.839e-05/0.4612, allocations: 64 kB / 481.1 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007975/0.4692, allocations: 5.971 MB / 487.1 MB, free: 9.66 MB / 382.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.02828/0.4975, allocations: 11.19 MB / 498.3 MB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.5084, allocations: 5.015 MB / 0.4915 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008262/0.5093, allocations: 435.3 kB / 0.4919 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.5094, allocations: 98.61 kB / 0.492 GB, free: 7.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=390): time 8.706e-06/0.5094, allocations: 4 kB / 0.492 GB, free: 7.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=390): time 0.01473/0.5242, allocations: 5.781 MB / 0.4977 GB, free: 2.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/0.5243, allocations: 90.47 kB / 0.4978 GB, free: 2.086 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/0.526, allocations: 0.8673 MB / 0.4986 GB, free: 1.211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006165/0.5266, allocations: 101.7 kB / 0.4987 GB, free: 1.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004651/0.5271, allocations: 0.515 MB / 0.4992 GB, free: 0.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001742/0.5289, allocations: 1.309 MB / 0.5005 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/0.5292, allocations: 71.94 kB / 0.5006 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000336/0.5295, allocations: 0.4982 MB / 0.501 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004034/0.5336, allocations: 1.728 MB / 0.5027 GB, free: 12.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004164/0.5377, allocations: 2.238 MB / 0.5049 GB, free: 10.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003313/0.5411, allocations: 2.103 MB / 0.507 GB, free: 8.441 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.5411, allocations: 4 kB / 0.507 GB, free: 8.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007456/0.5486, allocations: 4.559 MB / 0.5114 GB, free: 3.852 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.5486, allocations: 8 kB / 0.5114 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.5486, allocations: 12 kB / 0.5114 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.337e-05/0.5487, allocations: 28.75 kB / 0.5115 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003601/0.5523, allocations: 0.7957 MB / 0.5122 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.345e-05/0.5524, allocations: 27.94 kB / 0.5123 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/0.5552, allocations: 436.4 kB / 0.5127 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000274/0.5555, allocations: 147.9 kB / 0.5128 GB, free: 2.406 MB / 414.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.001507/0.557, allocations: 0.7505 MB / 0.5136 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004878/0.5575, allocations: 209.8 kB / 0.5138 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008986/0.5665, allocations: 5.178 MB / 0.5188 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.45e-05/0.5666, allocations: 40 kB / 0.5189 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.5666, allocations: 4 kB / 0.5189 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.623e-05/0.5667, allocations: 19.92 kB / 0.5189 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005072/0.5717, allocations: 2.823 MB / 0.5216 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.5718, allocations: 4 kB / 0.5216 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003556/0.5753, allocations: 0.7294 MB / 0.5224 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.22e-05/0.5755, allocations: 15.98 kB / 0.5224 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002999/0.5758, allocations: 91.95 kB / 0.5225 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.253e-05/0.5758, allocations: 16 kB / 0.5225 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.5758, allocations: 3.938 kB / 0.5225 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/0.587, allocations: 7.179 MB / 0.5295 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000917/0.5879, allocations: 361.6 kB / 0.5298 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003598/0.5883, allocations: 75.94 kB / 0.5299 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003214/0.5915, allocations: 299.5 kB / 0.5302 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005627/0.5921, allocations: 314.9 kB / 0.5305 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.1903/0.7824, allocations: 170.6 kB / 0.5307 GB, free: 160.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001139/0.7836, allocations: 0.6767 MB / 0.5313 GB, free: 160.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7836, allocations: 1.406 kB / 0.5313 GB, free: 160.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004129/0.7878, allocations: 1.087 MB / 0.5324 GB, free: 160.3 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.01291/0.8007, allocations: 8.085 MB / 0.5403 GB, free: 158.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006413/0.8071, allocations: 4.252 MB / 0.5444 GB, free: 157.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/0.8072, allocations: 8.938 kB / 0.5444 GB, free: 157.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0027/0.8099, allocations: 2.252 MB / 0.5466 GB, free: 156.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005233/0.8151, allocations: 1.167 MB / 0.5478 GB, free: 156.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02592/0.8411, allocations: 25.8 MB / 0.573 GB, free: 130.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009089/0.842, allocations: 1.88 MB / 0.5748 GB, free: 128.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004997/0.847, allocations: 1.768 MB / 0.5765 GB, free: 127.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/0.8485, allocations: 0.8741 MB / 0.5774 GB, free: 126.2 MB / 430.1 MB Notification: Performance of SimCode: time 1.513e-06/0.8485, allocations: 0 / 0.5774 GB, free: 126.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0989/0.9474, allocations: 78.06 MB / 0.6536 GB, free: 48.03 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/0.9476, allocations: 206.9 kB / 0.6538 GB, free: 47.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.385/5.332, allocations: 0 / 0.6538 GB, free: 47.79 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat does not exist to compare? outputFormat=mat