Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002283/0.002283, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.601/1.601, allocations: 227.2 MB / 245 MB, free: 7.629 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 95.78 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5278/0.5278, allocations: 45.22 MB / 394.6 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003288, allocations: 8 kB / 468.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5165/0.5169, allocations: 63.24 MB / 0.5193 GB, free: 43.45 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.969/8.486, allocations: 2.79 GB / 3.309 GB, free: 118.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/8.487, allocations: 92 kB / 3.309 GB, free: 118.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.895/12.38, allocations: 0.7731 GB / 4.082 GB, free: 40.88 MB / 0.5573 GB Notification: Performance of FrontEnd: time 5.861e-06/12.38, allocations: 3.906 kB / 4.082 GB, free: 40.88 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000283/12.38, allocations: 40.73 kB / 4.082 GB, free: 40.88 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01678/12.4, allocations: 2.896 MB / 4.085 GB, free: 39.71 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 7.25e-05/12.4, allocations: 12.69 kB / 4.085 GB, free: 39.71 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001122/12.4, allocations: 173.6 kB / 4.085 GB, free: 39.67 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006477/12.41, allocations: 0.6634 MB / 4.086 GB, free: 39.59 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004252/12.41, allocations: 0.9773 MB / 4.087 GB, free: 39.27 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/12.41, allocations: 97.16 kB / 4.087 GB, free: 39.27 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005896/12.41, allocations: 112.9 kB / 4.087 GB, free: 39.27 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006938/12.42, allocations: 2.022 MB / 4.089 GB, free: 38.86 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.876e-05/12.42, allocations: 10.34 kB / 4.089 GB, free: 38.86 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003526/12.42, allocations: 51.56 kB / 4.089 GB, free: 38.86 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.209e-05/12.42, allocations: 44.89 kB / 4.089 GB, free: 38.86 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005813/12.42, allocations: 1.883 MB / 4.091 GB, free: 38.84 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01619/12.44, allocations: 9.479 MB / 4.1 GB, free: 32.48 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00594/12.45, allocations: 1.647 MB / 4.102 GB, free: 32.45 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06406/12.51, allocations: 26.82 MB / 4.128 GB, free: 30.98 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.874e-05/12.51, allocations: 43.22 kB / 4.128 GB, free: 30.95 MB / 0.573 GB Notification: Performance of pre-optimization done (n=94): time 6.262e-06/12.51, allocations: 0.75 kB / 4.128 GB, free: 30.95 MB / 0.573 GB Notification: Performance of matching and sorting (n=94): time 0.01632/12.53, allocations: 3.338 MB / 4.131 GB, free: 30.62 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/12.53, allocations: 173.1 kB / 4.131 GB, free: 30.43 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002633/12.53, allocations: 0.7751 MB / 4.132 GB, free: 30.27 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003592/12.53, allocations: 43.17 kB / 4.132 GB, free: 30.24 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008781/12.53, allocations: 0.5896 MB / 4.133 GB, free: 29.98 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006471/12.53, allocations: 315.3 kB / 4.133 GB, free: 29.78 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/12.53, allocations: 23.78 kB / 4.133 GB, free: 29.78 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002468/12.53, allocations: 350.1 kB / 4.133 GB, free: 29.47 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/12.53, allocations: 0.5061 MB / 4.134 GB, free: 29.47 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/12.54, allocations: 0.8363 MB / 4.135 GB, free: 29.09 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/12.54, allocations: 0.5771 MB / 4.135 GB, free: 29.08 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/12.54, allocations: 3.219 kB / 4.135 GB, free: 29.08 MB / 0.573 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00493/12.54, allocations: 1.664 MB / 4.137 GB, free: 28.94 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00215/12.55, allocations: 3.749 MB / 4.141 GB, free: 25.05 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.646e-05/12.55, allocations: 10.56 kB / 4.141 GB, free: 25.05 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003023/12.55, allocations: 0.5087 MB / 4.141 GB, free: 25.03 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/12.55, allocations: 289.3 kB / 4.141 GB, free: 25.03 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/12.55, allocations: 1.571 MB / 4.143 GB, free: 23.98 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002519/12.56, allocations: 238.5 kB / 4.143 GB, free: 23.92 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004077/12.56, allocations: 62.77 kB / 4.143 GB, free: 23.92 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/12.56, allocations: 5.531 kB / 4.143 GB, free: 23.92 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004166/12.56, allocations: 1.36 MB / 4.145 GB, free: 23.89 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/12.56, allocations: 11.5 kB / 4.145 GB, free: 23.89 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/12.56, allocations: 17.28 kB / 4.145 GB, free: 23.89 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/12.56, allocations: 453.9 kB / 4.145 GB, free: 23.89 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.156e-05/12.56, allocations: 21.72 kB / 4.145 GB, free: 23.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/12.56, allocations: 235.8 kB / 4.145 GB, free: 23.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002595/12.57, allocations: 65.88 kB / 4.145 GB, free: 23.84 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * 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: 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 11,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.00158/12.57, allocations: 380 kB / 4.146 GB, free: 23.64 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006605/12.57, allocations: 122.2 kB / 4.146 GB, free: 23.58 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/12.58, allocations: 5.907 MB / 4.152 GB, free: 23 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.092e-05/12.58, allocations: 80.5 kB / 4.152 GB, free: 23 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.078e-05/12.58, allocations: 0 / 4.152 GB, free: 23 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.477e-05/12.58, allocations: 7.516 kB / 4.152 GB, free: 23 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/12.59, allocations: 8.032 MB / 4.159 GB, free: 22.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/12.59, allocations: 2.906 kB / 4.159 GB, free: 22.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008991/12.59, allocations: 226.2 kB / 4.16 GB, free: 22.29 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004305/12.6, allocations: 1.645 MB / 4.161 GB, free: 22.19 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/12.6, allocations: 30.78 kB / 4.161 GB, free: 22.19 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003824/12.6, allocations: 2.64 MB / 4.164 GB, free: 21.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/12.6, allocations: 0 / 4.164 GB, free: 21.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007322/12.61, allocations: 3.792 MB / 4.168 GB, free: 20.63 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001892/12.61, allocations: 0.5622 MB / 4.168 GB, free: 20.33 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000649/12.61, allocations: 17.47 kB / 4.168 GB, free: 20.33 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001987/12.61, allocations: 185.5 kB / 4.168 GB, free: 20.31 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003348/12.61, allocations: 101.6 kB / 4.168 GB, free: 20.31 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/12.61, allocations: 47.86 kB / 4.168 GB, free: 20.31 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002198/12.62, allocations: 0.798 MB / 4.169 GB, free: 20.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.31e-07/12.62, allocations: 4 kB / 4.169 GB, free: 20.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01325/12.63, allocations: 1.898 MB / 4.171 GB, free: 19.91 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 48 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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 16,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.02545/12.66, allocations: 5.995 MB / 4.177 GB, free: 18.55 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.008809/12.66, allocations: 2.719 MB / 4.18 GB, free: 18.46 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/12.66, allocations: 3.938 kB / 4.18 GB, free: 18.46 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003413/12.67, allocations: 1.591 MB / 4.181 GB, free: 18.42 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004401/12.67, allocations: 0.6138 MB / 4.182 GB, free: 18.38 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02538/12.7, allocations: 13.3 MB / 4.195 GB, free: 24.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002205/12.7, allocations: 1.639 MB / 4.196 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003221/12.7, allocations: 1.369 MB / 4.198 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/12.71, allocations: 0.83 MB / 4.199 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of SimCode: time 1.18e-05/12.71, allocations: 3.469 kB / 4.199 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6822/13.39, allocations: 82.88 MB / 4.279 GB, free: 63.52 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/13.39, allocations: 266.1 kB / 4.28 GB, free: 63.16 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.464/18.85, allocations: 1.094 kB / 4.28 GB, free: 63.16 MB / 0.5886 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat