Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_trunk_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.0008355/0.0008354, allocations: 92.62 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008718/0.0008719, allocations: 199.1 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002459/0.0002459, allocations: 4 kB / 306.8 MB, free: 1.512 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09406/0.09432, allocations: 51.5 MB / 358.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3415/0.4359, allocations: 137.8 MB / 496.1 MB, free: 2.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.4371, allocations: 0.6734 MB / 496.8 MB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.757e-05/0.4371, allocations: 0 / 496.8 MB, free: 2.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.4375, allocations: 63.62 kB / 496.8 MB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005558/0.438, allocations: 276.5 kB / 497.1 MB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.4405, allocations: 0.8429 MB / 497.9 MB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005284/0.4458, allocations: 5.982 MB / 0.4921 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000423/0.4463, allocations: 260.5 kB / 0.4924 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003537/0.4498, allocations: 1.928 MB / 0.4942 GB, free: 8.871 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003728/0.4536, allocations: 2.042 MB / 0.4962 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005601/0.4541, allocations: 144 kB / 0.4964 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003777/0.4579, allocations: 1.428 MB / 0.4978 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00141/0.4594, allocations: 1.087 MB / 0.4988 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.4604, allocations: 0.4928 MB / 0.4993 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004122/0.4646, allocations: 3.241 MB / 0.5025 GB, free: 428 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.4646, allocations: 7.875 kB / 0.5025 GB, free: 420 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4646, allocations: 0 / 0.5025 GB, free: 420 kB / 414.1 MB Notification: Performance of Transformations before backend: time 7.861e-05/0.4647, allocations: 0 / 0.5025 GB, free: 420 kB / 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.007774/0.4725, allocations: 2.922 MB / 0.5053 GB, free: 13.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.4725, allocations: 8.031 kB / 0.5053 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007731/0.4733, allocations: 374.6 kB / 0.5057 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.475, allocations: 325.2 kB / 0.506 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.4775, allocations: 1.312 MB / 0.5073 GB, free: 11.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.4776, allocations: 184.8 kB / 0.5075 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003759/0.478, allocations: 236 kB / 0.5077 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005997/0.484, allocations: 3.796 MB / 0.5114 GB, free: 7.109 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.927e-05/0.4841, allocations: 0 / 0.5114 GB, free: 7.109 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003306/0.4844, allocations: 116 kB / 0.5115 GB, free: 6.996 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-05/0.4845, allocations: 64 kB / 0.5116 GB, free: 6.934 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008644/0.4931, allocations: 5.972 MB / 0.5174 GB, free: 0.9453 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.01747/0.5106, allocations: 11.19 MB / 0.5283 GB, free: 4.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2286/0.7393, allocations: 5.01 MB / 0.5332 GB, free: 155.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005927/0.7453, allocations: 2.395 MB / 0.5356 GB, free: 155.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000939/0.7462, allocations: 438.5 kB / 0.536 GB, free: 154.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.7464, allocations: 98.42 kB / 0.5361 GB, free: 154.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 1.405e-05/0.7464, allocations: 0 / 0.5361 GB, free: 154.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.01437/0.7608, allocations: 5.781 MB / 0.5417 GB, free: 153.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.7609, allocations: 91.72 kB / 0.5418 GB, free: 153.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.7623, allocations: 0.8657 MB / 0.5426 GB, free: 153.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006051/0.763, allocations: 106.3 kB / 0.5427 GB, free: 153.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.7633, allocations: 0.5093 MB / 0.5432 GB, free: 152.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001159/0.7645, allocations: 1.31 MB / 0.5445 GB, free: 151.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003315/0.7648, allocations: 72.84 kB / 0.5446 GB, free: 151.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003365/0.7651, allocations: 0.4987 MB / 0.5451 GB, free: 151.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003186/0.7683, allocations: 1.731 MB / 0.5468 GB, free: 150.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003522/0.7719, allocations: 2.247 MB / 0.549 GB, free: 149.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003546/0.7754, allocations: 2.101 MB / 0.551 GB, free: 149.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-05/0.7755, allocations: 4.156 kB / 0.551 GB, free: 149.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008026/0.7835, allocations: 4.565 MB / 0.5555 GB, free: 147.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.7836, allocations: 8.344 kB / 0.5555 GB, free: 147.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.7836, allocations: 9.5 kB / 0.5555 GB, free: 147.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-05/0.7837, allocations: 29.5 kB / 0.5555 GB, free: 147.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003336/0.787, allocations: 0.795 MB / 0.5563 GB, free: 147.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.729e-05/0.7871, allocations: 30.72 kB / 0.5563 GB, free: 147.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.7896, allocations: 428.4 kB / 0.5567 GB, free: 147.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003584/0.7899, allocations: 144.8 kB / 0.5569 GB, free: 147.1 MB / 446.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.001299/0.7912, allocations: 0.7588 MB / 0.5576 GB, free: 146.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005353/0.7918, allocations: 207.1 kB / 0.5578 GB, free: 146.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007816/0.7996, allocations: 5.177 MB / 0.5629 GB, free: 142.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/0.7997, allocations: 47.62 kB / 0.5629 GB, free: 142.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/0.7997, allocations: 0 / 0.5629 GB, free: 142.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.388e-05/0.7997, allocations: 19.92 kB / 0.5629 GB, free: 142.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/0.8038, allocations: 2.831 MB / 0.5657 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.827e-05/0.8039, allocations: 0 / 0.5657 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002973/0.8068, allocations: 0.7325 MB / 0.5664 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-05/0.8069, allocations: 16 kB / 0.5664 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000251/0.8072, allocations: 91.95 kB / 0.5665 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-05/0.8072, allocations: 16 kB / 0.5665 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.8072, allocations: 0 / 0.5665 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008936/0.8161, allocations: 7.18 MB / 0.5735 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007004/0.8169, allocations: 363.3 kB / 0.5739 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004145/0.8173, allocations: 75.94 kB / 0.574 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00292/0.8202, allocations: 299.3 kB / 0.5743 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004718/0.8207, allocations: 310.8 kB / 0.5745 GB, free: 130.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004705/0.8212, allocations: 179.9 kB / 0.5747 GB, free: 130.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008752/0.8221, allocations: 0.6746 MB / 0.5754 GB, free: 129.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.8221, allocations: 3.938 kB / 0.5754 GB, free: 129.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00263/0.8247, allocations: 1.091 MB / 0.5764 GB, free: 128.6 MB / 446.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.01013/0.8349, allocations: 8.077 MB / 0.5843 GB, free: 120.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005947/0.8409, allocations: 4.256 MB / 0.5885 GB, free: 116.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/0.8409, allocations: 5.125 kB / 0.5885 GB, free: 116.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002783/0.8437, allocations: 2.259 MB / 0.5907 GB, free: 114 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00539/0.8491, allocations: 1.246 MB / 0.5919 GB, free: 112.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02864/0.8777, allocations: 18.49 MB / 0.61 GB, free: 93.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/0.8793, allocations: 1.847 MB / 0.6118 GB, free: 91.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006604/0.8859, allocations: 1.771 MB / 0.6135 GB, free: 89.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002172/0.8881, allocations: 0.878 MB / 0.6144 GB, free: 89.03 MB / 446.1 MB Notification: Performance of SimCode: time 1.393e-06/0.8881, allocations: 8 kB / 0.6144 GB, free: 89.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09835/0.9865, allocations: 78.14 MB / 0.6907 GB, free: 11.16 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/0.9867, allocations: 208.6 kB / 0.6909 GB, free: 10.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.261/5.248, allocations: 0 / 0.6909 GB, free: 10.92 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat does not exist to compare? outputFormat=mat