Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.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.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_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.001225/0.001225, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009467/0.0009466, allocations: 104.5 kB / 297.3 MB, free: 6.223 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000264/0.0002639, allocations: 8 kB / 358 MB, free: 9.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2235, allocations: 51.49 MB / 409.5 MB, free: 26.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.218/6.442, allocations: 3.33 GB / 3.73 GB, free: 129.6 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/6.442, allocations: 71.97 kB / 3.73 GB, free: 129.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1035/6.546, allocations: 48.95 MB / 3.778 GB, free: 80.04 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.725e-06/6.546, allocations: 0 / 3.778 GB, free: 80.04 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/6.546, allocations: 4 kB / 3.778 GB, free: 80.04 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.001698/6.548, allocations: 0.6354 MB / 3.779 GB, free: 79.35 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001105/6.548, allocations: 12.03 kB / 3.779 GB, free: 79.34 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/6.548, allocations: 46.55 kB / 3.779 GB, free: 79.28 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/6.548, allocations: 23.81 kB / 3.779 GB, free: 79.26 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/6.548, allocations: 210.8 kB / 3.779 GB, free: 79.01 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/6.548, allocations: 16.27 kB / 3.779 GB, free: 79 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/6.548, allocations: 23.95 kB / 3.779 GB, free: 78.97 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/6.549, allocations: 257.4 kB / 3.779 GB, free: 78.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/6.549, allocations: 3.906 kB / 3.779 GB, free: 78.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/6.549, allocations: 8 kB / 3.779 GB, free: 78.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/6.549, allocations: 8 kB / 3.779 GB, free: 78.69 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005368/6.55, allocations: 267.7 kB / 3.78 GB, free: 78.43 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.001388/6.551, allocations: 0.6757 MB / 3.78 GB, free: 77.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005501/6.552, allocations: 217.2 kB / 3.78 GB, free: 77.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/6.552, allocations: 364.4 kB / 3.781 GB, free: 77.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/6.552, allocations: 38.56 kB / 3.781 GB, free: 76.97 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 1.683e-06/6.552, allocations: 0 / 3.781 GB, free: 76.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.002261/6.554, allocations: 0.6739 MB / 3.781 GB, free: 76.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/6.554, allocations: 81.3 kB / 3.782 GB, free: 76.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/6.554, allocations: 117.1 kB / 3.782 GB, free: 76.08 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/6.554, allocations: 37.7 kB / 3.782 GB, free: 76.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/6.554, allocations: 100.8 kB / 3.782 GB, free: 75.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.94e-05/6.555, allocations: 130.1 kB / 3.782 GB, free: 75.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/6.555, allocations: 8 kB / 3.782 GB, free: 75.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.511e-05/6.555, allocations: 322.8 kB / 3.782 GB, free: 75.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/6.555, allocations: 147.8 kB / 3.782 GB, free: 75.33 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/6.555, allocations: 199.8 kB / 3.783 GB, free: 75.11 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/6.556, allocations: 157.1 kB / 3.783 GB, free: 74.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/6.556, allocations: 0 / 3.783 GB, free: 74.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007962/6.556, allocations: 412.2 kB / 3.783 GB, free: 74.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.471e-05/6.557, allocations: 6.812 kB / 3.783 GB, free: 74.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/6.557, allocations: 4.219 kB / 3.783 GB, free: 74.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/6.557, allocations: 11.94 kB / 3.783 GB, free: 74.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004451/6.557, allocations: 87.88 kB / 3.783 GB, free: 74.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/6.557, allocations: 4 kB / 3.783 GB, free: 74.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/6.557, allocations: 27.88 kB / 3.783 GB, free: 74.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/6.558, allocations: 16 kB / 3.783 GB, free: 74.39 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.0001213/6.558, allocations: 149.7 kB / 3.783 GB, free: 74.24 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/6.558, allocations: 15.86 kB / 3.783 GB, free: 74.22 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/6.558, allocations: 190.2 kB / 3.784 GB, free: 74.03 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/6.558, allocations: 4 kB / 3.784 GB, free: 74.03 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/6.558, allocations: 0 / 3.784 GB, free: 74.03 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/6.558, allocations: 3.938 kB / 3.784 GB, free: 74.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/6.56, allocations: 0.7523 MB / 3.784 GB, free: 73.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/6.56, allocations: 0 / 3.784 GB, free: 73.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/6.56, allocations: 79.81 kB / 3.784 GB, free: 73.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/6.56, allocations: 4 kB / 3.784 GB, free: 73.12 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/6.56, allocations: 12 kB / 3.784 GB, free: 73.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/6.56, allocations: 11.94 kB / 3.784 GB, free: 73.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/6.56, allocations: 4 kB / 3.784 GB, free: 73.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/6.561, allocations: 0.7754 MB / 3.785 GB, free: 72.24 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/6.561, allocations: 124.8 kB / 3.785 GB, free: 72.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/6.561, allocations: 8 kB / 3.785 GB, free: 72.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/6.562, allocations: 23.92 kB / 3.785 GB, free: 72.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/6.562, allocations: 23.97 kB / 3.785 GB, free: 72.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/6.562, allocations: 16 kB / 3.785 GB, free: 72.03 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.272e-05/6.562, allocations: 99.64 kB / 3.785 GB, free: 71.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.51e-07/6.562, allocations: 4 kB / 3.785 GB, free: 71.93 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007648/6.563, allocations: 191.8 kB / 3.786 GB, free: 71.74 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.002607/6.565, allocations: 2.297 MB / 3.788 GB, free: 69.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008951/6.566, allocations: 343.5 kB / 3.788 GB, free: 69.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/6.566, allocations: 0 / 3.788 GB, free: 69.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000327/6.567, allocations: 175.7 kB / 3.788 GB, free: 68.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005328/6.567, allocations: 93.69 kB / 3.788 GB, free: 68.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003334/6.57, allocations: 2.805 MB / 3.791 GB, free: 65.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/6.571, allocations: 0.7413 MB / 3.792 GB, free: 65.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004467/6.571, allocations: 77.89 kB / 3.792 GB, free: 65.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/6.571, allocations: 67.34 kB / 3.792 GB, free: 64.98 MB / 458.7 MB Notification: Performance of SimCode: time 7.71e-07/6.571, allocations: 0 / 3.792 GB, free: 64.98 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03367/6.605, allocations: 16.04 MB / 3.808 GB, free: 49.05 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/6.605, allocations: 163.3 kB / 3.808 GB, free: 48.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/8.875, allocations: 0 / 3.808 GB, free: 48.8 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat