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.001592/0.001592, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001207/0.001207, allocations: 84.98 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.169e-05, allocations: 4 kB / 350.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1498, allocations: 51.48 MB / 402.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9489/1.099, allocations: 274.4 MB / 0.6607 GB, free: 73.18 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/1.099, allocations: 64.83 kB / 0.6607 GB, free: 73.15 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02181/1.121, allocations: 9.679 MB / 0.6702 GB, free: 65.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.121, allocations: 0 / 0.6702 GB, free: 65.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/1.121, allocations: 4 kB / 0.6702 GB, free: 65.28 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.0007889/1.122, allocations: 464 kB / 0.6706 GB, free: 64.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1.122, allocations: 8.031 kB / 0.6707 GB, free: 64.79 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.576e-05/1.122, allocations: 53.86 kB / 0.6707 GB, free: 64.74 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/1.122, allocations: 17.31 kB / 0.6707 GB, free: 64.72 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/1.122, allocations: 199 kB / 0.6709 GB, free: 64.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/1.122, allocations: 19.97 kB / 0.6709 GB, free: 64.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/1.122, allocations: 18.81 kB / 0.6709 GB, free: 64.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/1.123, allocations: 200.5 kB / 0.6711 GB, free: 64.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/1.123, allocations: 0 / 0.6711 GB, free: 64.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/1.123, allocations: 11.75 kB / 0.6711 GB, free: 64.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/1.123, allocations: 4 kB / 0.6712 GB, free: 64.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/1.123, allocations: 131.5 kB / 0.6713 GB, free: 64.19 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/1.124, allocations: 0.9484 MB / 0.6722 GB, free: 63.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/1.124, allocations: 122.9 kB / 0.6723 GB, free: 63.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.049e-05/1.124, allocations: 48.86 kB / 0.6724 GB, free: 63.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004558/1.125, allocations: 0.5114 MB / 0.6729 GB, free: 62.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/1.125, allocations: 38.06 kB / 0.6729 GB, free: 62.53 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/1.125, allocations: 0 / 0.6729 GB, free: 62.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001745/1.127, allocations: 0.6331 MB / 0.6735 GB, free: 61.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/1.127, allocations: 59.36 kB / 0.6736 GB, free: 61.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/1.127, allocations: 131.3 kB / 0.6737 GB, free: 61.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/1.127, allocations: 33.39 kB / 0.6737 GB, free: 61.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.549e-05/1.127, allocations: 155.1 kB / 0.6739 GB, free: 61.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/1.127, allocations: 69.88 kB / 0.674 GB, free: 61.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/1.127, allocations: 3.75 kB / 0.674 GB, free: 61.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/1.127, allocations: 322.5 kB / 0.6743 GB, free: 61.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/1.127, allocations: 65.81 kB / 0.6743 GB, free: 61.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/1.127, allocations: 177.7 kB / 0.6745 GB, free: 60.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/1.128, allocations: 83.78 kB / 0.6746 GB, free: 60.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.128, allocations: 0 / 0.6746 GB, free: 60.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004124/1.128, allocations: 288 kB / 0.6748 GB, free: 60.67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/1.128, allocations: 9.406 kB / 0.6749 GB, free: 60.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.128, allocations: 4 kB / 0.6749 GB, free: 60.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/1.128, allocations: 4 kB / 0.6749 GB, free: 60.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/1.129, allocations: 89.41 kB / 0.675 GB, free: 60.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/1.129, allocations: 11.95 kB / 0.675 GB, free: 60.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/1.129, allocations: 21.55 kB / 0.675 GB, free: 60.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/1.129, allocations: 12 kB / 0.675 GB, free: 60.54 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.863e-05/1.129, allocations: 123.2 kB / 0.6751 GB, free: 60.42 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/1.129, allocations: 15.81 kB / 0.6751 GB, free: 60.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/1.129, allocations: 209.3 kB / 0.6753 GB, free: 60.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.129, allocations: 4 kB / 0.6753 GB, free: 60.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.129, allocations: 0 / 0.6753 GB, free: 60.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.129, allocations: 3.984 kB / 0.6753 GB, free: 60.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008794/1.13, allocations: 0.5627 MB / 0.6759 GB, free: 59.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.13, allocations: 0 / 0.6759 GB, free: 59.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/1.131, allocations: 51.89 kB / 0.6759 GB, free: 59.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.131, allocations: 7.953 kB / 0.6759 GB, free: 59.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/1.131, allocations: 7.625 kB / 0.6759 GB, free: 59.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/1.131, allocations: 1.406 kB / 0.6759 GB, free: 59.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.131, allocations: 7.984 kB / 0.676 GB, free: 59.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/1.131, allocations: 400.1 kB / 0.6763 GB, free: 59.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/1.131, allocations: 93.02 kB / 0.6764 GB, free: 59.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/1.131, allocations: 12.23 kB / 0.6764 GB, free: 59.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/1.131, allocations: 15.8 kB / 0.6765 GB, free: 59.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/1.131, allocations: 15.94 kB / 0.6765 GB, free: 59.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/1.131, allocations: 9.75 kB / 0.6765 GB, free: 59.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.222e-05/1.131, allocations: 111.1 kB / 0.6766 GB, free: 58.99 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.131, allocations: 0 / 0.6766 GB, free: 58.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003552/1.132, allocations: 63.38 kB / 0.6766 GB, free: 58.93 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.0007705/1.133, allocations: 1.248 MB / 0.6779 GB, free: 57.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002942/1.133, allocations: 180.5 kB / 0.678 GB, free: 57.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.133, allocations: 4.875 kB / 0.678 GB, free: 57.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/1.133, allocations: 74.73 kB / 0.6781 GB, free: 57.51 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/1.133, allocations: 37.75 kB / 0.6781 GB, free: 57.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008874/1.134, allocations: 358 kB / 0.6785 GB, free: 57.13 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/1.134, allocations: 0.7126 MB / 0.6792 GB, free: 56.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002586/1.135, allocations: 52.39 kB / 0.6792 GB, free: 56.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/1.135, allocations: 49.78 kB / 0.6793 GB, free: 56.31 MB / 442.7 MB Notification: Performance of SimCode: time 8.61e-07/1.135, allocations: 4 kB / 0.6793 GB, free: 56.31 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/1.152, allocations: 4.466 MB / 0.6836 GB, free: 52.04 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/1.152, allocations: 155.3 kB / 0.6838 GB, free: 51.81 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/3.029, allocations: 0 / 0.6838 GB, free: 51.81 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