Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.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.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001109/0.001109, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.713/1.713, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008468/0.0008469, allocations: 100.2 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.813e-05/1.814e-05, allocations: 4 kB / 343.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1332, allocations: 51.47 MB / 395.2 MB, free: 4.699 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9227/1.056, allocations: 273.8 MB / 0.6533 GB, free: 81.76 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/1.056, allocations: 70.08 kB / 0.6534 GB, free: 81.73 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02063/1.077, allocations: 9.615 MB / 0.6628 GB, free: 74 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.793e-06/1.077, allocations: 4 kB / 0.6628 GB, free: 74 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/1.077, allocations: 0 / 0.6628 GB, free: 74 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007188/1.078, allocations: 465 kB / 0.6632 GB, free: 73.51 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/1.078, allocations: 12.03 kB / 0.6632 GB, free: 73.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/1.078, allocations: 19.89 kB / 0.6633 GB, free: 73.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/1.078, allocations: 205.8 kB / 0.6635 GB, free: 73.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/1.078, allocations: 4.859 kB / 0.6635 GB, free: 73.24 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/1.078, allocations: 15.5 kB / 0.6635 GB, free: 73.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002244/1.078, allocations: 113.1 kB / 0.6636 GB, free: 73.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/1.079, allocations: 177.8 kB / 0.6638 GB, free: 72.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/1.079, allocations: 0 / 0.6638 GB, free: 72.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/1.079, allocations: 4 kB / 0.6638 GB, free: 72.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/1.079, allocations: 4 kB / 0.6638 GB, free: 72.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/1.08, allocations: 0.9084 MB / 0.6647 GB, free: 72.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/1.08, allocations: 117.9 kB / 0.6648 GB, free: 72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.139e-05/1.08, allocations: 43.98 kB / 0.6648 GB, free: 71.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004535/1.081, allocations: 0.512 MB / 0.6653 GB, free: 71.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/1.081, allocations: 30.56 kB / 0.6653 GB, free: 71.37 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/1.081, allocations: 0 / 0.6653 GB, free: 71.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001614/1.082, allocations: 0.5976 MB / 0.6659 GB, free: 70.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/1.082, allocations: 51.41 kB / 0.666 GB, free: 70.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/1.082, allocations: 131.7 kB / 0.6661 GB, free: 70.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/1.082, allocations: 25.7 kB / 0.6661 GB, free: 70.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/1.082, allocations: 146.1 kB / 0.6663 GB, free: 70.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/1.083, allocations: 66.62 kB / 0.6663 GB, free: 70.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/1.083, allocations: 0 / 0.6663 GB, free: 70.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.624e-05/1.083, allocations: 333.5 kB / 0.6666 GB, free: 70.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.465e-05/1.083, allocations: 61.48 kB / 0.6667 GB, free: 70.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/1.083, allocations: 166.3 kB / 0.6669 GB, free: 69.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/1.083, allocations: 89.02 kB / 0.6669 GB, free: 69.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.083, allocations: 7.938 kB / 0.667 GB, free: 69.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003522/1.083, allocations: 241.4 kB / 0.6672 GB, free: 69.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.083, allocations: 16.02 kB / 0.6672 GB, free: 69.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.083, allocations: 4 kB / 0.6672 GB, free: 69.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/1.083, allocations: 4 kB / 0.6672 GB, free: 69.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/1.084, allocations: 79.08 kB / 0.6673 GB, free: 69.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/1.084, allocations: 11.94 kB / 0.6673 GB, free: 69.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/1.084, allocations: 11.98 kB / 0.6673 GB, free: 69.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/1.084, allocations: 12 kB / 0.6673 GB, free: 69.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 7.805e-05/1.084, allocations: 120.7 kB / 0.6674 GB, free: 69.32 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002586/1.084, allocations: 161.8 kB / 0.6676 GB, free: 69.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/1.084, allocations: 15.81 kB / 0.6676 GB, free: 69.17 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003619/1.085, allocations: 194.1 kB / 0.6678 GB, free: 69.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/1.085, allocations: 0 / 0.6678 GB, free: 69.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/1.085, allocations: 0 / 0.6678 GB, free: 69.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.085, allocations: 0 / 0.6678 GB, free: 69.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008402/1.086, allocations: 0.5258 MB / 0.6683 GB, free: 68.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.086, allocations: 0 / 0.6683 GB, free: 68.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/1.086, allocations: 49.73 kB / 0.6683 GB, free: 68.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/1.086, allocations: 4.125 kB / 0.6684 GB, free: 68.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/1.086, allocations: 8 kB / 0.6684 GB, free: 68.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.086, allocations: 0 / 0.6684 GB, free: 68.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.086, allocations: 11.89 kB / 0.6684 GB, free: 68.44 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/1.086, allocations: 385.7 kB / 0.6687 GB, free: 68.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/1.086, allocations: 88.92 kB / 0.6688 GB, free: 67.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/1.087, allocations: 0 / 0.6688 GB, free: 67.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/1.087, allocations: 11.98 kB / 0.6688 GB, free: 67.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/1.087, allocations: 24.02 kB / 0.6689 GB, free: 67.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/1.087, allocations: 7.875 kB / 0.6689 GB, free: 67.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.843e-05/1.087, allocations: 106.1 kB / 0.669 GB, free: 67.83 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.087, allocations: 0 / 0.669 GB, free: 67.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000362/1.087, allocations: 56 kB / 0.669 GB, free: 67.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0006896/1.088, allocations: 1.242 MB / 0.6702 GB, free: 66.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00025/1.088, allocations: 171.3 kB / 0.6704 GB, free: 66.42 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.088, allocations: 0 / 0.6704 GB, free: 66.42 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.158e-05/1.088, allocations: 65.55 kB / 0.6705 GB, free: 66.37 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/1.089, allocations: 32.83 kB / 0.6705 GB, free: 66.35 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008468/1.09, allocations: 330.3 kB / 0.6708 GB, free: 66.01 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/1.09, allocations: 0.7201 MB / 0.6715 GB, free: 65.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002547/1.09, allocations: 49.62 kB / 0.6716 GB, free: 65.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/1.09, allocations: 48.78 kB / 0.6716 GB, free: 65.2 MB / 442.7 MB Notification: Performance of SimCode: time 8.42e-07/1.09, allocations: 0 / 0.6716 GB, free: 65.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/1.113, allocations: 3.922 MB / 0.6754 GB, free: 61.34 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/1.113, allocations: 129 kB / 0.6756 GB, free: 61.15 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.851, allocations: 7 kB / 0.6756 GB, free: 61.14 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat