Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 221.4 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008844/0.0008844, allocations: 87.81 kB / 286.5 MB, free: 252 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.299e-05/3.309e-05, allocations: 0 / 343.9 MB, free: 4.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 50.42 MB / 394.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4108/0.5212, allocations: 80.94 MB / 475.3 MB, free: 6.543 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.5215, allocations: 75.95 kB / 475.4 MB, free: 6.469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02602/0.5476, allocations: 9.933 MB / 485.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5476, allocations: 4 kB / 485.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.799e-05/0.5476, allocations: 12 kB / 485.3 MB, free: 12.45 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001216/0.5489, allocations: 0.7308 MB / 486 MB, free: 11.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.5489, allocations: 11.97 kB / 486.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.5491, allocations: 87.09 kB / 486.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.5492, allocations: 63.25 kB / 486.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006017/0.5498, allocations: 397.8 kB / 486.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.954e-05/0.5499, allocations: 54.48 kB / 486.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.225e-05/0.55, allocations: 35.91 kB / 486.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.5507, allocations: 455.2 kB / 487.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.5507, allocations: 3.953 kB / 487.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-05/0.5508, allocations: 12 kB / 487.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.5508, allocations: 11.98 kB / 487.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.5513, allocations: 275.1 kB / 487.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.5534, allocations: 1.299 MB / 488.7 MB, free: 8.805 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005427/0.554, allocations: 367.8 kB / 489.1 MB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.5542, allocations: 148.9 kB / 489.2 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.5543, allocations: 11.95 kB / 489.2 MB, free: 8.258 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.5543, allocations: 42.61 kB / 489.3 MB, free: 8.207 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 2.234e-06/0.5543, allocations: 0 / 489.3 MB, free: 8.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.000795/0.5551, allocations: 371 kB / 489.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002179/0.5553, allocations: 452.9 kB / 490.1 MB, free: 7.285 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004665/0.5558, allocations: 403.2 kB / 490.5 MB, free: 6.883 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.5559, allocations: 33.7 kB / 490.5 MB, free: 6.844 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.556, allocations: 240.4 kB / 490.7 MB, free: 6.605 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.5562, allocations: 134.8 kB / 490.9 MB, free: 6.473 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.5562, allocations: 4 kB / 490.9 MB, free: 6.469 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.5564, allocations: 362.8 kB / 491.2 MB, free: 6.105 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.5566, allocations: 104 kB / 491.3 MB, free: 6.004 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.5569, allocations: 250.4 kB / 491.6 MB, free: 5.707 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.5571, allocations: 154.1 kB / 491.7 MB, free: 5.551 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5571, allocations: 3.938 kB / 491.7 MB, free: 5.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007272/0.5579, allocations: 439.6 kB / 492.2 MB, free: 5.098 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.5579, allocations: 37.69 kB / 492.2 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5579, allocations: 0 / 492.2 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002316/0.5582, allocations: 57.69 kB / 492.3 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.5586, allocations: 91.91 kB / 492.3 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.561, allocations: 2.74 MB / 495.1 MB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.5615, allocations: 55.7 kB / 495.1 MB, free: 1.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/0.5615, allocations: 16 kB / 495.2 MB, free: 1.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.5617, allocations: 132.8 kB / 495.3 MB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.95e-05/0.5618, allocations: 55.44 kB / 495.3 MB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.5619, allocations: 56.88 kB / 495.4 MB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.5619, allocations: 4 kB / 495.4 MB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5619, allocations: 0 / 495.4 MB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006718/0.5626, allocations: 0.6685 MB / 496.1 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.564, allocations: 0.9704 MB / 497 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.564, allocations: 0 / 497 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004582/0.5645, allocations: 103.9 kB / 497.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.5645, allocations: 0 / 497.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.5645, allocations: 8 kB / 497.1 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5645, allocations: 0 / 497.1 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.5646, allocations: 0 / 497.1 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007755/0.5653, allocations: 0.5649 MB / 497.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.5655, allocations: 164.5 kB / 497.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/0.5656, allocations: 12 kB / 497.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.5659, allocations: 35.91 kB / 497.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.49e-05/0.566, allocations: 27.97 kB / 497.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.5661, allocations: 11.98 kB / 498 MB, free: 14.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003874/0.5665, allocations: 317.3 kB / 498.3 MB, free: 14.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5665, allocations: 0 / 498.3 MB, free: 14.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005758/0.567, allocations: 147.8 kB / 498.4 MB, free: 14.35 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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.001633/0.5687, allocations: 1.134 MB / 499.5 MB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.5699, allocations: 0.5706 MB / 0.4884 GB, free: 12.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.57, allocations: 4 kB / 0.4884 GB, free: 12.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002757/0.5703, allocations: 139.9 kB / 0.4885 GB, free: 12.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009019/0.5712, allocations: 141.4 kB / 0.4887 GB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.5731, allocations: 0.7331 MB / 0.4894 GB, free: 11.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.5735, allocations: 0.8432 MB / 0.4902 GB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002691/0.5738, allocations: 52.36 kB / 0.4903 GB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.5741, allocations: 175.4 kB / 0.4904 GB, free: 10.44 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5741, allocations: 4 kB / 0.4904 GB, free: 10.44 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.6065, allocations: 12.08 MB / 0.5022 GB, free: 14.59 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/0.6067, allocations: 180.8 kB / 0.5024 GB, free: 14.36 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/2.979, allocations: 0 / 0.5024 GB, free: 14.36 MB / 394.7 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat