Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.Examples.ClosedLoop_y.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.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009809/0.0009809, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.006052/0.006052, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.842/2.842, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 14.44 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4088, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.8806/1.289, allocations: 201.1 MB / 1.271 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01834/1.308, allocations: 15.38 MB / 1.286 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/1.31, allocations: 46.88 kB / 1.286 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01135/1.321, allocations: 5.576 MB / 1.291 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007208/1.328, allocations: 2.405 MB / 1.293 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004069/1.332, allocations: 1.432 MB / 1.295 GB, free: 5.66 MB / 0.9981 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.08333333333333334, 0.1666666666666667}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01746/1.35, allocations: 10.45 MB / 1.305 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002657/1.353, allocations: 1.165 MB / 1.306 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006099/1.359, allocations: 1.753 MB / 1.308 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00352/1.362, allocations: 1.206 MB / 1.309 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003319/1.363, allocations: 66.66 kB / 1.309 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007314/1.37, allocations: 2.903 MB / 1.312 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000834/1.371, allocations: 0.6339 MB / 1.313 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001814/1.373, allocations: 0.9708 MB / 1.313 GB, free: 21.3 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006898/1.38, allocations: 3.843 MB / 1.317 GB, free: 21.08 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/1.38, allocations: 0 / 1.317 GB, free: 21.08 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.455e-06/1.38, allocations: 0 / 1.317 GB, free: 21.08 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.136e-05/1.38, allocations: 1.406 kB / 1.317 GB, free: 21.08 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004736/1.384, allocations: 2.196 MB / 1.319 GB, free: 19.81 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/1.384, allocations: 12.41 kB / 1.319 GB, free: 19.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003759/1.388, allocations: 0.6368 MB / 1.32 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00409/1.392, allocations: 2.118 MB / 1.322 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.995e-05/1.392, allocations: 83.77 kB / 1.322 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/1.393, allocations: 113.1 kB / 1.322 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/1.395, allocations: 1.31 MB / 1.324 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/1.395, allocations: 2.906 kB / 1.324 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/1.395, allocations: 38.12 kB / 1.324 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/1.395, allocations: 33.81 kB / 1.324 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/1.397, allocations: 1.058 MB / 1.325 GB, free: 19.03 MB / 1.014 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.007153/1.405, allocations: 5.47 MB / 1.33 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/1.407, allocations: 0.9847 MB / 1.331 GB, free: 16.63 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/1.408, allocations: 0.4991 MB / 1.331 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/1.409, allocations: 110.5 kB / 1.332 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/1.41, allocations: 0.597 MB / 1.332 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006766/1.41, allocations: 93.95 kB / 1.332 GB, free: 16.42 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.655e-06/1.41, allocations: 0 / 1.332 GB, free: 16.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.003681/1.414, allocations: 1.507 MB / 1.334 GB, free: 16.16 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/1.414, allocations: 68.94 kB / 1.334 GB, free: 16.09 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/1.416, allocations: 1.707 MB / 1.335 GB, free: 15.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/1.416, allocations: 43.3 kB / 1.335 GB, free: 15.87 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006395/1.417, allocations: 0.7698 MB / 1.336 GB, free: 15.63 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/1.417, allocations: 247.9 kB / 1.336 GB, free: 15.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/1.417, allocations: 139.8 kB / 1.337 GB, free: 15.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001686/1.418, allocations: 361.1 kB / 1.337 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/1.419, allocations: 0.7654 MB / 1.338 GB, free: 15.15 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/1.42, allocations: 1.062 MB / 1.339 GB, free: 14.85 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002513/1.423, allocations: 1.73 MB / 1.34 GB, free: 14.45 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.423, allocations: 2.906 kB / 1.34 GB, free: 14.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003714/1.427, allocations: 2.176 MB / 1.343 GB, free: 13.96 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/1.427, allocations: 284.9 kB / 1.343 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.427, allocations: 5.5 kB / 1.343 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004445/1.427, allocations: 149.8 kB / 1.343 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/1.428, allocations: 285.9 kB / 1.343 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009675/1.429, allocations: 1.243 MB / 1.344 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/1.431, allocations: 124.5 kB / 1.345 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/1.431, allocations: 60.95 kB / 1.345 GB, free: 12.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/1.431, allocations: 7.5 kB / 1.345 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003101/1.434, allocations: 1.792 MB / 1.346 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.434, allocations: 8.344 kB / 1.346 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006179/1.435, allocations: 181.2 kB / 1.347 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009709/1.436, allocations: 252.5 kB / 1.347 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004751/1.441, allocations: 3.126 MB / 1.35 GB, free: 8.699 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/1.442, allocations: 120.4 kB / 1.35 GB, free: 8.641 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/1.443, allocations: 48.94 kB / 1.35 GB, free: 8.633 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 6 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 126 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001077/1.444, allocations: 0.568 MB / 1.351 GB, free: 8.219 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/1.444, allocations: 164.8 kB / 1.351 GB, free: 8.129 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/1.447, allocations: 1.144 MB / 1.352 GB, free: 7.512 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/1.447, allocations: 14.41 kB / 1.352 GB, free: 7.504 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/1.447, allocations: 3.984 kB / 1.352 GB, free: 7.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002071/1.449, allocations: 0.9983 MB / 1.353 GB, free: 6.941 MB / 1.014 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.005103/1.454, allocations: 2.651 MB / 1.355 GB, free: 5.211 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.454, allocations: 0 / 1.355 GB, free: 5.211 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009306/1.455, allocations: 174.9 kB / 1.356 GB, free: 5.172 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000278/1.455, allocations: 87.11 kB / 1.356 GB, free: 5.133 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.529e-05/1.455, allocations: 24.02 kB / 1.356 GB, free: 5.117 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008099/1.456, allocations: 1.218 MB / 1.357 GB, free: 3.938 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.456, allocations: 7.922 kB / 1.357 GB, free: 3.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003543/1.46, allocations: 1.701 MB / 1.359 GB, free: 3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006729/1.46, allocations: 327.5 kB / 1.359 GB, free: 2.727 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/1.46, allocations: 21.83 kB / 1.359 GB, free: 2.711 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/1.461, allocations: 103.8 kB / 1.359 GB, free: 2.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/1.462, allocations: 53.08 kB / 1.359 GB, free: 2.633 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.996e-05/1.462, allocations: 35.11 kB / 1.359 GB, free: 2.621 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001704/1.463, allocations: 1.147 MB / 1.36 GB, free: 2 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/1.463, allocations: 0 / 1.36 GB, free: 2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002629/1.466, allocations: 0.9689 MB / 1.361 GB, free: 1.812 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.U,fan.vol.dynBal.m,fan.filter.s[1],fan.filter.s[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001337/1.467, allocations: 0.577 MB / 1.362 GB, free: 1.543 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004721/1.472, allocations: 2.578 MB / 1.364 GB, free: 268 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.472, allocations: 2.812 kB / 1.364 GB, free: 268 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/1.473, allocations: 494.8 kB / 1.365 GB, free: 64 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004241/1.478, allocations: 0.8184 MB / 1.365 GB, free: 15.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005724/1.483, allocations: 3.888 MB / 1.369 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/1.484, allocations: 1.466 MB / 1.371 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001984/1.486, allocations: 469.2 kB / 1.371 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/1.487, allocations: 129.5 kB / 1.371 GB, free: 11.74 MB / 1.029 GB Notification: Performance of SimCode: time 9.41e-07/1.487, allocations: 4 kB / 1.371 GB, free: 11.73 MB / 1.029 GB Notification: Performance of Templates: time 0.06499/1.552, allocations: 36.22 MB / 1.407 GB, free: 10.27 MB / 1.061 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)