Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 197 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.267/1.267, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008168/0.0008169, allocations: 87.97 kB / 292.1 MB, free: 6.039 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1732/0.1732, allocations: 45.16 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.86e-05/2.871e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08843/0.08848, allocations: 63.25 MB / 0.5115 GB, free: 6.688 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7679/0.8564, allocations: 353.2 MB / 0.8564 GB, free: 89.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.8567, allocations: 86.83 kB / 0.8565 GB, free: 89.16 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.11/1.967, allocations: 310.5 MB / 1.16 GB, free: 68.53 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.523e-06/1.967, allocations: 3.219 kB / 1.16 GB, free: 68.53 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001973/1.967, allocations: 44.62 kB / 1.16 GB, free: 68.53 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.006241/1.973, allocations: 2.076 MB / 1.162 GB, free: 67.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/1.973, allocations: 11.66 kB / 1.162 GB, free: 67.73 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005494/1.974, allocations: 182.6 kB / 1.162 GB, free: 67.68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008707/1.975, allocations: 202 kB / 1.162 GB, free: 67.59 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002975/1.978, allocations: 1.275 MB / 1.163 GB, free: 67.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/1.978, allocations: 184.3 kB / 1.164 GB, free: 67.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003822/1.978, allocations: 117.9 kB / 1.164 GB, free: 67.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00318/1.981, allocations: 1.917 MB / 1.166 GB, free: 66.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/1.981, allocations: 10.52 kB / 1.166 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001895/1.982, allocations: 45.56 kB / 1.166 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001432/1.982, allocations: 114.8 kB / 1.166 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00297/1.985, allocations: 1.89 MB / 1.168 GB, free: 66.93 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.01329/1.998, allocations: 6.997 MB / 1.174 GB, free: 64.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/2, allocations: 1.315 MB / 1.176 GB, free: 64.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/2.002, allocations: 0.782 MB / 1.176 GB, free: 64.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00684/2.008, allocations: 4.493 MB / 1.181 GB, free: 62.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/2.009, allocations: 51.28 kB / 1.181 GB, free: 62.35 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001159/2.01, allocations: 219 kB / 1.181 GB, free: 62.28 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=117): time 7.605e-06/2.01, allocations: 1.344 kB / 1.181 GB, free: 62.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=132): time 0.01098/2.021, allocations: 4.373 MB / 1.185 GB, free: 61.67 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.468e-05/2.021, allocations: 223.2 kB / 1.186 GB, free: 61.42 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/2.023, allocations: 1.187 MB / 1.187 GB, free: 61.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002163/2.023, allocations: 54.36 kB / 1.187 GB, free: 61.22 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004315/2.024, allocations: 0.6525 MB / 1.187 GB, free: 60.98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003942/2.024, allocations: 459.7 kB / 1.188 GB, free: 60.69 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/2.024, allocations: 32 kB / 1.188 GB, free: 60.69 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001207/2.024, allocations: 373.9 kB / 1.188 GB, free: 60.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/2.026, allocations: 0.7321 MB / 1.189 GB, free: 60.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/2.027, allocations: 1.053 MB / 1.19 GB, free: 60.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/2.028, allocations: 0.8684 MB / 1.191 GB, free: 60.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/2.028, allocations: 3.875 kB / 1.191 GB, free: 60.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00368/2.032, allocations: 2.385 MB / 1.193 GB, free: 59.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005303/2.032, allocations: 3.021 MB / 1.196 GB, free: 56.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-05/2.032, allocations: 7.062 kB / 1.196 GB, free: 56.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006881/2.039, allocations: 1.462 MB / 1.198 GB, free: 56.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/2.041, allocations: 333.5 kB / 1.198 GB, free: 56.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/2.043, allocations: 1.687 MB / 1.2 GB, free: 56.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/2.045, allocations: 108.8 kB / 1.2 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003556/2.046, allocations: 76.72 kB / 1.2 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/2.046, allocations: 13.73 kB / 1.2 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003662/2.05, allocations: 2.07 MB / 1.202 GB, free: 56.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/2.05, allocations: 13.97 kB / 1.202 GB, free: 56.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004783/2.054, allocations: 1.037 MB / 1.203 GB, free: 56.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/2.056, allocations: 340.7 kB / 1.203 GB, free: 56.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/2.058, allocations: 1.416 MB / 1.204 GB, free: 55.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/2.059, allocations: 105.2 kB / 1.205 GB, free: 55.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/2.059, allocations: 77.89 kB / 1.205 GB, free: 55.63 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 23} Notification: Performance of prepare postOptimizeDAE: time 0.0004335/2.06, allocations: 195.5 kB / 1.205 GB, free: 55.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003902/2.06, allocations: 164.3 kB / 1.205 GB, free: 55.44 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004344/2.065, allocations: 2.467 MB / 1.207 GB, free: 55.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/2.065, allocations: 21.94 kB / 1.207 GB, free: 55.31 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/2.065, allocations: 0 / 1.207 GB, free: 55.31 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/2.065, allocations: 7.547 kB / 1.207 GB, free: 55.31 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006575/2.071, allocations: 4.035 MB / 1.211 GB, free: 54.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/2.071, allocations: 0 / 1.211 GB, free: 54.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/2.072, allocations: 228.3 kB / 1.212 GB, free: 54.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004854/2.077, allocations: 1.223 MB / 1.213 GB, free: 54.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/2.077, allocations: 42.02 kB / 1.213 GB, free: 54.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002355/2.08, allocations: 1.76 MB / 1.215 GB, free: 54.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/2.08, allocations: 2.062 kB / 1.215 GB, free: 54.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004649/2.084, allocations: 3.269 MB / 1.218 GB, free: 54.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/2.086, allocations: 461.3 kB / 1.218 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000433/2.086, allocations: 32.16 kB / 1.218 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/2.087, allocations: 107.9 kB / 1.218 GB, free: 53.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/2.088, allocations: 117.2 kB / 1.218 GB, free: 53.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/2.088, allocations: 63.62 kB / 1.218 GB, free: 53.87 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00148/2.089, allocations: 0.8941 MB / 1.219 GB, free: 53.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.2e-07/2.089, allocations: 0 / 1.219 GB, free: 53.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005086/2.094, allocations: 1.447 MB / 1.221 GB, free: 53.51 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level,tank3.medium.T,tank3.level,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.007302/2.102, allocations: 4.96 MB / 1.226 GB, free: 52.45 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005612/2.107, allocations: 3.091 MB / 1.229 GB, free: 52.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/2.107, allocations: 3.938 kB / 1.229 GB, free: 52.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/2.109, allocations: 0.9895 MB / 1.23 GB, free: 52.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/2.112, allocations: 0.6954 MB / 1.23 GB, free: 52.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00761/2.12, allocations: 3.611 MB / 1.234 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007635/2.121, allocations: 1.416 MB / 1.235 GB, free: 50.71 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002735/2.124, allocations: 0.7327 MB / 1.236 GB, free: 50.69 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007493/2.124, allocations: 0.6204 MB / 1.237 GB, free: 50.68 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/2.124, allocations: 0 / 1.237 GB, free: 50.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08853/2.213, allocations: 65.94 MB / 1.301 GB, free: 35.99 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/2.213, allocations: 202.2 kB / 1.301 GB, free: 35.76 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.099/6.312, allocations: 4 kB / 1.301 GB, free: 35.75 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat