Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 191.2 kB / 16.13 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.12 kB / 0.9113 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.358, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02766/0.3857, allocations: 29.89 MB / 1.097 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01674/0.4025, allocations: 11.88 MB / 1.108 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.4042, allocations: 43.75 kB / 1.108 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.008451/0.4127, allocations: 3.789 MB / 1.112 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004499/0.4172, allocations: 1.408 MB / 1.113 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003699/0.4209, allocations: 1.251 MB / 1.115 GB, free: 10.51 MB / 0.8731 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01038/0.4313, allocations: 8.002 MB / 1.122 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002136/0.4335, allocations: 1.161 MB / 1.124 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003078/0.4366, allocations: 1.276 MB / 1.125 GB, free: 20 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/0.4388, allocations: 1.104 MB / 1.126 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004813/0.4393, allocations: 72 kB / 1.126 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003301/0.4426, allocations: 1.279 MB / 1.127 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007375/0.4433, allocations: 486.2 kB / 1.128 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.4451, allocations: 0.8896 MB / 1.129 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004629/0.4498, allocations: 2.948 MB / 1.131 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4498, allocations: 0 / 1.131 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4498, allocations: 0 / 1.131 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.507e-05/0.4499, allocations: 0 / 1.131 GB, free: 9.23 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005179/0.4551, allocations: 2.354 MB / 1.134 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.4551, allocations: 8.031 kB / 1.134 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002103/0.4572, allocations: 385.2 kB / 1.134 GB, free: 6.418 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004238/0.4615, allocations: 2.332 MB / 1.136 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.4616, allocations: 66.23 kB / 1.136 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/0.4618, allocations: 88 kB / 1.137 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/0.4639, allocations: 1.016 MB / 1.138 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.464, allocations: 3.984 kB / 1.138 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.581e-05/0.464, allocations: 32 kB / 1.138 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.4641, allocations: 20 kB / 1.138 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.4659, allocations: 0.7688 MB / 1.138 GB, free: 1.992 MB / 0.8887 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.007293/0.4732, allocations: 5.341 MB / 1.144 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.4747, allocations: 0.5702 MB / 1.144 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007306/0.4754, allocations: 330.4 kB / 1.144 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002441/0.4779, allocations: 1.646 MB / 1.146 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007844/0.4787, allocations: 331.1 kB / 1.146 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005967/0.4793, allocations: 111.3 kB / 1.146 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 4.148e-06/0.4793, allocations: 0 / 1.146 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.00355/0.4829, allocations: 1.216 MB / 1.148 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.4829, allocations: 59.36 kB / 1.148 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00284/0.4858, allocations: 1.842 MB / 1.149 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.645e-05/0.4858, allocations: 45.7 kB / 1.15 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007119/0.4866, allocations: 0.7831 MB / 1.15 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.4867, allocations: 149.9 kB / 1.15 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004033/0.4871, allocations: 266.3 kB / 1.151 GB, free: 4.672 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4873, allocations: 349.9 kB / 1.151 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008855/0.4882, allocations: 468.8 kB / 1.151 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.4894, allocations: 0.8397 MB / 1.152 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.4912, allocations: 1.153 MB / 1.153 GB, free: 1.57 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.4912, allocations: 4 kB / 1.153 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003137/0.4943, allocations: 1.603 MB / 1.155 GB, free: 15.95 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.351e-05/0.4944, allocations: 35.27 kB / 1.155 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.4944, allocations: 8 kB / 1.155 GB, free: 15.9 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007303/0.4952, allocations: 188.8 kB / 1.155 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007789/0.496, allocations: 199.6 kB / 1.155 GB, free: 15.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008459/0.4968, allocations: 0.7669 MB / 1.156 GB, free: 14.73 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.4982, allocations: 100.6 kB / 1.156 GB, free: 14.63 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.4984, allocations: 48.11 kB / 1.156 GB, free: 14.58 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001449/0.4998, allocations: 0.8652 MB / 1.157 GB, free: 13.71 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001129/0.501, allocations: 0.8124 MB / 1.158 GB, free: 12.74 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001777/0.5028, allocations: 1.128 MB / 1.159 GB, free: 11.48 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.378e-06/0.5028, allocations: 0 / 1.159 GB, free: 11.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=151) (initialization_lambda0): time 0.002857/0.5056, allocations: 1.587 MB / 1.161 GB, free: 9.859 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.5057, allocations: 33.7 kB / 1.161 GB, free: 9.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.5057, allocations: 12 kB / 1.161 GB, free: 9.809 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002259/0.5059, allocations: 113.3 kB / 1.161 GB, free: 9.695 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/0.5067, allocations: 195.7 kB / 1.161 GB, free: 9.504 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.509, allocations: 2.154 MB / 1.163 GB, free: 7.199 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.5103, allocations: 108.4 kB / 1.163 GB, free: 7.094 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.5104, allocations: 44 kB / 1.163 GB, free: 7.051 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002921/0.5107, allocations: 236.5 kB / 1.163 GB, free: 6.812 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.511, allocations: 165.8 kB / 1.164 GB, free: 6.648 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/0.513, allocations: 0.9119 MB / 1.164 GB, free: 5.727 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.513, allocations: 4 kB / 1.164 GB, free: 5.723 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.5131, allocations: 4 kB / 1.164 GB, free: 5.719 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001513/0.5146, allocations: 0.8881 MB / 1.165 GB, free: 4.758 MB / 0.92 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.003637/0.5182, allocations: 2.04 MB / 1.167 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.5182, allocations: 4 kB / 1.167 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.5187, allocations: 83.94 kB / 1.167 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002896/0.519, allocations: 128.7 kB / 1.168 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.703e-05/0.5191, allocations: 12 kB / 1.168 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005779/0.5197, allocations: 0.7512 MB / 1.168 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5197, allocations: 3.938 kB / 1.168 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.5221, allocations: 1.239 MB / 1.169 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005621/0.5227, allocations: 318.8 kB / 1.17 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002605/0.5229, allocations: 8 kB / 1.17 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008732/0.5238, allocations: 71.98 kB / 1.17 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.5239, allocations: 32.39 kB / 1.17 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/0.524, allocations: 19.98 kB / 1.17 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001873/0.5259, allocations: 1.254 MB / 1.171 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5259, allocations: 4 kB / 1.171 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002393/0.5283, allocations: 0.8034 MB / 1.172 GB, free: 13.81 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00128/0.5296, allocations: 0.4902 MB / 1.172 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004037/0.5336, allocations: 1.855 MB / 1.174 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.5336, allocations: 4.188 kB / 1.174 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000911/0.5346, allocations: 330.4 kB / 1.175 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004481/0.5391, allocations: 0.7572 MB / 1.175 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008668/0.5478, allocations: 3.525 MB / 1.179 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/0.5497, allocations: 1.448 MB / 1.18 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002108/0.5518, allocations: 441.2 kB / 1.181 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000489/0.5523, allocations: 135.4 kB / 1.181 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of SimCode: time 9.62e-07/0.5523, allocations: 0 / 1.181 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of Templates: time 0.05735/0.6097, allocations: 32.05 MB / 1.212 GB, free: 5.059 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)