Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.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.TestPipesAndValves.LumpedPipeInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00101/0.00101, 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.25/1.25, allocations: 225.4 MB / 240.1 MB, free: 15.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008354/0.0008355, allocations: 95.27 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1754/0.1754, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.204e-05/3.206e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08796/0.08801, allocations: 63.25 MB / 0.5115 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.072/6.16, allocations: 2.828 GB / 3.339 GB, free: 147.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/6.16, allocations: 78.11 kB / 3.339 GB, free: 147.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.402/8.562, allocations: 0.7517 GB / 4.091 GB, free: 33.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.344e-06/8.562, allocations: 8 kB / 4.091 GB, free: 33.44 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.268e-05/8.562, allocations: 27.12 kB / 4.091 GB, free: 33.41 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.00905/8.571, allocations: 2.774 MB / 4.094 GB, free: 30.88 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/8.571, allocations: 8.031 kB / 4.094 GB, free: 30.88 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002621/8.572, allocations: 154 kB / 4.094 GB, free: 30.74 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/8.574, allocations: 480.4 kB / 4.094 GB, free: 30.37 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002337/8.577, allocations: 1.131 MB / 4.095 GB, free: 29.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/8.577, allocations: 155.3 kB / 4.095 GB, free: 29.26 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/8.577, allocations: 95 kB / 4.096 GB, free: 29.17 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003127/8.58, allocations: 1.887 MB / 4.097 GB, free: 27.49 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/8.58, allocations: 4 kB / 4.097 GB, free: 27.48 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/8.58, allocations: 46.72 kB / 4.097 GB, free: 27.45 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.991e-05/8.58, allocations: 77.2 kB / 4.097 GB, free: 27.38 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002839/8.583, allocations: 1.711 MB / 4.099 GB, free: 25.89 MB / 0.5417 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.0094/8.593, allocations: 8.558 MB / 4.108 GB, free: 17.86 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/8.595, allocations: 1.371 MB / 4.109 GB, free: 16.58 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005542/8.596, allocations: 467.9 kB / 4.109 GB, free: 16.14 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4795/9.075, allocations: 70.47 MB / 4.178 GB, free: 57.84 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002573/9.078, allocations: 0.896 MB / 4.179 GB, free: 57.71 MB / 0.573 GB Notification: Performance of pre-optimization done (n=82): time 4.117e-06/9.078, allocations: 1.281 kB / 4.179 GB, free: 57.71 MB / 0.573 GB Notification: Performance of matching and sorting (n=86): time 0.007998/9.086, allocations: 3.743 MB / 4.183 GB, free: 56.73 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/9.086, allocations: 401.2 kB / 4.183 GB, free: 56.26 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/9.087, allocations: 0.9226 MB / 4.184 GB, free: 56.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.522e-05/9.088, allocations: 45.73 kB / 4.184 GB, free: 56.07 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/9.088, allocations: 0.5653 MB / 4.185 GB, free: 55.85 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/9.088, allocations: 305.6 kB / 4.185 GB, free: 55.71 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-05/9.088, allocations: 22.66 kB / 4.185 GB, free: 55.71 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.497e-05/9.088, allocations: 360.9 kB / 4.185 GB, free: 55.4 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008352/9.089, allocations: 478.6 kB / 4.186 GB, free: 55.4 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000961/9.09, allocations: 0.9485 MB / 4.187 GB, free: 54.85 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009168/9.091, allocations: 0.6254 MB / 4.187 GB, free: 54.84 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/9.091, allocations: 4.281 kB / 4.187 GB, free: 54.84 MB / 0.573 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003037/9.094, allocations: 1.776 MB / 4.189 GB, free: 54.72 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008829/9.095, allocations: 5.402 MB / 4.194 GB, free: 49.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/9.095, allocations: 13.38 kB / 4.194 GB, free: 49.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005155/9.1, allocations: 1.082 MB / 4.195 GB, free: 49.09 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000917/9.101, allocations: 249 kB / 4.195 GB, free: 49.09 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/9.103, allocations: 1.443 MB / 4.197 GB, free: 48.55 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/9.104, allocations: 127.5 kB / 4.197 GB, free: 48.55 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/9.104, allocations: 69.09 kB / 4.197 GB, free: 48.55 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/9.104, allocations: 3.969 kB / 4.197 GB, free: 48.55 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002606/9.107, allocations: 1.525 MB / 4.199 GB, free: 48.53 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.961e-05/9.107, allocations: 16.94 kB / 4.199 GB, free: 48.53 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/9.108, allocations: 342 kB / 4.199 GB, free: 48.52 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009354/9.109, allocations: 278.8 kB / 4.199 GB, free: 48.52 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009266/9.11, allocations: 1.017 MB / 4.2 GB, free: 47.99 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/9.112, allocations: 123 kB / 4.2 GB, free: 47.98 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/9.112, allocations: 69.16 kB / 4.2 GB, free: 47.98 MB / 0.573 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = false ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 19 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.staticPipe2.flowModel.states[2].phase,pipe.staticPipe2.flowModel.states[1].phase,pipe.staticPipe1.flowModel.states[2].phase,pipe.staticPipe1.flowModel.states[1].phase,pipe.volume.regularFlow[1],pipe.volume.regularFlow[2],pipe.volume.inFlow[2],pipe.volume.inFlow[1],pipe.volume.heatTransfer.states[1].phase,sink.state.phase,sink.medium.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 35} Notification: Performance of prepare postOptimizeDAE: time 0.0004742/9.112, allocations: 209.7 kB / 4.201 GB, free: 47.88 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/9.113, allocations: 124.7 kB / 4.201 GB, free: 47.81 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004313/9.117, allocations: 3.98 MB / 4.205 GB, free: 47.45 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.223e-05/9.117, allocations: 44.8 kB / 4.205 GB, free: 47.45 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/9.117, allocations: 2.094 kB / 4.205 GB, free: 47.45 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/9.117, allocations: 7.031 kB / 4.205 GB, free: 47.45 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005925/9.123, allocations: 5.476 MB / 4.21 GB, free: 46.86 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/9.123, allocations: 3.906 kB / 4.21 GB, free: 46.86 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006357/9.124, allocations: 175.2 kB / 4.21 GB, free: 46.86 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005717/9.129, allocations: 1.795 MB / 4.212 GB, free: 46.82 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/9.129, allocations: 27.25 kB / 4.212 GB, free: 46.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/9.131, allocations: 2.092 MB / 4.214 GB, free: 45.75 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/9.131, allocations: 1.031 kB / 4.214 GB, free: 45.75 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003782/9.135, allocations: 3.806 MB / 4.218 GB, free: 45.17 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009116/9.136, allocations: 0.5318 MB / 4.218 GB, free: 44.96 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/9.136, allocations: 22.28 kB / 4.218 GB, free: 44.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008347/9.137, allocations: 100 kB / 4.218 GB, free: 44.95 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/9.137, allocations: 81.47 kB / 4.218 GB, free: 44.95 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.521e-05/9.137, allocations: 40.02 kB / 4.218 GB, free: 44.95 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001256/9.138, allocations: 1.036 MB / 4.219 GB, free: 44.83 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.052e-06/9.138, allocations: 2.812 kB / 4.219 GB, free: 44.83 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0071/9.145, allocations: 2.082 MB / 4.221 GB, free: 44.73 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (pipe.volume.medium.p,pipe.volume.medium.h) * Number of discrete variables: 25 ($cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse19.phase,$cse19.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$whenCondition2,$whenCondition1,pipe.volume.heatTransfer.states[1].phase,m_flow_initial,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 1 * 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 {1 1,1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0139/9.159, allocations: 6.63 MB / 4.228 GB, free: 43.02 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004577/9.164, allocations: 2.302 MB / 4.23 GB, free: 42.97 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/9.164, allocations: 6.906 kB / 4.23 GB, free: 42.97 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/9.165, allocations: 0.9845 MB / 4.231 GB, free: 42.96 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003462/9.168, allocations: 0.6292 MB / 4.232 GB, free: 42.95 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009832/9.178, allocations: 3.805 MB / 4.235 GB, free: 42.16 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/9.179, allocations: 1.478 MB / 4.237 GB, free: 41.43 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002543/9.182, allocations: 1.041 MB / 4.238 GB, free: 41.42 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008177/9.183, allocations: 0.7042 MB / 4.239 GB, free: 41.41 MB / 0.573 GB Notification: Performance of SimCode: time 1.202e-06/9.183, allocations: 0 / 4.239 GB, free: 41.41 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1472/9.33, allocations: 89.04 MB / 4.326 GB, free: 25.21 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/9.33, allocations: 230.2 kB / 4.326 GB, free: 24.91 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.529/13.86, allocations: 2.188 kB / 4.326 GB, free: 24.91 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization_res.mat does not exist to compare? outputFormat=mat