Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 108 kB / 15.61 MB, free: 152 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.001698/0.001698, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.942/2.942, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 60.84 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3715, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2165/0.5881, allocations: 183.3 MB / 1.247 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6572/1.245, allocations: 4.853 MB / 1.252 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/1.247, allocations: 28.75 kB / 1.252 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/1.248, allocations: 440.3 kB / 1.252 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0044/1.253, allocations: 1.411 MB / 1.254 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00285/1.256, allocations: 0.7729 MB / 1.254 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00362/1.259, allocations: 1.844 MB / 1.256 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/1.26, allocations: 0.5924 MB / 1.257 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002786/1.263, allocations: 0.8676 MB / 1.258 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/1.265, allocations: 0.5452 MB / 1.258 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000191/1.265, allocations: 58.78 kB / 1.258 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003705/1.269, allocations: 1.409 MB / 1.26 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005504/1.269, allocations: 264.7 kB / 1.26 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007848/1.27, allocations: 403.6 kB / 1.26 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00331/1.273, allocations: 1.401 MB / 1.262 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.274, allocations: 3.5 kB / 1.262 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.964e-06/1.274, allocations: 0.75 kB / 1.262 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.466e-05/1.274, allocations: 0 / 1.262 GB, free: 5.594 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002368/1.276, allocations: 1.106 MB / 1.263 GB, free: 20.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/1.276, allocations: 8.578 kB / 1.263 GB, free: 20.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/1.277, allocations: 207.3 kB / 1.263 GB, free: 20.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/1.279, allocations: 0.5827 MB / 1.264 GB, free: 20.6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-05/1.279, allocations: 33.59 kB / 1.264 GB, free: 20.6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/1.279, allocations: 49.44 kB / 1.264 GB, free: 20.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/1.28, allocations: 0.4921 MB / 1.264 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/1.28, allocations: 0 / 1.264 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/1.28, allocations: 17.17 kB / 1.264 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.169e-05/1.28, allocations: 21.72 kB / 1.264 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/1.281, allocations: 439.2 kB / 1.265 GB, free: 20.57 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.003391/1.285, allocations: 2.025 MB / 1.266 GB, free: 19.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007437/1.285, allocations: 344.8 kB / 1.267 GB, free: 19.56 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/1.286, allocations: 216.4 kB / 1.267 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003924/1.286, allocations: 195.4 kB / 1.267 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/1.286, allocations: 39.08 kB / 1.267 GB, free: 19.32 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 5.03e-06/1.286, allocations: 3.047 kB / 1.267 GB, free: 19.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001472/1.288, allocations: 0.5415 MB / 1.268 GB, free: 19.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/1.288, allocations: 60.56 kB / 1.268 GB, free: 19.19 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/1.289, allocations: 0.5083 MB / 1.268 GB, free: 19.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/1.289, allocations: 36.98 kB / 1.268 GB, free: 19.04 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/1.289, allocations: 302.6 kB / 1.269 GB, free: 18.9 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/1.289, allocations: 115.5 kB / 1.269 GB, free: 18.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/1.289, allocations: 71.42 kB / 1.269 GB, free: 18.81 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.289, allocations: 363.2 kB / 1.269 GB, free: 18.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/1.289, allocations: 144.8 kB / 1.269 GB, free: 18.49 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/1.29, allocations: 221.4 kB / 1.27 GB, free: 18.42 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005856/1.29, allocations: 339.3 kB / 1.27 GB, free: 18.39 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.29, allocations: 0 / 1.27 GB, free: 18.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008737/1.291, allocations: 432.3 kB / 1.27 GB, free: 18.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/1.291, allocations: 12.34 kB / 1.27 GB, free: 18.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.291, allocations: 0.6562 kB / 1.27 GB, free: 18.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/1.291, allocations: 2.125 kB / 1.27 GB, free: 18.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/1.292, allocations: 70.52 kB / 1.27 GB, free: 18.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/1.292, allocations: 4.188 kB / 1.27 GB, free: 18.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006085/1.292, allocations: 42.02 kB / 1.27 GB, free: 18.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/1.293, allocations: 15.8 kB / 1.27 GB, free: 18.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000643/1.293, allocations: 308.2 kB / 1.271 GB, free: 18.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003977/1.294, allocations: 209.6 kB / 1.271 GB, free: 18.15 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006406/1.294, allocations: 331.9 kB / 1.271 GB, free: 18.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/1.294, allocations: 1.344 kB / 1.271 GB, free: 18.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008533/1.295, allocations: 428.7 kB / 1.272 GB, free: 18.05 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.295, allocations: 6.188 kB / 1.272 GB, free: 18.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/1.295, allocations: 1.625 kB / 1.272 GB, free: 18.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/1.295, allocations: 8.031 kB / 1.272 GB, free: 18.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/1.296, allocations: 69.23 kB / 1.272 GB, free: 18.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/1.296, allocations: 4.875 kB / 1.272 GB, free: 18.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/1.296, allocations: 34.66 kB / 1.272 GB, free: 18.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/1.296, allocations: 9.812 kB / 1.272 GB, free: 18.04 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002091/1.296, allocations: 198.2 kB / 1.272 GB, free: 17.86 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/1.296, allocations: 60.75 kB / 1.272 GB, free: 17.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009001/1.297, allocations: 421.9 kB / 1.272 GB, free: 17.78 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/1.297, allocations: 4.141 kB / 1.272 GB, free: 17.78 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.297, allocations: 0.7812 kB / 1.272 GB, free: 17.78 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006671/1.298, allocations: 439.1 kB / 1.273 GB, free: 17.61 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/1.3, allocations: 1.182 MB / 1.274 GB, free: 17.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.3, allocations: 4.281 kB / 1.274 GB, free: 17.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/1.301, allocations: 80.72 kB / 1.274 GB, free: 17.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/1.301, allocations: 3.656 kB / 1.274 GB, free: 17.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/1.301, allocations: 11.92 kB / 1.274 GB, free: 17.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/1.301, allocations: 7.859 kB / 1.274 GB, free: 17.25 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.301, allocations: 6.094 kB / 1.274 GB, free: 17.24 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/1.302, allocations: 0.6993 MB / 1.275 GB, free: 17.03 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002979/1.302, allocations: 181.4 kB / 1.275 GB, free: 16.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.493e-05/1.302, allocations: 8.547 kB / 1.275 GB, free: 16.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/1.303, allocations: 28.56 kB / 1.275 GB, free: 16.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.72e-05/1.303, allocations: 28.94 kB / 1.275 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/1.303, allocations: 16.5 kB / 1.275 GB, free: 16.89 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006248/1.304, allocations: 363.1 kB / 1.275 GB, free: 16.81 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.304, allocations: 0.8438 kB / 1.275 GB, free: 16.81 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001222/1.305, allocations: 322.2 kB / 1.276 GB, free: 16.77 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004954/1.305, allocations: 195.2 kB / 1.276 GB, free: 16.67 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001174/1.307, allocations: 0.5472 MB / 1.276 GB, free: 16.66 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.307, allocations: 2.094 kB / 1.276 GB, free: 16.66 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000362/1.307, allocations: 184 kB / 1.277 GB, free: 16.66 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/1.309, allocations: 347.2 kB / 1.277 GB, free: 16.62 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/1.311, allocations: 1.271 MB / 1.278 GB, free: 16.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006721/1.312, allocations: 0.9314 MB / 1.279 GB, free: 15.39 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009281/1.313, allocations: 188.2 kB / 1.279 GB, free: 15.37 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/1.313, allocations: 46.95 kB / 1.279 GB, free: 15.37 MB / 1.014 GB Notification: Performance of SimCode: time 8.52e-07/1.313, allocations: 0.8438 kB / 1.279 GB, free: 15.37 MB / 1.014 GB Notification: Performance of Templates: time 0.02232/1.335, allocations: 11.68 MB / 1.291 GB, free: 14.75 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)