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.002559/0.002559, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.694/1.694, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 95.42 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2694/0.2694, allocations: 45.14 MB / 383.7 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.965e-05/1.983e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1643, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.825/6.989, allocations: 2.789 GB / 3.293 GB, free: 52.98 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/6.989, allocations: 82.58 kB / 3.293 GB, free: 52.94 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.095/10.08, allocations: 0.7643 GB / 4.058 GB, free: 44.07 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.024e-06/10.08, allocations: 0 / 4.058 GB, free: 44.07 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001353/10.08, allocations: 37.22 kB / 4.058 GB, free: 44.07 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01334/10.1, allocations: 2.72 MB / 4.06 GB, free: 42.81 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/10.1, allocations: 6.938 kB / 4.06 GB, free: 42.81 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009256/10.11, allocations: 0.6721 MB / 4.061 GB, free: 42.73 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003373/10.11, allocations: 0.9682 MB / 4.062 GB, free: 42.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/10.11, allocations: 47.38 kB / 4.062 GB, free: 42.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002837/10.11, allocations: 66.16 kB / 4.062 GB, free: 42.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003074/10.11, allocations: 1.092 MB / 4.063 GB, free: 42.39 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/10.12, allocations: 1.318 MB / 4.064 GB, free: 41.99 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/10.12, allocations: 2.531 kB / 4.064 GB, free: 41.99 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/10.12, allocations: 13.19 kB / 4.064 GB, free: 41.99 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.045e-05/10.12, allocations: 45.45 kB / 4.065 GB, free: 41.99 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.2281/10.35, allocations: 97.25 MB / 4.159 GB, free: 24.74 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/10.35, allocations: 0.818 MB / 4.16 GB, free: 24.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007114/10.35, allocations: 405.4 kB / 4.161 GB, free: 24.69 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04966/10.4, allocations: 26.9 MB / 4.187 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.578e-05/10.4, allocations: 45.09 kB / 4.187 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=86): time 5.07e-06/10.4, allocations: 0 / 4.187 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86): time 0.006033/10.4, allocations: 1.686 MB / 4.189 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.23e-05/10.41, allocations: 167 kB / 4.189 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/10.41, allocations: 0.6975 MB / 4.189 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001487/10.41, allocations: 29.36 kB / 4.19 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/10.41, allocations: 0.6105 MB / 4.19 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/10.41, allocations: 281.7 kB / 4.19 GB, free: 12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-05/10.41, allocations: 0 / 4.19 GB, free: 12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001352/10.41, allocations: 350.4 kB / 4.191 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/10.41, allocations: 331.2 kB / 4.191 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006479/10.41, allocations: 0.6522 MB / 4.192 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/10.41, allocations: 0.581 MB / 4.192 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/10.41, allocations: 4 kB / 4.192 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00353/10.41, allocations: 1.389 MB / 4.194 GB, free: 9.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001357/10.42, allocations: 3.749 MB / 4.197 GB, free: 5.777 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/10.42, allocations: 12 kB / 4.197 GB, free: 5.766 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/10.42, allocations: 332.6 kB / 4.198 GB, free: 5.574 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009907/10.42, allocations: 290 kB / 4.198 GB, free: 5.363 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/10.42, allocations: 1.623 MB / 4.199 GB, free: 3.992 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/10.42, allocations: 240.9 kB / 4.2 GB, free: 3.801 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/10.42, allocations: 68.69 kB / 4.2 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/10.42, allocations: 7.938 kB / 4.2 GB, free: 3.746 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002499/10.42, allocations: 1.026 MB / 4.201 GB, free: 3.145 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/10.42, allocations: 12 kB / 4.201 GB, free: 3.133 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/10.42, allocations: 19.94 kB / 4.201 GB, free: 3.113 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/10.43, allocations: 455.6 kB / 4.201 GB, free: 2.785 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.519e-05/10.43, allocations: 23.25 kB / 4.201 GB, free: 2.766 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/10.43, allocations: 209.8 kB / 4.201 GB, free: 2.602 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/10.43, allocations: 65.5 kB / 4.201 GB, free: 2.559 MB / 0.6042 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 (sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,source.medium.phase,source1.medium.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 () * 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.000326/10.43, allocations: 136.4 kB / 4.202 GB, free: 2.422 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003054/10.43, allocations: 1.056 MB / 4.203 GB, free: 1.746 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003366/10.43, allocations: 110.7 kB / 4.203 GB, free: 1.637 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4523/10.88, allocations: 4.716 MB / 4.207 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001027/10.88, allocations: 68.89 kB / 4.207 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/10.88, allocations: 0.5156 kB / 4.207 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-05/10.88, allocations: 6.438 kB / 4.207 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00855/10.89, allocations: 6.418 MB / 4.214 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/10.89, allocations: 0 / 4.214 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006543/10.89, allocations: 179.4 kB / 4.214 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002315/10.9, allocations: 1.722 MB / 4.216 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.89e-05/10.9, allocations: 12.86 kB / 4.216 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003407/10.9, allocations: 2.968 MB / 4.218 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/10.9, allocations: 4.172 kB / 4.218 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005509/10.91, allocations: 3.213 MB / 4.222 GB, free: 105 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009907/10.91, allocations: 471.9 kB / 4.222 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/10.91, allocations: 1.844 kB / 4.222 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/10.91, allocations: 155.7 kB / 4.222 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/10.91, allocations: 91.64 kB / 4.222 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.425e-05/10.91, allocations: 36.64 kB / 4.222 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001002/10.91, allocations: 0.6488 MB / 4.223 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3e-07/10.91, allocations: 0 / 4.223 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.009462/10.92, allocations: 1.812 MB / 4.225 GB, free: 104.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 38 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.01411/10.93, allocations: 5.447 MB / 4.23 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003924/10.94, allocations: 2.003 MB / 4.232 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/10.94, allocations: 2.906 kB / 4.232 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/10.94, allocations: 1.201 MB / 4.233 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/10.94, allocations: 0.507 MB / 4.234 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/10.95, allocations: 3.638 MB / 4.237 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/10.95, allocations: 1.527 MB / 4.239 GB, free: 102 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003528/10.96, allocations: 1.555 MB / 4.24 GB, free: 102 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009785/10.96, allocations: 0.724 MB / 4.241 GB, free: 102 MB / 0.6042 GB Notification: Performance of SimCode: time 2.384e-06/10.96, allocations: 0 / 4.241 GB, free: 102 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1251/11.08, allocations: 71.18 MB / 4.31 GB, free: 99.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/11.08, allocations: 183.8 kB / 4.311 GB, free: 99.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.979/16.06, allocations: 7.688 kB / 4.311 GB, free: 99 MB / 0.6042 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