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.001632/0.001632, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.427/1.427, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 64.72 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3387, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.8485/1.187, allocations: 206.1 MB / 1.269 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02413/1.211, allocations: 15.38 MB / 1.284 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003401/1.215, allocations: 60.41 kB / 1.284 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01294/1.228, allocations: 5.652 MB / 1.29 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008871/1.237, allocations: 2.583 MB / 1.293 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005213/1.242, allocations: 1.6 MB / 1.294 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01544/1.257, allocations: 9.031 MB / 1.303 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002974/1.26, allocations: 1.392 MB / 1.304 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005056/1.265, allocations: 2.009 MB / 1.306 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002967/1.268, allocations: 1.2 MB / 1.307 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008373/1.269, allocations: 173.5 kB / 1.308 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006989/1.276, allocations: 2.711 MB / 1.31 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001411/1.278, allocations: 0.7292 MB / 1.311 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002831/1.281, allocations: 1.065 MB / 1.312 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009386/1.29, allocations: 3.843 MB / 1.316 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.29, allocations: 0 / 1.316 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/1.29, allocations: 1.094 kB / 1.316 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001087/1.29, allocations: 0 / 1.316 GB, free: 4.309 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.007822/1.298, allocations: 2.545 MB / 1.318 GB, free: 18.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/1.298, allocations: 8.062 kB / 1.318 GB, free: 18.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004821/1.303, allocations: 0.6126 MB / 1.319 GB, free: 18.85 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005733/1.309, allocations: 2.124 MB / 1.321 GB, free: 18.38 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/1.309, allocations: 79.78 kB / 1.321 GB, free: 18.37 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003708/1.309, allocations: 110.1 kB / 1.321 GB, free: 18.37 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003127/1.312, allocations: 1.299 MB / 1.322 GB, free: 18.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/1.312, allocations: 0.9375 kB / 1.322 GB, free: 18.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/1.313, allocations: 38.91 kB / 1.322 GB, free: 18.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.434e-05/1.313, allocations: 38.67 kB / 1.322 GB, free: 18.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/1.315, allocations: 1.028 MB / 1.323 GB, free: 18.22 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.01105/1.326, allocations: 5.561 MB / 1.329 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/1.329, allocations: 0.942 MB / 1.33 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/1.33, allocations: 0.4896 MB / 1.33 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002311/1.33, allocations: 105.9 kB / 1.33 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00121/1.331, allocations: 0.5815 MB / 1.331 GB, free: 15.55 MB / 1.014 GB Notification: Performance of pre-optimization done (n=68): time 3.557e-06/1.331, allocations: 4 kB / 1.331 GB, free: 15.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.004184/1.336, allocations: 1.477 MB / 1.332 GB, free: 15.29 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/1.336, allocations: 63.05 kB / 1.332 GB, free: 15.22 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00295/1.339, allocations: 1.703 MB / 1.334 GB, free: 14.74 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001535/1.339, allocations: 42.05 kB / 1.334 GB, free: 14.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007396/1.34, allocations: 0.7753 MB / 1.335 GB, free: 14.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/1.34, allocations: 247.5 kB / 1.335 GB, free: 13.91 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004784/1.34, allocations: 290 kB / 1.335 GB, free: 13.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.341, allocations: 356.4 kB / 1.336 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/1.342, allocations: 0.7654 MB / 1.336 GB, free: 13.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/1.344, allocations: 1.042 MB / 1.337 GB, free: 12.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002927/1.346, allocations: 1.706 MB / 1.339 GB, free: 11.76 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/1.347, allocations: 3.438 kB / 1.339 GB, free: 11.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004105/1.351, allocations: 2.142 MB / 1.341 GB, free: 10.92 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/1.351, allocations: 34.39 kB / 1.341 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/1.351, allocations: 6.094 kB / 1.341 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005173/1.351, allocations: 150.4 kB / 1.341 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/1.352, allocations: 266.8 kB / 1.342 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/1.354, allocations: 1.243 MB / 1.343 GB, free: 9.664 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/1.355, allocations: 144.1 kB / 1.343 GB, free: 9.582 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/1.355, allocations: 65.72 kB / 1.343 GB, free: 9.57 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001993/1.357, allocations: 1.07 MB / 1.344 GB, free: 9.086 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001336/1.359, allocations: 0.9477 MB / 1.345 GB, free: 8.527 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002265/1.361, allocations: 1.503 MB / 1.347 GB, free: 7.766 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.889e-06/1.361, allocations: 3.188 kB / 1.347 GB, free: 7.766 MB / 1.014 GB Notification: Performance of matching and sorting (n=168) (initialization_lambda0): time 0.003629/1.365, allocations: 1.944 MB / 1.348 GB, free: 7.004 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/1.365, allocations: 35.14 kB / 1.348 GB, free: 6.973 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.365, allocations: 9.047 kB / 1.348 GB, free: 6.969 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/1.365, allocations: 181.3 kB / 1.349 GB, free: 6.922 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000996/1.366, allocations: 246.9 kB / 1.349 GB, free: 6.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005126/1.372, allocations: 3.395 MB / 1.352 GB, free: 4.484 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/1.373, allocations: 122.2 kB / 1.352 GB, free: 4.426 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/1.374, allocations: 55.53 kB / 1.352 GB, free: 4.418 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 (129): * Single equations (assignments): 124 * 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.0004009/1.374, allocations: 241.5 kB / 1.353 GB, free: 4.203 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/1.374, allocations: 170.7 kB / 1.353 GB, free: 4.109 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/1.377, allocations: 1.122 MB / 1.354 GB, free: 3.664 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/1.377, allocations: 6.719 kB / 1.354 GB, free: 3.664 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/1.377, allocations: 0 / 1.354 GB, free: 3.664 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002/1.379, allocations: 0.981 MB / 1.355 GB, free: 3.215 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00494/1.384, allocations: 2.534 MB / 1.357 GB, free: 1.582 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/1.384, allocations: 5.438 kB / 1.357 GB, free: 1.578 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009746/1.385, allocations: 164.5 kB / 1.357 GB, free: 1.543 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002975/1.385, allocations: 95.78 kB / 1.358 GB, free: 1.496 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.904e-05/1.385, allocations: 28.05 kB / 1.358 GB, free: 1.477 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007917/1.386, allocations: 1.215 MB / 1.359 GB, free: 304 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.386, allocations: 2.781 kB / 1.359 GB, free: 304 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00348/1.39, allocations: 1.663 MB / 1.36 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008892/1.391, allocations: 331.7 kB / 1.361 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/1.391, allocations: 25.33 kB / 1.361 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009148/1.392, allocations: 44.89 kB / 1.361 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/1.392, allocations: 52.66 kB / 1.361 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-05/1.392, allocations: 33.11 kB / 1.361 GB, free: 15.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001725/1.394, allocations: 1.145 MB / 1.362 GB, free: 14.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.4e-07/1.394, allocations: 0 / 1.362 GB, free: 14.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002868/1.397, allocations: 0.9631 MB / 1.363 GB, free: 14.21 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (65): * Single equations (assignments): 61 * 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.001411/1.398, allocations: 0.5674 MB / 1.363 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005392/1.403, allocations: 2.638 MB / 1.366 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.403, allocations: 0 / 1.366 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/1.405, allocations: 482.2 kB / 1.367 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004027/1.409, allocations: 0.8747 MB / 1.367 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006135/1.415, allocations: 3.218 MB / 1.371 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/1.416, allocations: 1.454 MB / 1.372 GB, free: 8.949 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00265/1.419, allocations: 461.8 kB / 1.372 GB, free: 8.492 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000482/1.419, allocations: 131.4 kB / 1.372 GB, free: 8.363 MB / 1.029 GB Notification: Performance of SimCode: time 2.335e-06/1.419, allocations: 7.938 kB / 1.373 GB, free: 8.355 MB / 1.029 GB Notification: Performance of Templates: time 0.06948/1.489, allocations: 37.87 MB / 1.409 GB, free: 3.043 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)