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.001565/0.001565, allocations: 196.5 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.349/1.349, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 87.73 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1917/0.1917, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.653e-05/2.656e-05, allocations: 0 / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 63.25 MB / 0.5115 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.982/6.089, allocations: 2.79 GB / 3.301 GB, free: 142.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/6.089, allocations: 84.2 kB / 3.301 GB, free: 142.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.431/8.519, allocations: 0.7708 GB / 4.072 GB, free: 43.14 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.252e-06/8.519, allocations: 0 / 4.072 GB, free: 43.14 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001553/8.52, allocations: 40.42 kB / 4.072 GB, free: 43.14 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.009989/8.53, allocations: 2.722 MB / 4.075 GB, free: 41.62 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/8.53, allocations: 7.469 kB / 4.075 GB, free: 41.62 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005846/8.53, allocations: 168.7 kB / 4.075 GB, free: 41.51 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00556/8.536, allocations: 0.6823 MB / 4.075 GB, free: 41.38 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/8.539, allocations: 0.9705 MB / 4.076 GB, free: 40.82 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/8.539, allocations: 93.03 kB / 4.077 GB, free: 40.78 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003814/8.539, allocations: 116.9 kB / 4.077 GB, free: 40.74 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005125/8.544, allocations: 1.937 MB / 4.079 GB, free: 39.83 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.33e-05/8.545, allocations: 6.312 kB / 4.079 GB, free: 39.83 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002333/8.545, allocations: 53.56 kB / 4.079 GB, free: 39.79 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.278e-05/8.545, allocations: 45.33 kB / 4.079 GB, free: 39.79 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003918/8.549, allocations: 1.62 MB / 4.08 GB, free: 39.3 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.01001/8.559, allocations: 9.496 MB / 4.089 GB, free: 31.19 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003494/8.562, allocations: 1.428 MB / 4.091 GB, free: 30 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005773/8.563, allocations: 458.3 kB / 4.091 GB, free: 29.56 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04283/8.606, allocations: 26.9 MB / 4.118 GB, free: 0.6445 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/8.606, allocations: 39.34 kB / 4.118 GB, free: 0.5977 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=94): time 3.206e-06/8.606, allocations: 4 kB / 4.118 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of matching and sorting (n=94): time 0.007002/8.613, allocations: 2.038 MB / 4.12 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/8.613, allocations: 171 kB / 4.12 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/8.615, allocations: 0.7659 MB / 4.121 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001965/8.615, allocations: 41.7 kB / 4.121 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005712/8.616, allocations: 0.5887 MB / 4.121 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004597/8.616, allocations: 323 kB / 4.121 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.172e-05/8.616, allocations: 20 kB / 4.121 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001475/8.616, allocations: 349.9 kB / 4.122 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006785/8.617, allocations: 338.6 kB / 4.122 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009566/8.618, allocations: 0.6678 MB / 4.123 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000817/8.619, allocations: 417.8 kB / 4.123 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/8.619, allocations: 4 kB / 4.123 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002803/8.622, allocations: 1.278 MB / 4.124 GB, free: 9.391 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002161/8.624, allocations: 3.748 MB / 4.128 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.344e-05/8.624, allocations: 11.94 kB / 4.128 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002876/8.627, allocations: 461.2 kB / 4.129 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/8.628, allocations: 283.6 kB / 4.129 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/8.63, allocations: 1.477 MB / 4.13 GB, free: 3.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/8.632, allocations: 238.7 kB / 4.13 GB, free: 2.836 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/8.633, allocations: 71.97 kB / 4.131 GB, free: 2.766 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/8.633, allocations: 4 kB / 4.131 GB, free: 2.762 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001984/8.635, allocations: 1.014 MB / 4.132 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/8.635, allocations: 12 kB / 4.132 GB, free: 1.738 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/8.635, allocations: 20.16 kB / 4.132 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002259/8.637, allocations: 455.3 kB / 4.132 GB, free: 1.273 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.721e-05/8.637, allocations: 15.94 kB / 4.132 GB, free: 1.258 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/8.639, allocations: 226.9 kB / 4.132 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/8.639, allocations: 67.92 kB / 4.132 GB, free: 0.9688 MB / 0.5573 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 () * 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.0003732/8.639, allocations: 180.6 kB / 4.132 GB, free: 0.7852 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003746/8.639, allocations: 122.6 kB / 4.133 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006998/8.646, allocations: 5.717 MB / 4.138 GB, free: 10.89 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.832e-05/8.647, allocations: 83.86 kB / 4.138 GB, free: 10.81 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/8.647, allocations: 7.781 kB / 4.138 GB, free: 10.81 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/8.647, allocations: 7.984 kB / 4.138 GB, free: 10.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009346/8.656, allocations: 7.834 MB / 4.146 GB, free: 2.898 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/8.656, allocations: 0 / 4.146 GB, free: 2.898 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008886/8.657, allocations: 227.7 kB / 4.146 GB, free: 2.676 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003871/8.661, allocations: 1.895 MB / 4.148 GB, free: 0.7812 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/8.661, allocations: 31.98 kB / 4.148 GB, free: 0.75 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3806/9.042, allocations: 2.646 MB / 4.151 GB, free: 76.31 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/9.042, allocations: 2.266 kB / 4.151 GB, free: 76.31 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003924/9.046, allocations: 3.534 MB / 4.154 GB, free: 76.01 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009757/9.047, allocations: 0.5586 MB / 4.155 GB, free: 75.79 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/9.047, allocations: 18.5 kB / 4.155 GB, free: 75.79 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/9.048, allocations: 184.3 kB / 4.155 GB, free: 75.78 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/9.048, allocations: 107.9 kB / 4.155 GB, free: 75.78 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.737e-05/9.048, allocations: 41.44 kB / 4.155 GB, free: 75.78 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001065/9.049, allocations: 0.7843 MB / 4.156 GB, free: 75.66 MB / 0.573 GB Notification: Performance of sort global known variables: time 2e-07/9.049, allocations: 2.281 kB / 4.156 GB, free: 75.66 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007464/9.057, allocations: 1.893 MB / 4.158 GB, free: 75.63 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 () * 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.0149/9.072, allocations: 5.633 MB / 4.163 GB, free: 74.64 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004598/9.076, allocations: 2.242 MB / 4.165 GB, free: 74.59 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/9.076, allocations: 1.344 kB / 4.165 GB, free: 74.59 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001841/9.078, allocations: 1.427 MB / 4.167 GB, free: 74.57 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/9.082, allocations: 0.6036 MB / 4.167 GB, free: 74.56 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/9.092, allocations: 4.235 MB / 4.171 GB, free: 73.73 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/9.093, allocations: 1.637 MB / 4.173 GB, free: 72.99 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003476/9.096, allocations: 1.43 MB / 4.174 GB, free: 72.97 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008077/9.097, allocations: 0.8255 MB / 4.175 GB, free: 72.96 MB / 0.573 GB Notification: Performance of SimCode: time 1.232e-06/9.097, allocations: 1.594 kB / 4.175 GB, free: 72.96 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1329/9.23, allocations: 89.02 MB / 4.262 GB, free: 69.32 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/9.23, allocations: 231 kB / 4.262 GB, free: 69.01 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.86/14.09, allocations: 3.5 kB / 4.262 GB, free: 69.01 MB / 0.573 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