Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.PumpingSystem.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) 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(Modelica.Fluid.Examples.PumpingSystem,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_PumpingSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.PumpingSystem,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_PumpingSystem",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.00151/0.00151, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.3 MB / 214.4 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 83.61 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.226e-05/2.22e-05, allocations: 7.984 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1112, allocations: 47.58 MB / 363.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.908/7.019, allocations: 2.793 GB / 3.147 GB, free: 4.805 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/7.02, allocations: 75.41 kB / 3.147 GB, free: 4.773 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.901/9.921, allocations: 0.6983 GB / 3.846 GB, free: 37.17 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.883e-06/9.921, allocations: 1.422 kB / 3.846 GB, free: 37.17 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000176/9.921, allocations: 33.19 kB / 3.846 GB, free: 37.17 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 307 * Number of variables: 307 Notification: Performance of Generate backend data structure: time 0.01303/9.934, allocations: 2.717 MB / 3.848 GB, free: 36.12 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/9.934, allocations: 9.719 kB / 3.848 GB, free: 36.12 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004775/9.939, allocations: 0.5759 MB / 3.849 GB, free: 36.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003414/9.943, allocations: 0.9837 MB / 3.85 GB, free: 35.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/9.943, allocations: 141.2 kB / 3.85 GB, free: 35.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005491/9.943, allocations: 77.47 kB / 3.85 GB, free: 35.63 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003219/9.947, allocations: 1.396 MB / 3.851 GB, free: 35.62 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003448/9.95, allocations: 1.607 MB / 3.853 GB, free: 35.26 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-05/9.95, allocations: 7.219 kB / 3.853 GB, free: 35.26 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002296/9.95, allocations: 9.484 kB / 3.853 GB, free: 35.26 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/9.95, allocations: 81.06 kB / 3.853 GB, free: 35.26 MB / 458.7 MB 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.2643/10.21, allocations: 133.8 MB / 3.984 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/10.22, allocations: 1.069 MB / 3.985 GB, free: 16.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/10.22, allocations: 0.5813 MB / 3.985 GB, free: 16.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4864/10.7, allocations: 63.6 MB / 4.047 GB, free: 68.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001791/10.71, allocations: 0.7234 MB / 4.048 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=96): time 4.489e-06/10.71, allocations: 0 / 4.048 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=107): time 0.01943/10.73, allocations: 5.74 MB / 4.054 GB, free: 67.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/10.73, allocations: 193.1 kB / 4.054 GB, free: 67.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/10.73, allocations: 0.7178 MB / 4.055 GB, free: 67.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001642/10.73, allocations: 28.83 kB / 4.055 GB, free: 67.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005646/10.73, allocations: 0.6231 MB / 4.055 GB, free: 66.87 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/10.73, allocations: 354.5 kB / 4.056 GB, free: 66.69 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/10.73, allocations: 4 kB / 4.056 GB, free: 66.69 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001025/10.73, allocations: 357.9 kB / 4.056 GB, free: 66.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008964/10.73, allocations: 0.5877 MB / 4.057 GB, free: 66.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/10.73, allocations: 0.9747 MB / 4.057 GB, free: 65.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006569/10.74, allocations: 1.689 MB / 4.059 GB, free: 65.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/10.74, allocations: 2.406 kB / 4.059 GB, free: 65.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008939/10.75, allocations: 3 MB / 4.062 GB, free: 65.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009984/10.75, allocations: 4.369 MB / 4.066 GB, free: 61.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/10.75, allocations: 12.94 kB / 4.066 GB, free: 61.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/10.75, allocations: 0.6935 MB / 4.067 GB, free: 61.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/10.75, allocations: 285.9 kB / 4.067 GB, free: 61.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005913/10.76, allocations: 5.899 MB / 4.073 GB, free: 56.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/10.76, allocations: 101.9 kB / 4.073 GB, free: 56.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/10.76, allocations: 73.38 kB / 4.073 GB, free: 56.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/10.76, allocations: 7.781 kB / 4.073 GB, free: 56.6 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Continuous.mo:409:7-409:18:writable] Error: Initialization problem is structurally singular, error found sorting equations 8: PT1.y = PT1.y_start; 90: pumps.N = max(PT1.y, 0.001); 87: pumps.head = pumps.N * Modelica.Fluid.Machines.PrescribedPump$pumps.flowCharacteristic(0.0, {0.0, 0.25, 0.5}, {100.0, 60.0, 0.0}) / pumps.N_nominal; 94: pumps.dp_pump = pumps.medium.p - source.p; 93: pumps.head = pumps.dp_pump / (pumps.g * pumps.rho); 4: pumps.medium.p = pumps.p_start; 11: pumps.rho = Modelica.Media.Water.IF97_Utilities.waterBaseProp_pT(pumps.medium.p, pumps.medium.T, 0).rho; 3: pumps.medium.T = pumps.T_start; for variables $whenCondition2(122), pumps.Hb_flow(91), pumps.head(87), userValve.state_b.d(14), sink.medium.u(13), pipe.flowModel.states[1].h(118), $DER.pumps.U(125), pipe.flowModel.states[1].T(117), pipe.flowModel.dimensions[2](3) Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006617/10.76, allocations: 1.655 MB / 4.075 GB, free: 56.55 MB / 0.5105 GB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated