Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Examples.Performance.Example1v2") translateModel(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001146/0.001146, allocations: 182.7 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-master/package.mo): time 0.692/0.692, allocations: 133.3 MB / 150.1 MB, free: 11.13 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.473/1.473, allocations: 222.9 MB / 404.7 MB, free: 5.98 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.0009655/0.0009656, allocations: 91.64 kB / 485.9 MB, free: 7.113 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009966/0.0009967, allocations: 55.92 kB / 0.5636 GB, free: 69.87 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1307, allocations: 80.43 MB / 0.6421 GB, free: 5.371 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v2): time 0.3657/0.4965, allocations: 80.06 MB / 0.7203 GB, free: 16.65 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02444/0.521, allocations: 19.37 MB / 0.7392 GB, free: 6.184 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004401/0.5254, allocations: 97.94 kB / 0.7393 GB, free: 6.145 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003197/0.5287, allocations: 0.9814 MB / 0.7403 GB, free: 5.613 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008913/0.5376, allocations: 2.568 MB / 0.7428 GB, free: 4.141 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007161/0.5448, allocations: 2.143 MB / 0.7449 GB, free: 2.938 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.03356/0.5784, allocations: 36.11 MB / 0.7802 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0187/0.5971, allocations: 15.16 MB / 0.795 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01882/0.616, allocations: 9.491 MB / 0.8042 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02054/0.6366, allocations: 11.61 MB / 0.8156 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.004707/0.6413, allocations: 0.9062 MB / 0.8165 GB, free: 468 kB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009617/0.651, allocations: 2.158 MB / 0.8186 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.006255/0.6572, allocations: 3.193 MB / 0.8217 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.01366/0.6709, allocations: 5.97 MB / 0.8275 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02375/0.6947, allocations: 17.94 MB / 0.845 GB, free: 3.109 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.6948, allocations: 0 / 0.845 GB, free: 3.109 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6948, allocations: 0 / 0.845 GB, free: 3.109 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0005906/0.6954, allocations: 8 kB / 0.845 GB, free: 3.102 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.0385/0.7339, allocations: 12.21 MB / 0.857 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.7339, allocations: 8.031 kB / 0.857 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009235/0.7432, allocations: 1.265 MB / 0.8582 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02861/0.7718, allocations: 10.01 MB / 0.868 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004634/0.7723, allocations: 444.1 kB / 0.8684 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003392/0.7757, allocations: 0.5779 MB / 0.869 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03265/0.8084, allocations: 14.62 MB / 0.8832 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002852/0.8087, allocations: 23.88 kB / 0.8833 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003636/0.8124, allocations: 240 kB / 0.8835 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/0.8126, allocations: 140 kB / 0.8836 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0356/0.8482, allocations: 19.76 MB / 0.9029 GB, free: 7.316 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.6892/1.537, allocations: 59.91 MB / 0.9614 GB, free: 227.4 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01506/1.552, allocations: 9.181 MB / 0.9704 GB, free: 224.6 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01271/1.565, allocations: 8.596 MB / 0.9788 GB, free: 221 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05107/1.616, allocations: 27.37 MB / 1.006 GB, free: 204.2 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009088/1.625, allocations: 7.655 MB / 1.013 GB, free: 199.5 MB / 0.6824 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02026/1.646, allocations: 8.561 MB / 1.021 GB, free: 192 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=300): time 2.593e-05/1.646, allocations: 0 / 1.021 GB, free: 192 MB / 0.6824 GB Notification: Performance of matching and sorting (n=300): time 0.06118/1.707, allocations: 23.35 MB / 1.044 GB, free: 169 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/1.707, allocations: 85.77 kB / 1.044 GB, free: 168.9 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0138/1.721, allocations: 8.035 MB / 1.052 GB, free: 161 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.002394/1.723, allocations: 101.7 kB / 1.052 GB, free: 160.9 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.003366/1.727, allocations: 4.061 MB / 1.056 GB, free: 157 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.003081/1.73, allocations: 1.074 MB / 1.057 GB, free: 155.9 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004381/1.734, allocations: 1.676 MB / 1.059 GB, free: 154.3 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 5.335e-05/1.734, allocations: 301.1 kB / 1.059 GB, free: 154 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007868/1.742, allocations: 6.544 MB / 1.066 GB, free: 147.4 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009373/1.752, allocations: 8.325 MB / 1.074 GB, free: 138.3 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01875/1.77, allocations: 15.24 MB / 1.089 GB, free: 122.3 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.07e-05/1.77, allocations: 16 kB / 1.089 GB, free: 122.3 MB / 0.6824 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.03295/1.803, allocations: 17.52 MB / 1.106 GB, free: 104.7 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-05/1.804, allocations: 49.7 kB / 1.106 GB, free: 104.7 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.123e-05/1.804, allocations: 51.94 kB / 1.106 GB, free: 104.6 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06987/1.874, allocations: 11.52 MB / 1.117 GB, free: 93.13 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008079/1.882, allocations: 1.557 MB / 1.119 GB, free: 91.57 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007019/1.889, allocations: 6.216 MB / 1.125 GB, free: 85.15 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01037/1.899, allocations: 0.5151 MB / 1.125 GB, free: 84.63 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002356/1.901, allocations: 0.546 MB / 1.126 GB, free: 84.09 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01369/1.915, allocations: 8.814 MB / 1.134 GB, free: 75.25 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009428/1.925, allocations: 8.282 MB / 1.142 GB, free: 66.12 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01847/1.943, allocations: 15.15 MB / 1.157 GB, free: 50.27 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.703e-05/1.943, allocations: 12 kB / 1.157 GB, free: 50.25 MB / 0.6824 GB Notification: Performance of matching and sorting (n=579) (initialization_lambda0): time 0.03065/1.974, allocations: 17.21 MB / 1.174 GB, free: 32.95 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-05/1.974, allocations: 54.95 kB / 1.174 GB, free: 32.89 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-05/1.974, allocations: 52.16 kB / 1.174 GB, free: 32.84 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0688/2.043, allocations: 11.06 MB / 1.185 GB, free: 21.79 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008018/2.051, allocations: 1.553 MB / 1.186 GB, free: 20.23 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/2.061, allocations: 10.13 MB / 1.196 GB, free: 9.648 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009934/2.071, allocations: 0.5159 MB / 1.197 GB, free: 9.133 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002404/2.073, allocations: 0.5382 MB / 1.197 GB, free: 8.594 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.003668/2.077, allocations: 491.1 kB / 1.198 GB, free: 8.105 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00437/2.082, allocations: 0.7666 MB / 1.198 GB, free: 7.332 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02905/2.111, allocations: 14.15 MB / 1.212 GB, free: 9.133 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.92e-05/2.111, allocations: 36 kB / 1.212 GB, free: 9.098 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/2.111, allocations: 3.938 kB / 1.212 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3071/2.418, allocations: 10.73 MB / 1.223 GB, free: 237 MB / 0.698 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.03974/2.458, allocations: 24.53 MB / 1.247 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/2.458, allocations: 1.031 kB / 1.247 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004999/2.463, allocations: 0.6936 MB / 1.247 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06818/2.531, allocations: 10.71 MB / 1.258 GB, free: 225.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001187/2.532, allocations: 105.8 kB / 1.258 GB, free: 225.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004393/2.536, allocations: 4.701 MB / 1.263 GB, free: 222.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/2.536, allocations: 0 / 1.263 GB, free: 222.2 MB / 0.698 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.7461/3.283, allocations: 225.8 MB / 1.483 GB, free: 6.016 MB / 0.698 GB Error: post-optimization module symbolicJacobian (simulation) failed.