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.001222/0.001222, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001761/0.001761, allocations: 188.1 kB / 16.25 MB, free: 6.59 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.439/1.439, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 472.6 MB / 0.7448 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 70.17 kB / 0.9115 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3516, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2085/0.5602, allocations: 180.9 MB / 1.244 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009856/0.5701, allocations: 4.848 MB / 1.249 GB, free: 452 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.5715, allocations: 27.81 kB / 1.249 GB, free: 424 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.5732, allocations: 382 kB / 1.249 GB, free: 40 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.7008/1.274, allocations: 1.319 MB / 1.251 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002279/1.276, allocations: 0.7055 MB / 1.251 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003318/1.28, allocations: 1.852 MB / 1.253 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009858/1.281, allocations: 0.5759 MB / 1.254 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/1.283, allocations: 0.8654 MB / 1.255 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/1.284, allocations: 0.5799 MB / 1.255 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/1.284, allocations: 58.75 kB / 1.255 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/1.287, allocations: 1.47 MB / 1.257 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002764/1.287, allocations: 264.1 kB / 1.257 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004379/1.288, allocations: 404.5 kB / 1.257 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002033/1.29, allocations: 1.489 MB / 1.259 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/1.29, allocations: 0 / 1.259 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.683e-06/1.29, allocations: 0.8438 kB / 1.259 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.136e-05/1.29, allocations: 0 / 1.259 GB, free: 5.633 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.00187/1.291, allocations: 1.106 MB / 1.26 GB, free: 20.97 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/1.292, allocations: 11.25 kB / 1.26 GB, free: 20.97 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/1.293, allocations: 207.6 kB / 1.26 GB, free: 20.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009214/1.294, allocations: 0.5786 MB / 1.261 GB, free: 20.64 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/1.294, allocations: 33.94 kB / 1.261 GB, free: 20.64 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.8e-05/1.294, allocations: 56.16 kB / 1.261 GB, free: 20.64 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009419/1.295, allocations: 497.3 kB / 1.261 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/1.295, allocations: 3.844 kB / 1.261 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/1.295, allocations: 17.88 kB / 1.261 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/1.295, allocations: 21.39 kB / 1.261 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007842/1.296, allocations: 437.9 kB / 1.262 GB, free: 20.61 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.002838/1.299, allocations: 2.001 MB / 1.264 GB, free: 19.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005826/1.299, allocations: 349.2 kB / 1.264 GB, free: 19.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/1.3, allocations: 210.4 kB / 1.264 GB, free: 19.59 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003517/1.3, allocations: 193 kB / 1.264 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/1.3, allocations: 38.03 kB / 1.264 GB, free: 19.37 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.535e-06/1.3, allocations: 0.9375 kB / 1.264 GB, free: 19.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001253/1.301, allocations: 0.5455 MB / 1.265 GB, free: 19.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/1.301, allocations: 65.75 kB / 1.265 GB, free: 19.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005682/1.302, allocations: 0.5063 MB / 1.265 GB, free: 19.11 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/1.302, allocations: 35.67 kB / 1.265 GB, free: 19.08 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/1.302, allocations: 303.8 kB / 1.266 GB, free: 18.94 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.158e-05/1.302, allocations: 115.2 kB / 1.266 GB, free: 18.87 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/1.302, allocations: 67.75 kB / 1.266 GB, free: 18.85 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.302, allocations: 365.5 kB / 1.266 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/1.303, allocations: 146.9 kB / 1.266 GB, free: 18.53 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/1.303, allocations: 216 kB / 1.267 GB, free: 18.46 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005488/1.304, allocations: 339.5 kB / 1.267 GB, free: 18.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.304, allocations: 3.203 kB / 1.267 GB, free: 18.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007024/1.304, allocations: 436.4 kB / 1.267 GB, free: 18.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.304, allocations: 7.562 kB / 1.267 GB, free: 18.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.304, allocations: 4.453 kB / 1.267 GB, free: 18.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/1.304, allocations: 5.5 kB / 1.267 GB, free: 18.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/1.305, allocations: 65.28 kB / 1.267 GB, free: 18.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.305, allocations: 2.375 kB / 1.267 GB, free: 18.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000549/1.305, allocations: 66 kB / 1.268 GB, free: 18.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/1.305, allocations: 15.72 kB / 1.268 GB, free: 18.34 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004297/1.306, allocations: 305 kB / 1.268 GB, free: 18.26 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002836/1.306, allocations: 210.9 kB / 1.268 GB, free: 18.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005358/1.307, allocations: 333.4 kB / 1.268 GB, free: 18.16 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-06/1.307, allocations: 0.5625 kB / 1.268 GB, free: 18.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008138/1.307, allocations: 428 kB / 1.269 GB, free: 18.09 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/1.307, allocations: 6.094 kB / 1.269 GB, free: 18.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/1.307, allocations: 3.062 kB / 1.269 GB, free: 18.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.351e-06/1.307, allocations: 7.844 kB / 1.269 GB, free: 18.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/1.308, allocations: 70.2 kB / 1.269 GB, free: 18.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/1.308, allocations: 4.203 kB / 1.269 GB, free: 18.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/1.308, allocations: 58.34 kB / 1.269 GB, free: 18.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/1.308, allocations: 14.5 kB / 1.269 GB, free: 18.08 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.0002436/1.309, allocations: 201.1 kB / 1.269 GB, free: 17.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.886e-05/1.309, allocations: 62.45 kB / 1.269 GB, free: 17.87 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007785/1.31, allocations: 420.8 kB / 1.27 GB, free: 17.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/1.31, allocations: 5.938 kB / 1.27 GB, free: 17.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.31, allocations: 0 / 1.27 GB, free: 17.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006346/1.31, allocations: 440.4 kB / 1.27 GB, free: 17.65 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/1.312, allocations: 1.175 MB / 1.271 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.312, allocations: 2.656 kB / 1.271 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/1.313, allocations: 84.88 kB / 1.271 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/1.313, allocations: 6.438 kB / 1.271 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/1.313, allocations: 11.97 kB / 1.271 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/1.313, allocations: 6.75 kB / 1.271 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.313, allocations: 3.516 kB / 1.271 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/1.314, allocations: 0.6972 MB / 1.272 GB, free: 17.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002671/1.314, allocations: 179.5 kB / 1.272 GB, free: 16.95 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-05/1.314, allocations: 11.64 kB / 1.272 GB, free: 16.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005434/1.315, allocations: 45.39 kB / 1.272 GB, free: 16.95 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/1.315, allocations: 30.45 kB / 1.272 GB, free: 16.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.693e-05/1.315, allocations: 16.31 kB / 1.272 GB, free: 16.94 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005372/1.315, allocations: 361.5 kB / 1.273 GB, free: 16.86 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.202e-06/1.315, allocations: 2.25 kB / 1.273 GB, free: 16.86 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00113/1.317, allocations: 330.7 kB / 1.273 GB, free: 16.81 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.0005786/1.317, allocations: 193.2 kB / 1.273 GB, free: 16.71 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00148/1.319, allocations: 0.5501 MB / 1.274 GB, free: 16.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/1.319, allocations: 0.7188 kB / 1.274 GB, free: 16.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003563/1.319, allocations: 181.4 kB / 1.274 GB, free: 16.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/1.321, allocations: 359.8 kB / 1.274 GB, free: 16.66 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/1.323, allocations: 1.478 MB / 1.276 GB, free: 15.92 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006784/1.324, allocations: 0.9295 MB / 1.276 GB, free: 15.22 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008236/1.325, allocations: 184.2 kB / 1.277 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/1.325, allocations: 55.19 kB / 1.277 GB, free: 15.2 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/1.325, allocations: 0 / 1.277 GB, free: 15.2 MB / 1.014 GB Notification: Performance of Templates: time 0.02602/1.351, allocations: 11.57 MB / 1.288 GB, free: 14.59 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)