Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2") translateModel(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 182.3 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.726/0.726, allocations: 132.2 MB / 148.9 MB, free: 12.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.952/1.952, allocations: 222.9 MB / 403.3 MB, free: 7.074 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 106.8 kB / 484.4 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 55.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1448, allocations: 80.21 MB / 0.6402 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v2): time 0.389/0.5338, allocations: 80.06 MB / 0.7184 GB, free: 16.7 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0255/0.5594, allocations: 19.37 MB / 0.7373 GB, free: 7.883 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005199/0.5646, allocations: 103.9 kB / 0.7374 GB, free: 7.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003605/0.5683, allocations: 0.9771 MB / 0.7383 GB, free: 7.312 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007767/0.5761, allocations: 2.579 MB / 0.7408 GB, free: 5.828 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006085/0.5822, allocations: 2.137 MB / 0.7429 GB, free: 4.629 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.03685/0.619, allocations: 36.09 MB / 0.7782 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02213/0.6412, allocations: 15.16 MB / 0.793 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01875/0.6601, allocations: 9.499 MB / 0.8023 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0202/0.6803, allocations: 11.61 MB / 0.8136 GB, free: 3.445 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.004137/0.6845, allocations: 0.9062 MB / 0.8145 GB, free: 2.539 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009002/0.6935, allocations: 2.154 MB / 0.8166 GB, free: 392 kB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.005996/0.6995, allocations: 3.181 MB / 0.8197 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.01551/0.715, allocations: 5.981 MB / 0.8255 GB, free: 7.18 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02383/0.7389, allocations: 17.95 MB / 0.8431 GB, free: 5.188 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.739, allocations: 0 / 0.8431 GB, free: 5.188 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.553e-06/0.739, allocations: 0 / 0.8431 GB, free: 5.188 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0006055/0.7396, allocations: 0 / 0.8431 GB, free: 5.188 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.0412/0.7808, allocations: 12.22 MB / 0.855 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.7809, allocations: 8.031 kB / 0.855 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00822/0.7891, allocations: 1.257 MB / 0.8562 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02549/0.8146, allocations: 10.01 MB / 0.866 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004716/0.8151, allocations: 444.1 kB / 0.8664 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00327/0.8184, allocations: 0.5779 MB / 0.867 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03248/0.8509, allocations: 14.62 MB / 0.8813 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000258/0.8512, allocations: 15.88 kB / 0.8813 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002752/0.854, allocations: 244 kB / 0.8815 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.8541, allocations: 140 kB / 0.8817 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03175/0.8859, allocations: 19.76 MB / 0.901 GB, free: 9.41 MB / 0.6355 GB 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.6949/1.581, allocations: 59.91 MB / 0.9595 GB, free: 233.9 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01594/1.597, allocations: 9.18 MB / 0.9684 GB, free: 231.4 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01251/1.609, allocations: 8.593 MB / 0.9768 GB, free: 227.8 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05139/1.661, allocations: 27.38 MB / 1.004 GB, free: 211.5 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0105/1.671, allocations: 7.65 MB / 1.011 GB, free: 206.8 MB / 0.6824 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02083/1.692, allocations: 8.569 MB / 1.019 GB, free: 200.4 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=300): time 2.449e-05/1.692, allocations: 6.812 kB / 1.019 GB, free: 200.4 MB / 0.6824 GB Notification: Performance of matching and sorting (n=300): time 0.04735/1.74, allocations: 23.34 MB / 1.042 GB, free: 177.3 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/1.74, allocations: 85.77 kB / 1.042 GB, free: 177.2 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01043/1.75, allocations: 8.032 MB / 1.05 GB, free: 169.3 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.001919/1.752, allocations: 101.3 kB / 1.05 GB, free: 169.2 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.003052/1.755, allocations: 4.065 MB / 1.054 GB, free: 165.4 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.002566/1.758, allocations: 1.074 MB / 1.055 GB, free: 164.3 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003133/1.761, allocations: 1.665 MB / 1.057 GB, free: 162.6 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 3.874e-05/1.761, allocations: 313.1 kB / 1.057 GB, free: 162.3 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007869/1.769, allocations: 6.536 MB / 1.064 GB, free: 155.8 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0108/1.78, allocations: 8.326 MB / 1.072 GB, free: 146.6 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02036/1.8, allocations: 15.24 MB / 1.087 GB, free: 130.7 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.412e-05/1.8, allocations: 12 kB / 1.087 GB, free: 130.7 MB / 0.6824 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.03306/1.833, allocations: 17.53 MB / 1.104 GB, free: 113.1 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 8.032e-05/1.833, allocations: 49.7 kB / 1.104 GB, free: 113 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-05/1.833, allocations: 48 kB / 1.104 GB, free: 113 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06664/1.9, allocations: 11.51 MB / 1.115 GB, free: 101.5 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008175/1.908, allocations: 1.561 MB / 1.117 GB, free: 99.94 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007434/1.916, allocations: 6.205 MB / 1.123 GB, free: 93.52 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01068/1.927, allocations: 0.5151 MB / 1.123 GB, free: 93 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00256/1.929, allocations: 0.546 MB / 1.124 GB, free: 92.45 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.015/1.944, allocations: 8.823 MB / 1.132 GB, free: 83.62 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01106/1.955, allocations: 8.28 MB / 1.14 GB, free: 74.49 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02096/1.976, allocations: 15.15 MB / 1.155 GB, free: 58.63 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.775e-05/1.976, allocations: 12 kB / 1.155 GB, free: 58.62 MB / 0.6824 GB Notification: Performance of matching and sorting (n=579) (initialization_lambda0): time 0.03182/2.008, allocations: 17.2 MB / 1.172 GB, free: 41.32 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 6.73e-05/2.008, allocations: 65.75 kB / 1.172 GB, free: 41.25 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.935e-05/2.008, allocations: 48 kB / 1.172 GB, free: 41.21 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06789/2.076, allocations: 11.06 MB / 1.183 GB, free: 30.18 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008345/2.085, allocations: 1.558 MB / 1.184 GB, free: 28.62 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/2.096, allocations: 10.14 MB / 1.194 GB, free: 18.03 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01044/2.106, allocations: 0.5081 MB / 1.195 GB, free: 17.52 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002335/2.109, allocations: 0.5421 MB / 1.195 GB, free: 16.98 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 521 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.003851/2.113, allocations: 499 kB / 1.196 GB, free: 16.48 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003876/2.117, allocations: 0.7602 MB / 1.197 GB, free: 15.71 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02919/2.146, allocations: 14.14 MB / 1.21 GB, free: 1.523 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.53e-05/2.146, allocations: 36 kB / 1.21 GB, free: 1.488 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/2.146, allocations: 0 / 1.21 GB, free: 1.488 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3263/2.472, allocations: 10.75 MB / 1.221 GB, free: 220.4 MB / 0.6824 GB 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 postOpt removeSimpleEquations (simulation): time 0.04501/2.517, allocations: 24.52 MB / 1.245 GB, free: 209.1 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/2.517, allocations: 0 / 1.245 GB, free: 209.1 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005141/2.522, allocations: 0.6907 MB / 1.245 GB, free: 209 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06548/2.588, allocations: 10.71 MB / 1.256 GB, free: 208.4 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001144/2.589, allocations: 102.2 kB / 1.256 GB, free: 208.3 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004351/2.593, allocations: 4.697 MB / 1.261 GB, free: 205 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/2.593, allocations: 0 / 1.261 GB, free: 205 MB / 0.6824 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 1.038/3.632, allocations: 225.8 MB / 1.481 GB, free: 221.5 MB / 0.698 GB Error: post-optimization module symbolicJacobian (simulation) failed.