Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 227.2 MB / 245 MB, free: 7.664 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008867/0.0008867, allocations: 99.41 kB / 297.3 MB, free: 6.207 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000223/0.000223, allocations: 4 kB / 358 MB, free: 9.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2058, allocations: 51.48 MB / 409.5 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.84/12.05, allocations: 6.206 GB / 6.606 GB, free: 77.94 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/12.05, allocations: 84.86 kB / 6.606 GB, free: 77.86 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7518/12.8, allocations: 202 MB / 6.803 GB, free: 57.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.264e-06/12.8, allocations: 0 / 6.803 GB, free: 57.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.977e-05/12.8, allocations: 7.938 kB / 6.803 GB, free: 57.01 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.007761/12.81, allocations: 1.473 MB / 6.805 GB, free: 55.48 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/12.81, allocations: 12.03 kB / 6.805 GB, free: 55.47 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/12.81, allocations: 62.5 kB / 6.805 GB, free: 55.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/12.81, allocations: 19.75 kB / 6.805 GB, free: 55.38 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/12.81, allocations: 210.9 kB / 6.805 GB, free: 55.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/12.81, allocations: 16.33 kB / 6.805 GB, free: 55.12 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/12.81, allocations: 15.98 kB / 6.805 GB, free: 55.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007122/12.81, allocations: 289.3 kB / 6.805 GB, free: 54.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/12.81, allocations: 0 / 6.805 GB, free: 54.81 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/12.81, allocations: 8 kB / 6.805 GB, free: 54.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/12.81, allocations: 7.953 kB / 6.805 GB, free: 54.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007186/12.81, allocations: 307.6 kB / 6.805 GB, free: 54.5 MB / 458.7 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.001369/12.81, allocations: 0.7145 MB / 6.806 GB, free: 53.71 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006485/12.81, allocations: 250.7 kB / 6.806 GB, free: 53.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01248/12.83, allocations: 12.44 MB / 6.819 GB, free: 38.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/12.83, allocations: 42.5 kB / 6.819 GB, free: 38.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 3.126e-06/12.83, allocations: 0 / 6.819 GB, free: 38.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.002996/12.83, allocations: 0.6868 MB / 6.819 GB, free: 37.75 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/12.83, allocations: 85.3 kB / 6.819 GB, free: 37.65 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/12.83, allocations: 120.9 kB / 6.819 GB, free: 37.53 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/12.83, allocations: 33.7 kB / 6.819 GB, free: 37.49 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/12.83, allocations: 108.8 kB / 6.82 GB, free: 37.38 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/12.83, allocations: 126.1 kB / 6.82 GB, free: 37.25 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/12.83, allocations: 12 kB / 6.82 GB, free: 37.24 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.736e-05/12.83, allocations: 322.8 kB / 6.82 GB, free: 36.92 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/12.83, allocations: 143.9 kB / 6.82 GB, free: 36.78 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/12.83, allocations: 203.8 kB / 6.82 GB, free: 36.55 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004304/12.83, allocations: 156.8 kB / 6.82 GB, free: 36.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/12.83, allocations: 4 kB / 6.82 GB, free: 36.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001035/12.83, allocations: 416.6 kB / 6.821 GB, free: 35.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/12.83, allocations: 12.02 kB / 6.821 GB, free: 35.97 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/12.83, allocations: 4 kB / 6.821 GB, free: 35.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/12.83, allocations: 7.953 kB / 6.821 GB, free: 35.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/12.83, allocations: 87.88 kB / 6.821 GB, free: 35.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/12.83, allocations: 4 kB / 6.821 GB, free: 35.87 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/12.83, allocations: 23.89 kB / 6.821 GB, free: 35.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/12.83, allocations: 23.98 kB / 6.821 GB, free: 35.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001531/12.83, allocations: 141.8 kB / 6.821 GB, free: 35.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/12.83, allocations: 19.81 kB / 6.821 GB, free: 35.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/12.83, allocations: 206.2 kB / 6.821 GB, free: 35.45 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-06/12.83, allocations: 4 kB / 6.821 GB, free: 35.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/12.83, allocations: 3.953 kB / 6.821 GB, free: 35.44 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/12.83, allocations: 3.984 kB / 6.821 GB, free: 35.44 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/12.83, allocations: 0.7677 MB / 6.822 GB, free: 34.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/12.83, allocations: 4 kB / 6.822 GB, free: 34.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/12.83, allocations: 79.88 kB / 6.822 GB, free: 34.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/12.83, allocations: 4 kB / 6.822 GB, free: 34.51 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/12.83, allocations: 12 kB / 6.822 GB, free: 34.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/12.83, allocations: 3.938 kB / 6.822 GB, free: 34.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/12.83, allocations: 4 kB / 6.822 GB, free: 34.49 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/12.84, allocations: 0.7948 MB / 6.823 GB, free: 33.63 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/12.84, allocations: 128.8 kB / 6.823 GB, free: 33.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/12.84, allocations: 8 kB / 6.823 GB, free: 33.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/12.84, allocations: 27.97 kB / 6.823 GB, free: 33.45 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/12.84, allocations: 27.92 kB / 6.823 GB, free: 33.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/12.84, allocations: 19.98 kB / 6.823 GB, free: 33.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.828e-05/12.84, allocations: 99.33 kB / 6.823 GB, free: 33.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.11e-07/12.84, allocations: 0 / 6.823 GB, free: 33.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005285/12.84, allocations: 1.135 MB / 6.824 GB, free: 32.17 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.0108/12.85, allocations: 3.261 MB / 6.828 GB, free: 28.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/12.85, allocations: 347.8 kB / 6.828 GB, free: 28.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/12.85, allocations: 0 / 6.828 GB, free: 28.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005413/12.85, allocations: 183.7 kB / 6.828 GB, free: 28.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007778/12.86, allocations: 92.3 kB / 6.828 GB, free: 28.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03117/12.89, allocations: 15.22 MB / 6.843 GB, free: 12.65 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/12.89, allocations: 0.7417 MB / 6.844 GB, free: 11.88 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004989/12.89, allocations: 89.81 kB / 6.844 GB, free: 11.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/12.89, allocations: 71.41 kB / 6.844 GB, free: 11.72 MB / 458.7 MB Notification: Performance of SimCode: time 1.222e-06/12.89, allocations: 0 / 6.844 GB, free: 11.72 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3328/13.22, allocations: 35.12 MB / 6.878 GB, free: 63.53 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/13.22, allocations: 207.2 kB / 6.878 GB, free: 63.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.105/16.33, allocations: 0 / 6.878 GB, free: 63.3 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat