Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Fluid.Examples.PumpingSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.PumpingSystem") translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.PumpingSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8268/0.8268, allocations: 110.8 MB / 118.3 MB, free: 14.51 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002003/0.002003, allocations: 151.5 kB / 144 MB, free: 4.836 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.873e-05/1.877e-05, allocations: 4 kB / 173.8 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06645/0.06648, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7303/0.7968, allocations: 246.6 MB / 445.6 MB, free: 85.41 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.7971, allocations: 67 kB / 445.6 MB, free: 85.41 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7705/1.568, allocations: 226.8 MB / 0.6567 GB, free: 23.37 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.934e-06/1.568, allocations: 2.156 kB / 0.6567 GB, free: 23.37 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001733/1.568, allocations: 33.42 kB / 0.6567 GB, free: 23.37 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.005224/1.573, allocations: 1.488 MB / 0.6581 GB, free: 22.6 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.573, allocations: 10.94 kB / 0.6581 GB, free: 22.6 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008127/1.574, allocations: 144.1 kB / 0.6583 GB, free: 22.54 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/1.576, allocations: 0.8102 MB / 0.6591 GB, free: 22.23 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000252/1.577, allocations: 173.4 kB / 0.6592 GB, free: 22.1 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003273/1.577, allocations: 53.64 kB / 0.6593 GB, free: 22.09 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001951/1.579, allocations: 1.054 MB / 0.6603 GB, free: 22.09 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/1.581, allocations: 1.24 MB / 0.6615 GB, free: 21.89 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.675e-05/1.581, allocations: 3.406 kB / 0.6615 GB, free: 21.89 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/1.581, allocations: 0 / 0.6615 GB, free: 21.89 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/1.582, allocations: 68.17 kB / 0.6616 GB, free: 21.89 MB / 234.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.008461/1.59, allocations: 5.806 MB / 0.6673 GB, free: 19.05 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/1.591, allocations: 0.828 MB / 0.6681 GB, free: 19.03 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005575/1.592, allocations: 483.5 kB / 0.6685 GB, free: 19.02 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003959/1.596, allocations: 3.304 MB / 0.6718 GB, free: 16.98 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007433/1.597, allocations: 0.5533 MB / 0.6723 GB, free: 16.75 MB / 234.7 MB Notification: Performance of pre-optimization done (n=74): time 2.315e-06/1.597, allocations: 0 / 0.6723 GB, free: 16.75 MB / 234.7 MB Notification: Performance of matching and sorting (n=99): time 0.1295/1.726, allocations: 11.05 MB / 0.6831 GB, free: 12.86 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/1.726, allocations: 243.4 kB / 0.6833 GB, free: 12.57 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008831/1.727, allocations: 0.6234 MB / 0.6839 GB, free: 12 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001705/1.727, allocations: 33.64 kB / 0.684 GB, free: 11.96 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/1.728, allocations: 0.5656 MB / 0.6845 GB, free: 11.44 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000332/1.728, allocations: 325.6 kB / 0.6848 GB, free: 11.15 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/1.728, allocations: 0 / 0.6848 GB, free: 11.15 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/1.728, allocations: 411 kB / 0.6852 GB, free: 10.77 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008397/1.729, allocations: 0.6479 MB / 0.6859 GB, free: 10.2 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009921/1.73, allocations: 1.048 MB / 0.6869 GB, free: 9.066 MB / 234.7 MB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/1.741, allocations: 3.698 MB / 0.6905 GB, free: 5.906 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.464e-05/1.741, allocations: 4 kB / 0.6905 GB, free: 5.902 MB / 234.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Blocks/Logical.mo:839:9-841:38:writable] Error: Initialization problem is structurally singular, error found sorting equations 104: PumpRPMGenerator.T = if controller.y and not PumpRPMGenerator.rising > 0.0 or not controller.y and not PumpRPMGenerator.falling > 0.0 or not abs(PumpRPMGenerator.amplitude) > 0.0 or true then time else time + (PumpRPMGenerator.endValue - $PRE.PumpRPMGenerator.y) / PumpRPMGenerator.rate; 103: PumpRPMGenerator.rate = if controller.y and PumpRPMGenerator.rising > 0.0 then PumpRPMGenerator.amplitude / PumpRPMGenerator.rising else if not controller.y and PumpRPMGenerator.falling > 0.0 then (-PumpRPMGenerator.amplitude) / PumpRPMGenerator.falling else 0.0; 102: PumpRPMGenerator.endValue = if controller.y then PumpRPMGenerator.offset + PumpRPMGenerator.amplitude else PumpRPMGenerator.offset; 99: PumpRPMGenerator.y = if time < PumpRPMGenerator.T then PumpRPMGenerator.endValue + (time - PumpRPMGenerator.T) * PumpRPMGenerator.rate else PumpRPMGenerator.endValue; 3: $PRE.PumpRPMGenerator.y = 0.0; 5: $PRE.PumpRPMGenerator.y = PumpRPMGenerator.y; for variables $DER.$STATESET1.x[1](89), $DER.reservoir.medium.T(53), pumps.W_single(57), pumps.medium.p(75), $DER.pumps.N(109), $DER.pumps.medium.h(111), reservoir.portAreas[1](5) Error: No system for the symbolic initialization was generated