Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.144/2.144, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 189.5 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 110.1 kB / 0.9329 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001062, allocations: 51.44 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2068, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.04931/0.2561, allocations: 80.11 MB / 1.296 GB, free: 36.93 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.02049/0.2767, allocations: 19.4 MB / 1.315 GB, free: 17.48 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003376/0.2801, allocations: 103.4 kB / 1.315 GB, free: 17.38 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.2828, allocations: 0.9697 MB / 1.316 GB, free: 16.41 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.005675/0.2885, allocations: 2.587 MB / 1.319 GB, free: 13.81 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004425/0.2929, allocations: 2.142 MB / 1.321 GB, free: 11.68 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.02998/0.3229, allocations: 36.14 MB / 1.356 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02864/0.3516, allocations: 15.13 MB / 1.371 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02053/0.3721, allocations: 9.472 MB / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01948/0.3916, allocations: 11.6 MB / 1.392 GB, free: 3.055 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.004228/0.3959, allocations: 0.9023 MB / 1.392 GB, free: 2.152 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01112/0.4071, allocations: 2.162 MB / 1.395 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.007781/0.4149, allocations: 3.181 MB / 1.398 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.01237/0.4273, allocations: 5.977 MB / 1.404 GB, free: 6.793 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.02147/0.4488, allocations: 17.93 MB / 1.421 GB, free: 4.812 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4489, allocations: 0 / 1.421 GB, free: 4.812 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4489, allocations: 0 / 1.421 GB, free: 4.812 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000515/0.4494, allocations: 0 / 1.421 GB, free: 4.812 MB / 0.9167 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.4934/0.9428, allocations: 12.2 MB / 1.433 GB, free: 188.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.9429, allocations: 14.45 kB / 1.433 GB, free: 188.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/0.9529, allocations: 1.348 MB / 1.434 GB, free: 187.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02739/0.9804, allocations: 10.05 MB / 1.444 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006544/0.9811, allocations: 446.4 kB / 1.445 GB, free: 183.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004579/0.9857, allocations: 0.5755 MB / 1.445 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0333/1.019, allocations: 14.65 MB / 1.459 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000311/1.019, allocations: 19.78 kB / 1.459 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003129/1.022, allocations: 244 kB / 1.46 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.419e-05/1.023, allocations: 136 kB / 1.46 GB, free: 174.3 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02923/1.052, allocations: 19.81 MB / 1.479 GB, free: 154.5 MB / 0.9167 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.09704/1.149, allocations: 59.98 MB / 1.538 GB, free: 93.32 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/1.161, allocations: 9.233 MB / 1.547 GB, free: 84.05 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009807/1.17, allocations: 8.612 MB / 1.555 GB, free: 75.43 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04637/1.217, allocations: 27.39 MB / 1.582 GB, free: 47.68 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009162/1.226, allocations: 7.675 MB / 1.589 GB, free: 39.96 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02019/1.246, allocations: 8.565 MB / 1.598 GB, free: 31.38 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=300): time 2.515e-05/1.246, allocations: 0 / 1.598 GB, free: 31.38 MB / 0.9167 GB Notification: Performance of matching and sorting (n=300): time 0.04245/1.289, allocations: 23.42 MB / 1.621 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/1.289, allocations: 89.75 kB / 1.621 GB, free: 7.715 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009468/1.298, allocations: 8.026 MB / 1.629 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001801/1.3, allocations: 97.7 kB / 1.629 GB, free: 15.61 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003511/1.304, allocations: 4.061 MB / 1.633 GB, free: 11.52 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002667/1.306, allocations: 1.086 MB / 1.634 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003185/1.31, allocations: 1.662 MB / 1.635 GB, free: 8.746 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.058e-05/1.31, allocations: 313 kB / 1.636 GB, free: 8.438 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008954/1.319, allocations: 6.567 MB / 1.642 GB, free: 1.848 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01108/1.33, allocations: 8.341 MB / 1.65 GB, free: 8.66 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02188/1.352, allocations: 15.29 MB / 1.665 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.781e-05/1.352, allocations: 12 kB / 1.665 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.03504/1.387, allocations: 17.56 MB / 1.682 GB, free: 7.012 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 7.166e-05/1.387, allocations: 57.64 kB / 1.682 GB, free: 6.949 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-05/1.387, allocations: 48 kB / 1.682 GB, free: 6.902 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06964/1.457, allocations: 11.51 MB / 1.694 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008272/1.465, allocations: 1.565 MB / 1.695 GB, free: 9.797 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007919/1.473, allocations: 6.219 MB / 1.701 GB, free: 3.363 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0133/1.486, allocations: 0.519 MB / 1.702 GB, free: 2.844 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002842/1.489, allocations: 0.5499 MB / 1.702 GB, free: 2.293 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01494/1.504, allocations: 8.838 MB / 1.711 GB, free: 9.434 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01099/1.515, allocations: 8.3 MB / 1.719 GB, free: 292 kB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02174/1.537, allocations: 15.19 MB / 1.734 GB, free: 392 kB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.361e-05/1.537, allocations: 12 kB / 1.734 GB, free: 380 kB / 1.026 GB Notification: Performance of matching and sorting (n=579) (initialization_lambda0): time 0.03082/1.568, allocations: 17.25 MB / 1.751 GB, free: 15.03 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/1.568, allocations: 57.88 kB / 1.751 GB, free: 14.97 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-05/1.568, allocations: 52 kB / 1.751 GB, free: 14.92 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06716/1.635, allocations: 11.05 MB / 1.762 GB, free: 3.84 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008384/1.644, allocations: 1.565 MB / 1.763 GB, free: 2.27 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/1.657, allocations: 10.14 MB / 1.773 GB, free: 7.684 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01091/1.668, allocations: 0.5159 MB / 1.773 GB, free: 7.164 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002592/1.671, allocations: 0.5382 MB / 1.774 GB, free: 6.625 MB / 1.073 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.002693/1.673, allocations: 492.3 kB / 1.774 GB, free: 6.137 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003933/1.677, allocations: 0.7679 MB / 1.775 GB, free: 5.359 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0349/1.712, allocations: 14.2 MB / 1.789 GB, free: 7.105 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.665e-05/1.712, allocations: 36 kB / 1.789 GB, free: 7.07 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/1.712, allocations: 0 / 1.789 GB, free: 7.07 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02844/1.741, allocations: 10.8 MB / 1.8 GB, free: 12.16 MB / 1.104 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.06355/1.804, allocations: 24.58 MB / 1.824 GB, free: 3.434 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.364e-05/1.804, allocations: 0 / 1.824 GB, free: 3.434 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007879/1.812, allocations: 0.7002 MB / 1.824 GB, free: 2.73 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06625/1.879, allocations: 10.71 MB / 1.835 GB, free: 7.996 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001232/1.88, allocations: 103.9 kB / 1.835 GB, free: 7.895 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005243/1.885, allocations: 4.712 MB / 1.84 GB, free: 2.973 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.885, allocations: 4.156 kB / 1.84 GB, free: 2.969 MB / 1.135 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.638/3.523, allocations: 226.2 MB / 2.06 GB, free: 231.2 MB / 1.151 GB Error: post-optimization module symbolicJacobian (simulation) failed.