Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.PumpingSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|PT1.y|pumps.medium.T|pumps.medium.p|reservoir.level|reservoir.medium.T|PumpRPMGenerator.y|controller.y",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.PumpingSystem") translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|PT1.y|pumps.medium.T|pumps.medium.p|reservoir.level|reservoir.medium.T|PumpRPMGenerator.y|controller.y",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.PumpingSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001155, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 226.7 MB / 245.5 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001297/0.001297, allocations: 97.12 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008945/0.0008946, allocations: 55.91 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2035, allocations: 50.44 MB / 407 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.PumpingSystem): time 0.0546/0.2581, allocations: 66.59 MB / 473.6 MB, free: 9.031 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03225/0.2904, allocations: 29.23 MB / 0.4911 GB, free: 11.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.292, allocations: 51.62 kB / 0.4911 GB, free: 11.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.2937, allocations: 0.6179 MB / 0.4917 GB, free: 11.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01395/0.3077, allocations: 5.422 MB / 0.497 GB, free: 5.625 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009005/0.3167, allocations: 3.54 MB / 0.5005 GB, free: 2.094 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1997/0.5165, allocations: 4.915 MB / 0.5053 GB, free: 8.773 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002498/0.519, allocations: 0.9256 MB / 0.5062 GB, free: 8.723 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01513/0.5342, allocations: 6.164 MB / 0.5122 GB, free: 7.363 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01849/0.5527, allocations: 9.325 MB / 0.5213 GB, free: 4.945 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004194/0.5532, allocations: 81.41 kB / 0.5214 GB, free: 4.945 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01631/0.5695, allocations: 8.789 MB / 0.53 GB, free: 4.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008451/0.5704, allocations: 433.8 kB / 0.5304 GB, free: 4.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00153/0.5719, allocations: 0.7834 MB / 0.5311 GB, free: 4.801 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01501/0.587, allocations: 7.005 MB / 0.538 GB, free: 2.715 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.587, allocations: 0 / 0.538 GB, free: 2.715 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.587, allocations: 1.312 kB / 0.538 GB, free: 2.715 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.638e-05/0.5871, allocations: 0 / 0.538 GB, free: 2.715 MB / 378.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.007345/0.5944, allocations: 2.651 MB / 0.5406 GB, free: 17.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.5945, allocations: 11.59 kB / 0.5406 GB, free: 17.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00294/0.5974, allocations: 490.4 kB / 0.5411 GB, free: 17.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.5988, allocations: 0.8945 MB / 0.5419 GB, free: 16.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.599, allocations: 188.8 kB / 0.5421 GB, free: 16.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.5991, allocations: 111.5 kB / 0.5422 GB, free: 16.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003368/0.6025, allocations: 2.023 MB / 0.5442 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.6026, allocations: 4 kB / 0.5442 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.6027, allocations: 54.86 kB / 0.5442 GB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.854e-05/0.6028, allocations: 80.53 kB / 0.5443 GB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003466/0.6063, allocations: 1.775 MB / 0.5461 GB, free: 14.12 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01169/0.618, allocations: 9.191 MB / 0.555 GB, free: 5.891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/0.621, allocations: 1.508 MB / 0.5565 GB, free: 4.832 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.6221, allocations: 0.6968 MB / 0.5572 GB, free: 4.375 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1355/0.7576, allocations: 70.69 MB / 0.6262 GB, free: 5.965 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002671/0.7603, allocations: 1.065 MB / 0.6273 GB, free: 5.145 MB / 474.7 MB Notification: Performance of pre-optimization done (n=110): time 4.899e-06/0.7604, allocations: 0 / 0.6273 GB, free: 5.145 MB / 474.7 MB Notification: Performance of matching and sorting (n=121): time 0.01775/0.7781, allocations: 6.505 MB / 0.6336 GB, free: 15.81 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.7783, allocations: 295.7 kB / 0.6339 GB, free: 15.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.7796, allocations: 1.045 MB / 0.6349 GB, free: 14.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.7797, allocations: 49.7 kB / 0.635 GB, free: 14.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004042/0.7801, allocations: 0.5682 MB / 0.6355 GB, free: 13.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/0.7805, allocations: 413.7 kB / 0.6359 GB, free: 13.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000467/0.7809, allocations: 299.4 kB / 0.6362 GB, free: 13.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.405e-05/0.781, allocations: 312.2 kB / 0.6365 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.7821, allocations: 0.6503 MB / 0.6371 GB, free: 12.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.7835, allocations: 1.053 MB / 0.6382 GB, free: 10.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002372/0.7859, allocations: 1.678 MB / 0.6398 GB, free: 9.129 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.7859, allocations: 4 kB / 0.6398 GB, free: 9.125 MB / 490.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.003942/0.7899, allocations: 2.183 MB / 0.6419 GB, free: 6.996 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.7899, allocations: 12 kB / 0.6419 GB, free: 6.984 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.79, allocations: 12 kB / 0.642 GB, free: 6.973 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006344/0.7963, allocations: 1.023 MB / 0.643 GB, free: 5.941 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.7976, allocations: 303.6 kB / 0.6432 GB, free: 5.664 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/0.801, allocations: 4.029 MB / 0.6472 GB, free: 1.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.8025, allocations: 127.6 kB / 0.6473 GB, free: 1.379 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.8027, allocations: 71.98 kB / 0.6474 GB, free: 1.309 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00167/0.8044, allocations: 0.8918 MB / 0.6482 GB, free: 428 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001369/0.8057, allocations: 1.041 MB / 0.6493 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002394/0.8082, allocations: 1.642 MB / 0.6509 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.305e-06/0.8082, allocations: 7.188 kB / 0.6509 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.003906/0.8121, allocations: 2.098 MB / 0.6529 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.8121, allocations: 19.03 kB / 0.6529 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.8122, allocations: 12 kB / 0.6529 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005995/0.8182, allocations: 0.8815 MB / 0.6538 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.8195, allocations: 294.1 kB / 0.6541 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.8223, allocations: 3.373 MB / 0.6574 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.8238, allocations: 111.8 kB / 0.6575 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.824, allocations: 75.92 kB / 0.6576 GB, free: 6.547 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 24 (pipe.flowModel.states[2].phase,pipe.flowModel.states[1].phase,PumpRPMGenerator.T,PumpRPMGenerator.rate,PumpRPMGenerator.endValue,controller.y,$PRE.controller.y,reservoir.inFlow[3],reservoir.inFlow[2],reservoir.inFlow[1],reservoir.regularFlow[3],reservoir.regularFlow[2],reservoir.regularFlow[1],$whenCondition1,$whenCondition2,reservoir.medium.phase,pumps.medium.phase,sink.state.phase,sink.medium.phase,userValve.state_b.phase,userValve.state_a.phase,pumps.monitoring.state_in.phase,source.state.phase,source.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,1), (1,6), (2,7), (1,1), (2,3), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005136/0.8245, allocations: 289.5 kB / 0.6578 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.8248, allocations: 134.4 kB / 0.658 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006758/0.8316, allocations: 4.922 MB / 0.6628 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-05/0.8316, allocations: 47.94 kB / 0.6628 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.8316, allocations: 0 / 0.6628 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.8317, allocations: 11.97 kB / 0.6628 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008811/0.8405, allocations: 6.748 MB / 0.6694 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.8405, allocations: 0 / 0.6694 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007967/0.8413, allocations: 177.2 kB / 0.6696 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004314/0.8457, allocations: 1.37 MB / 0.6709 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.8458, allocations: 43.72 kB / 0.671 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003508/0.8493, allocations: 4.475 MB / 0.6753 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8494, allocations: 4.031 kB / 0.6753 GB, free: 4.102 MB / 0.5105 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5432/1.393, allocations: 116 MB / 0.7886 GB, free: 132.5 MB / 0.5105 GB Error: post-optimization module symbolicJacobian (simulation) failed.