Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.WaterPump,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.WaterPump,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001768/0.001768, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.967/1.967, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3843/0.3843, allocations: 48.77 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.037e-05/5.055e-05, allocations: 4 kB / 432.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1656, allocations: 60.24 MB / 492.8 MB, free: 4.293 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.185/8.351, allocations: 2.888 GB / 3.369 GB, free: 50.07 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/8.351, allocations: 86.69 kB / 3.369 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7364/9.087, allocations: 220.9 MB / 3.585 GB, free: 43.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.282e-06/9.088, allocations: 0 / 3.585 GB, free: 43.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.072e-05/9.088, allocations: 8 kB / 3.585 GB, free: 43.65 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.003851/9.091, allocations: 1.009 MB / 3.586 GB, free: 42.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/9.091, allocations: 11.97 kB / 3.586 GB, free: 42.59 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/9.092, allocations: 62.53 kB / 3.586 GB, free: 42.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/9.092, allocations: 51.53 kB / 3.586 GB, free: 42.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008858/9.093, allocations: 394.6 kB / 3.586 GB, free: 42.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.947e-05/9.093, allocations: 58.2 kB / 3.586 GB, free: 41.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.139e-05/9.093, allocations: 20 kB / 3.586 GB, free: 41.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/9.093, allocations: 350.4 kB / 3.587 GB, free: 41.58 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/9.093, allocations: 3.938 kB / 3.587 GB, free: 41.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/9.093, allocations: 12 kB / 3.587 GB, free: 41.56 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/9.093, allocations: 4 kB / 3.587 GB, free: 41.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/9.094, allocations: 198.1 kB / 3.587 GB, free: 41.37 MB / 0.5105 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.001498/9.095, allocations: 1.385 MB / 3.588 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/9.096, allocations: 174.8 kB / 3.589 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/9.096, allocations: 76.86 kB / 3.589 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05408/9.15, allocations: 32.1 MB / 3.62 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/9.15, allocations: 30.56 kB / 3.62 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 2.324e-06/9.15, allocations: 0 / 3.62 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20): time 0.0009098/9.151, allocations: 282.3 kB / 3.62 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/9.151, allocations: 55.41 kB / 3.62 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/9.151, allocations: 242.8 kB / 3.621 GB, free: 3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/9.151, allocations: 33.64 kB / 3.621 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/9.151, allocations: 184.3 kB / 3.621 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/9.151, allocations: 70.98 kB / 3.621 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.461e-05/9.151, allocations: 4 kB / 3.621 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.244e-05/9.152, allocations: 342.8 kB / 3.621 GB, free: 2.359 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/9.152, allocations: 52 kB / 3.621 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/9.152, allocations: 87.88 kB / 3.621 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/9.152, allocations: 68.84 kB / 3.621 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/9.152, allocations: 3.938 kB / 3.621 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005819/9.152, allocations: 271.3 kB / 3.622 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.154e-05/9.153, allocations: 371.1 kB / 3.622 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/9.153, allocations: 0 / 3.622 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004444/9.153, allocations: 96.78 kB / 3.622 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/9.153, allocations: 55.95 kB / 3.622 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004739/9.154, allocations: 0.6382 MB / 3.623 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/9.154, allocations: 63.73 kB / 3.623 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/9.154, allocations: 12 kB / 3.623 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.198e-06/9.154, allocations: 4 kB / 3.623 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00052/9.155, allocations: 232.7 kB / 3.623 GB, free: 364 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/9.155, allocations: 4 kB / 3.623 GB, free: 360 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002241/9.155, allocations: 72.75 kB / 3.623 GB, free: 284 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/9.155, allocations: 60.05 kB / 3.623 GB, free: 224 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2825/9.438, allocations: 0.5911 MB / 3.624 GB, free: 91.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/9.438, allocations: 60.36 kB / 3.624 GB, free: 91.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/9.438, allocations: 13.02 kB / 3.624 GB, free: 91.97 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001358/9.439, allocations: 109.4 kB / 3.624 GB, free: 91.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.586e-05/9.439, allocations: 34.38 kB / 3.624 GB, free: 91.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/9.44, allocations: 0.5404 MB / 3.624 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/9.44, allocations: 8.312 kB / 3.624 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/9.44, allocations: 0 / 3.624 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/9.44, allocations: 1.359 kB / 3.624 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000611/9.44, allocations: 399.1 kB / 3.625 GB, free: 91.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/9.44, allocations: 5.844 kB / 3.625 GB, free: 91.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/9.441, allocations: 47.45 kB / 3.625 GB, free: 91.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007668/9.441, allocations: 424.7 kB / 3.625 GB, free: 91.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/9.441, allocations: 4.984 kB / 3.625 GB, free: 91.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000658/9.442, allocations: 0.8362 MB / 3.626 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/9.442, allocations: 0.6562 kB / 3.626 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009367/9.443, allocations: 0.7061 MB / 3.627 GB, free: 90.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/9.443, allocations: 130.2 kB / 3.627 GB, free: 90.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/9.443, allocations: 6.359 kB / 3.627 GB, free: 90.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/9.444, allocations: 46.11 kB / 3.627 GB, free: 90.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.176e-05/9.444, allocations: 25.41 kB / 3.627 GB, free: 90.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/9.444, allocations: 6.797 kB / 3.627 GB, free: 90.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002051/9.444, allocations: 200.1 kB / 3.627 GB, free: 90.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/9.444, allocations: 3.062 kB / 3.627 GB, free: 90.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004543/9.449, allocations: 0.9279 MB / 3.628 GB, free: 90.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pump.h) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.00606/9.455, allocations: 2.257 MB / 3.63 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008568/9.455, allocations: 331.9 kB / 3.631 GB, free: 90.01 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/9.456, allocations: 0 / 3.631 GB, free: 90.01 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003217/9.456, allocations: 162.2 kB / 3.631 GB, free: 90.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007835/9.457, allocations: 128.4 kB / 3.631 GB, free: 90.01 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/9.459, allocations: 0.8592 MB / 3.632 GB, free: 89.83 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/9.459, allocations: 0.7966 MB / 3.633 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003709/9.46, allocations: 94.89 kB / 3.633 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/9.46, allocations: 110.3 kB / 3.633 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/9.46, allocations: 1.844 kB / 3.633 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0607/9.521, allocations: 34.97 MB / 3.667 GB, free: 88.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/9.521, allocations: 174 kB / 3.667 GB, free: 88.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.204/12.72, allocations: 0 / 3.667 GB, free: 88.38 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_WaterPump_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_WaterPump.fmu > ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe 2>&1)