Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0008129/0.0008127, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005511/0.005511, allocations: 169.2 kB / 16.26 MB, free: 6.648 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.404/1.404, 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 3.023/3.023, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003457, allocations: 18.91 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3446, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.9305/1.275, allocations: 201.1 MB / 1.271 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02221/1.297, allocations: 15.38 MB / 1.286 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003159/1.301, allocations: 48.94 kB / 1.286 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01212/1.313, allocations: 5.579 MB / 1.291 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007668/1.32, allocations: 2.403 MB / 1.293 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005146/1.326, allocations: 1.428 MB / 1.295 GB, free: 5.68 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.02011/1.346, allocations: 10.45 MB / 1.305 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003099/1.349, allocations: 1.165 MB / 1.306 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005938/1.355, allocations: 1.755 MB / 1.308 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004058/1.359, allocations: 1.197 MB / 1.309 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000514/1.359, allocations: 67.28 kB / 1.309 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008169/1.368, allocations: 2.908 MB / 1.312 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001479/1.369, allocations: 0.6312 MB / 1.313 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001751/1.371, allocations: 0.9729 MB / 1.313 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007851/1.379, allocations: 3.843 MB / 1.317 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.379, allocations: 1.375 kB / 1.317 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.104e-06/1.379, allocations: 4 kB / 1.317 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.605e-05/1.379, allocations: 0 / 1.317 GB, free: 5.102 MB / 0.9981 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.004798/1.384, allocations: 2.195 MB / 1.319 GB, free: 19.83 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/1.384, allocations: 8.594 kB / 1.319 GB, free: 19.83 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003912/1.388, allocations: 0.6399 MB / 1.32 GB, free: 19.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00426/1.392, allocations: 2.117 MB / 1.322 GB, free: 19.21 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/1.392, allocations: 83.14 kB / 1.322 GB, free: 19.21 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/1.392, allocations: 117.5 kB / 1.322 GB, free: 19.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/1.395, allocations: 1.304 MB / 1.324 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/1.395, allocations: 0 / 1.324 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/1.395, allocations: 38.38 kB / 1.324 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-05/1.395, allocations: 41.19 kB / 1.324 GB, free: 19.06 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002257/1.397, allocations: 1.055 MB / 1.325 GB, free: 19.05 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.008167/1.405, allocations: 5.472 MB / 1.33 GB, free: 16.72 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/1.408, allocations: 0.9798 MB / 1.331 GB, free: 16.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/1.409, allocations: 0.5023 MB / 1.331 GB, free: 16.63 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002164/1.409, allocations: 109.8 kB / 1.332 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001188/1.41, allocations: 0.6021 MB / 1.332 GB, free: 16.48 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008864/1.411, allocations: 92.83 kB / 1.332 GB, free: 16.44 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.925e-06/1.411, allocations: 0 / 1.332 GB, free: 16.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.003837/1.415, allocations: 1.513 MB / 1.334 GB, free: 16.18 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/1.415, allocations: 60.34 kB / 1.334 GB, free: 16.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002422/1.418, allocations: 1.704 MB / 1.335 GB, free: 15.93 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001582/1.418, allocations: 42.89 kB / 1.335 GB, free: 15.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007054/1.418, allocations: 0.7764 MB / 1.336 GB, free: 15.65 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/1.419, allocations: 242.9 kB / 1.336 GB, free: 15.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/1.419, allocations: 143 kB / 1.337 GB, free: 15.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001751/1.419, allocations: 358.7 kB / 1.337 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/1.42, allocations: 0.7684 MB / 1.338 GB, free: 15.17 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/1.422, allocations: 1.061 MB / 1.339 GB, free: 14.88 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/1.424, allocations: 1.731 MB / 1.34 GB, free: 14.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/1.424, allocations: 3.531 kB / 1.34 GB, free: 14.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004006/1.428, allocations: 2.18 MB / 1.343 GB, free: 13.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002011/1.429, allocations: 279.6 kB / 1.343 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.429, allocations: 10.2 kB / 1.343 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004649/1.429, allocations: 156.7 kB / 1.343 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/1.43, allocations: 277 kB / 1.343 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009435/1.431, allocations: 1.241 MB / 1.344 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/1.433, allocations: 120.3 kB / 1.345 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/1.433, allocations: 68.89 kB / 1.345 GB, free: 12.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/1.433, allocations: 11.39 kB / 1.345 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003229/1.436, allocations: 1.787 MB / 1.346 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/1.436, allocations: 6.188 kB / 1.346 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006521/1.437, allocations: 182.3 kB / 1.347 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009914/1.438, allocations: 251.2 kB / 1.347 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00493/1.443, allocations: 3.131 MB / 1.35 GB, free: 8.688 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/1.445, allocations: 112.4 kB / 1.35 GB, free: 8.637 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/1.445, allocations: 59.83 kB / 1.35 GB, free: 8.621 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.001471/1.447, allocations: 0.562 MB / 1.351 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005273/1.447, allocations: 165.6 kB / 1.351 GB, free: 8.121 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/1.45, allocations: 1.144 MB / 1.352 GB, free: 7.504 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/1.45, allocations: 9.188 kB / 1.352 GB, free: 7.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.45, allocations: 3 kB / 1.352 GB, free: 7.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00214/1.453, allocations: 1.01 MB / 1.353 GB, free: 6.926 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.006229/1.459, allocations: 2.642 MB / 1.355 GB, free: 5.203 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/1.459, allocations: 2.906 kB / 1.355 GB, free: 5.203 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009404/1.46, allocations: 171.2 kB / 1.356 GB, free: 5.168 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003314/1.46, allocations: 98.75 kB / 1.356 GB, free: 5.117 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.898e-05/1.46, allocations: 19.98 kB / 1.356 GB, free: 5.105 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008234/1.461, allocations: 1.222 MB / 1.357 GB, free: 3.922 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.461, allocations: 2.625 kB / 1.357 GB, free: 3.922 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003821/1.465, allocations: 1.701 MB / 1.359 GB, free: 2.992 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/1.466, allocations: 327.9 kB / 1.359 GB, free: 2.719 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006435/1.467, allocations: 25.81 kB / 1.359 GB, free: 2.699 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/1.469, allocations: 104.5 kB / 1.359 GB, free: 2.648 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/1.469, allocations: 51.86 kB / 1.359 GB, free: 2.617 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.433e-05/1.469, allocations: 30.86 kB / 1.359 GB, free: 2.609 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002436/1.471, allocations: 1.148 MB / 1.36 GB, free: 1.992 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.71e-07/1.471, allocations: 0 / 1.36 GB, free: 1.992 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00432/1.476, allocations: 0.9727 MB / 1.361 GB, free: 1.801 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.001909/1.478, allocations: 0.5631 MB / 1.362 GB, free: 1.543 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005357/1.483, allocations: 2.582 MB / 1.364 GB, free: 264 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.483, allocations: 1.625 kB / 1.364 GB, free: 264 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/1.484, allocations: 495.9 kB / 1.365 GB, free: 60 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005107/1.489, allocations: 0.8204 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.007544/1.497, allocations: 3.895 MB / 1.369 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/1.498, allocations: 1.459 MB / 1.371 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002578/1.501, allocations: 466.3 kB / 1.371 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005617/1.502, allocations: 135.3 kB / 1.371 GB, free: 11.73 MB / 1.029 GB Notification: Performance of SimCode: time 1.332e-06/1.502, allocations: 0 / 1.371 GB, free: 11.73 MB / 1.029 GB Notification: Performance of Templates: time 0.06971/1.571, allocations: 36.21 MB / 1.407 GB, free: 10.27 MB / 1.061 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)