Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Fluid_Examples_PumpingSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.PumpingSystem,fileNamePrefix="Modelica_3_2_3_cpp_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.002098/0.002097, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 87.94 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.065e-05, allocations: 4 kB / 314.9 MB, free: 9.059 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3234, allocations: 47.56 MB / 362.4 MB, free: 45.73 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.79/8.113, allocations: 2.792 GB / 3.146 GB, free: 81.5 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/8.114, allocations: 81.23 kB / 3.146 GB, free: 81.5 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.554/11.67, allocations: 0.6983 GB / 3.845 GB, free: 33.3 MB / 443.1 MB Notification: Performance of FrontEnd: time 2.285e-06/11.67, allocations: 7.344 kB / 3.845 GB, free: 33.29 MB / 443.1 MB Notification: Performance of Transformations before backend: time 0.0001341/11.67, allocations: 42.06 kB / 3.845 GB, free: 33.28 MB / 443.1 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.01282/11.68, allocations: 2.704 MB / 3.847 GB, free: 31.75 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/11.68, allocations: 9.656 kB / 3.847 GB, free: 31.75 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006162/11.69, allocations: 0.5726 MB / 3.848 GB, free: 31.63 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003679/11.69, allocations: 0.9799 MB / 3.849 GB, free: 31.08 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/11.69, allocations: 145.4 kB / 3.849 GB, free: 30.98 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003744/11.69, allocations: 70.66 kB / 3.849 GB, free: 30.98 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003811/11.7, allocations: 1.406 MB / 3.85 GB, free: 30.48 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003967/11.7, allocations: 1.616 MB / 3.852 GB, free: 29.69 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.093e-05/11.7, allocations: 7.031 kB / 3.852 GB, free: 29.68 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000225/11.7, allocations: 3.031 kB / 3.852 GB, free: 29.68 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001477/11.7, allocations: 81.55 kB / 3.852 GB, free: 29.67 MB / 443.1 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.7834/12.48, allocations: 133.8 MB / 3.983 GB, free: 16.51 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002789/12.49, allocations: 1.077 MB / 3.984 GB, free: 16.47 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/12.49, allocations: 0.5784 MB / 3.984 GB, free: 16.46 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2075/12.69, allocations: 63.61 MB / 4.046 GB, free: 24 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002229/12.7, allocations: 0.7218 MB / 4.047 GB, free: 23.91 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=96): time 5.45e-06/12.7, allocations: 1.938 kB / 4.047 GB, free: 23.91 MB / 0.5108 GB Notification: Performance of matching and sorting (n=107): time 0.02948/12.73, allocations: 5.742 MB / 4.053 GB, free: 23.36 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/12.73, allocations: 195.4 kB / 4.053 GB, free: 23.14 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/12.73, allocations: 0.7135 MB / 4.054 GB, free: 23.01 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.000299/12.73, allocations: 27.92 kB / 4.054 GB, free: 22.98 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005685/12.73, allocations: 0.6434 MB / 4.054 GB, free: 22.65 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004814/12.73, allocations: 355.2 kB / 4.055 GB, free: 22.48 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/12.73, allocations: 0 / 4.055 GB, free: 22.48 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001886/12.73, allocations: 364.9 kB / 4.055 GB, free: 22.16 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/12.73, allocations: 0.5836 MB / 4.056 GB, free: 22.16 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/12.73, allocations: 0.9752 MB / 4.057 GB, free: 21.7 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/12.74, allocations: 1.699 MB / 4.058 GB, free: 21.65 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.907e-05/12.74, allocations: 3.844 kB / 4.058 GB, free: 21.65 MB / 0.5108 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01548/12.76, allocations: 2.94 MB / 4.061 GB, free: 19.98 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.001862/12.76, allocations: 4.36 MB / 4.065 GB, free: 15.38 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-05/12.76, allocations: 12 kB / 4.065 GB, free: 15.37 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002666/12.76, allocations: 0.693 MB / 4.066 GB, free: 14.95 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/12.77, allocations: 291.5 kB / 4.066 GB, free: 14.73 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/12.78, allocations: 5.896 MB / 4.072 GB, free: 9.418 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/12.78, allocations: 99.39 kB / 4.072 GB, free: 9.348 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/12.78, allocations: 76.52 kB / 4.072 GB, free: 9.293 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/12.78, allocations: 5.031 kB / 4.072 GB, free: 9.289 MB / 0.5108 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.01167/12.79, allocations: 1.663 MB / 4.074 GB, free: 8.348 MB / 0.5108 GB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated