Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6946/0.6946, allocations: 128.7 MB / 144.5 MB, free: 1.418 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 185.8 kB / 174.2 MB, free: 5.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205 MB / 408.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009758/0.0009758, allocations: 102.3 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009761/0.0009761, allocations: 56.23 kB / 0.558 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.127, allocations: 75.47 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2): time 0.06525/0.1923, allocations: 82.86 MB / 0.7126 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.03079/0.2231, allocations: 22.82 MB / 0.7349 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004433/0.2276, allocations: 103.3 kB / 0.735 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.00321/0.2308, allocations: 0.9794 MB / 0.7359 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.006641/0.2376, allocations: 2.55 MB / 0.7384 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005541/0.2431, allocations: 2.097 MB / 0.7405 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.3716/0.6147, allocations: 35.17 MB / 0.7748 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01942/0.6342, allocations: 14.99 MB / 0.7894 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02085/0.655, allocations: 9.325 MB / 0.7985 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02109/0.6762, allocations: 11.5 MB / 0.8098 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.005184/0.6814, allocations: 0.8906 MB / 0.8106 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01118/0.6926, allocations: 2.149 MB / 0.8127 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.007164/0.6998, allocations: 3.136 MB / 0.8158 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.01735/0.7172, allocations: 5.904 MB / 0.8216 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.03166/0.7489, allocations: 18.5 MB / 0.8396 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.749, allocations: 3.938 kB / 0.8396 GB, free: 1.727 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.974e-06/0.749, allocations: 0 / 0.8396 GB, free: 1.727 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0006872/0.7497, allocations: 3.281 kB / 0.8396 GB, free: 1.727 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1415 * Number of variables: 1415 Notification: Performance of Generate backend data structure: time 0.04009/0.7898, allocations: 11.94 MB / 0.8513 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.7898, allocations: 8.031 kB / 0.8513 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008272/0.7981, allocations: 1.25 MB / 0.8525 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02506/0.8232, allocations: 8.684 MB / 0.861 GB, free: 11.97 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005899/0.8238, allocations: 440 kB / 0.8614 GB, free: 11.54 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003778/0.8276, allocations: 0.5818 MB / 0.862 GB, free: 10.96 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04502/0.8727, allocations: 15.15 MB / 0.8768 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000307/0.873, allocations: 19.78 kB / 0.8768 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003251/0.8763, allocations: 240 kB / 0.877 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/0.8764, allocations: 136 kB / 0.8772 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04512/0.9216, allocations: 20.28 MB / 0.897 GB, free: 6.859 MB / 0.6042 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.1235/1.045, allocations: 60.37 MB / 0.9559 GB, free: 9.34 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0192/1.064, allocations: 9.511 MB / 0.9652 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01303/1.077, allocations: 8.477 MB / 0.9735 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6384/1.716, allocations: 25.53 MB / 0.9984 GB, free: 173.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0152/1.731, allocations: 8.238 MB / 1.006 GB, free: 173.2 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02243/1.754, allocations: 8.562 MB / 1.015 GB, free: 172.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=279): time 3.368e-05/1.754, allocations: 0 / 1.015 GB, free: 172.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=279): time 0.07642/1.83, allocations: 25.42 MB / 1.04 GB, free: 171.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/1.83, allocations: 132.1 kB / 1.04 GB, free: 171.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01205/1.842, allocations: 7.727 MB / 1.047 GB, free: 169.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002833/1.845, allocations: 96.48 kB / 1.047 GB, free: 169.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003921/1.849, allocations: 4.083 MB / 1.051 GB, free: 168.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003153/1.852, allocations: 1.005 MB / 1.052 GB, free: 168.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004347/1.857, allocations: 1.654 MB / 1.054 GB, free: 167.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.801e-05/1.857, allocations: 309 kB / 1.054 GB, free: 167.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009923/1.867, allocations: 6.605 MB / 1.061 GB, free: 165.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01117/1.878, allocations: 8.474 MB / 1.069 GB, free: 159.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02047/1.898, allocations: 15.42 MB / 1.084 GB, free: 143.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.714e-05/1.898, allocations: 16 kB / 1.084 GB, free: 143.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=559) (initialization): time 0.04646/1.945, allocations: 18.89 MB / 1.103 GB, free: 124.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.904e-05/1.945, allocations: 53.7 kB / 1.103 GB, free: 124.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.859e-05/1.945, allocations: 52 kB / 1.103 GB, free: 124.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06413/2.009, allocations: 11.74 MB / 1.114 GB, free: 112.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007885/2.017, allocations: 1.52 MB / 1.116 GB, free: 111.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04957/2.067, allocations: 16.9 MB / 1.132 GB, free: 94.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/2.077, allocations: 0.4987 MB / 1.133 GB, free: 93.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002615/2.08, allocations: 0.5499 MB / 1.133 GB, free: 93.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01421/2.094, allocations: 8.677 MB / 1.142 GB, free: 84.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01033/2.105, allocations: 8.258 MB / 1.15 GB, free: 75.42 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01895/2.124, allocations: 15.05 MB / 1.164 GB, free: 59.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.017e-05/2.124, allocations: 16 kB / 1.164 GB, free: 59.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=559) (initialization_lambda0): time 0.03407/2.158, allocations: 17.15 MB / 1.181 GB, free: 42.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.765e-05/2.158, allocations: 62.59 kB / 1.181 GB, free: 42.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/2.158, allocations: 58.12 kB / 1.181 GB, free: 42.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06239/2.221, allocations: 11.07 MB / 1.192 GB, free: 31.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008098/2.229, allocations: 1.518 MB / 1.194 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/2.24, allocations: 10.22 MB / 1.204 GB, free: 19.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/2.251, allocations: 451.7 kB / 1.204 GB, free: 19.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002599/2.253, allocations: 0.5343 MB / 1.204 GB, free: 18.75 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 236 * 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 (507): * Single equations (assignments): 501 * 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.004022/2.257, allocations: 496.8 kB / 1.205 GB, free: 18.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004101/2.262, allocations: 0.7409 MB / 1.206 GB, free: 17.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03873/2.3, allocations: 15.27 MB / 1.221 GB, free: 2.273 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.741e-05/2.3, allocations: 32 kB / 1.221 GB, free: 2.242 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/2.3, allocations: 0 / 1.221 GB, free: 2.242 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02988/2.33, allocations: 11.91 MB / 1.232 GB, free: 6.242 MB / 0.7137 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.05191/2.382, allocations: 25.38 MB / 1.257 GB, free: 13.01 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.021e-05/2.382, allocations: 1.203 kB / 1.257 GB, free: 13.01 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00505/2.387, allocations: 0.5947 MB / 1.258 GB, free: 12.45 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3252/2.713, allocations: 11.09 MB / 1.268 GB, free: 296.3 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001169/2.714, allocations: 107.6 kB / 1.269 GB, free: 296.3 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04404/2.758, allocations: 14.02 MB / 1.282 GB, free: 291.9 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/2.758, allocations: 0 / 1.282 GB, free: 291.9 MB / 0.7449 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.8049/3.563, allocations: 243.7 MB / 1.52 GB, free: 79.79 MB / 0.7449 GB Error: post-optimization module symbolicJacobian (simulation) failed.