Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Fluid.Examples.PumpingSystem.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Fluid.Examples.PumpingSystem") Notification: Performance of loadModel(Modelica): time 1.074/1.074, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.857e-05/1.862e-05, allocations: 4 kB / 148.1 MB, free: 6.23 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04653/0.04657, allocations: 25.17 MB / 173.3 MB, free: 13.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7129/0.7595, allocations: 246.6 MB / 419.8 MB, free: 72.06 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.7598, allocations: 62.25 kB / 419.9 MB, free: 72.04 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9262/1.686, allocations: 226.8 MB / 0.6315 GB, free: 21.14 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.934e-06/1.686, allocations: 0 / 0.6315 GB, free: 21.14 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001092/1.686, allocations: 35.89 kB / 0.6316 GB, free: 21.13 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.004822/1.691, allocations: 1.493 MB / 0.633 GB, free: 20.23 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/1.691, allocations: 7.812 kB / 0.633 GB, free: 20.23 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006861/1.692, allocations: 137.2 kB / 0.6332 GB, free: 20.17 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/1.694, allocations: 0.8041 MB / 0.6339 GB, free: 19.7 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002553/1.694, allocations: 175.9 kB / 0.6341 GB, free: 19.57 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/1.695, allocations: 60.72 kB / 0.6342 GB, free: 19.57 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002501/1.697, allocations: 1.047 MB / 0.6352 GB, free: 19.2 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/1.7, allocations: 1.239 MB / 0.6364 GB, free: 18.66 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.786e-05/1.7, allocations: 2.938 kB / 0.6364 GB, free: 18.66 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/1.7, allocations: 7.594 kB / 0.6364 GB, free: 18.66 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/1.7, allocations: 67.42 kB / 0.6365 GB, free: 18.65 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.01064/1.711, allocations: 5.809 MB / 0.6421 GB, free: 14.76 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/1.713, allocations: 0.8306 MB / 0.643 GB, free: 14.43 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009342/1.714, allocations: 483.9 kB / 0.6434 GB, free: 14.25 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00575/1.72, allocations: 3.303 MB / 0.6466 GB, free: 11.72 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/1.721, allocations: 0.5671 MB / 0.6472 GB, free: 11.46 MB / 234.7 MB Notification: Performance of pre-optimization done (n=74): time 3.868e-06/1.721, allocations: 0 / 0.6472 GB, free: 11.46 MB / 234.7 MB Notification: Performance of matching and sorting (n=99): time 0.1508/1.872, allocations: 11.02 MB / 0.658 GB, free: 0.9023 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.533e-05/1.872, allocations: 252.1 kB / 0.6582 GB, free: 0.6016 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/1.873, allocations: 0.6253 MB / 0.6588 GB, free: 15.97 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002999/1.873, allocations: 25.7 kB / 0.6588 GB, free: 15.94 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005962/1.874, allocations: 0.575 MB / 0.6594 GB, free: 15.36 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005377/1.874, allocations: 331.2 kB / 0.6597 GB, free: 15.03 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/1.875, allocations: 4 kB / 0.6597 GB, free: 15.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.00023/1.875, allocations: 362.7 kB / 0.6601 GB, free: 14.66 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/1.876, allocations: 0.6429 MB / 0.6607 GB, free: 14.02 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/1.878, allocations: 1.054 MB / 0.6617 GB, free: 12.78 MB / 250.7 MB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.01669/1.895, allocations: 3.667 MB / 0.6653 GB, free: 9.184 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-05/1.895, allocations: 8 kB / 0.6653 GB, free: 9.176 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.1/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