Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001025/0.001025, allocations: 91.45 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.009531/0.009531, allocations: 172.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005778/0.0005778, allocations: 17.33 kB / 0.6743 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2309, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6941/0.925, allocations: 178.6 MB / 0.9623 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007903/0.933, allocations: 4.828 MB / 0.967 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.9343, allocations: 26.12 kB / 0.967 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.9355, allocations: 373.6 kB / 0.9674 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.9392, allocations: 1.325 MB / 0.9687 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.9412, allocations: 0.6957 MB / 0.9694 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003518/0.9447, allocations: 2.515 MB / 0.9718 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009335/0.9457, allocations: 0.494 MB / 0.9723 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/0.9476, allocations: 0.7585 MB / 0.973 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.9489, allocations: 0.542 MB / 0.9736 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.275e-05/0.949, allocations: 24.69 kB / 0.9736 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/0.9523, allocations: 1.609 MB / 0.9752 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003029/0.9526, allocations: 223.7 kB / 0.9754 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005258/0.9531, allocations: 382.5 kB / 0.9758 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002713/0.9559, allocations: 1.453 MB / 0.9772 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.9559, allocations: 1.531 kB / 0.9772 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9559, allocations: 0 / 0.9772 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.9559, allocations: 0 / 0.9772 GB, free: 13.37 MB / 0.7325 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.001799/0.9577, allocations: 0.9598 MB / 0.9781 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.9578, allocations: 9.906 kB / 0.9781 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.9592, allocations: 213 kB / 0.9783 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000942/0.9601, allocations: 0.5748 MB / 0.9789 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.9602, allocations: 37.41 kB / 0.9789 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.044e-05/0.9602, allocations: 47.28 kB / 0.979 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008689/0.9611, allocations: 0.4941 MB / 0.9794 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.9612, allocations: 3.375 kB / 0.9794 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.9612, allocations: 17.84 kB / 0.9795 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/0.9612, allocations: 15.88 kB / 0.9795 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007832/0.962, allocations: 450.3 kB / 0.9799 GB, free: 11.95 MB / 0.7325 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.00257/0.9646, allocations: 2.007 MB / 0.9819 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.9651, allocations: 353.6 kB / 0.9822 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003355/0.9655, allocations: 212.1 kB / 0.9824 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003071/0.9658, allocations: 197 kB / 0.9826 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.9658, allocations: 42.03 kB / 0.9826 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.9659, allocations: 0 / 0.9826 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001235/0.9671, allocations: 0.5527 MB / 0.9832 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.9672, allocations: 61.66 kB / 0.9832 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000571/0.9677, allocations: 0.4993 MB / 0.9837 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.9678, allocations: 36.48 kB / 0.9838 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.968, allocations: 307.3 kB / 0.9841 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.9681, allocations: 114.2 kB / 0.9842 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.016e-05/0.9682, allocations: 35.61 kB / 0.9842 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.9684, allocations: 367.8 kB / 0.9845 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.9687, allocations: 139.6 kB / 0.9847 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.969, allocations: 229.8 kB / 0.9849 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005678/0.9696, allocations: 349.1 kB / 0.9852 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.9696, allocations: 0 / 0.9852 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000726/0.9703, allocations: 439.5 kB / 0.9857 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.802e-05/0.9704, allocations: 116.7 kB / 0.9858 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.9704, allocations: 0 / 0.9858 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.9704, allocations: 3.25 kB / 0.9858 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.9708, allocations: 76.91 kB / 0.9858 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.9708, allocations: 3.281 kB / 0.9858 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005648/0.9714, allocations: 63.2 kB / 0.9859 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.9714, allocations: 11.91 kB / 0.9859 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.67e-06/0.9714, allocations: 5.844 kB / 0.9859 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005935/0.972, allocations: 355.1 kB / 0.9863 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.972, allocations: 3.984 kB / 0.9863 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-06/0.972, allocations: 2.5 kB / 0.9863 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.9724, allocations: 77.58 kB / 0.9863 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.9724, allocations: 4.703 kB / 0.9863 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.9729, allocations: 56.5 kB / 0.9864 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.9729, allocations: 19.75 kB / 0.9864 GB, free: 8.039 MB / 0.7325 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.0003146/0.9732, allocations: 289.1 kB / 0.9867 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.001e-05/0.9733, allocations: 57.5 kB / 0.9867 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008127/0.9741, allocations: 427.7 kB / 0.9872 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.9742, allocations: 2.844 kB / 0.9872 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.9742, allocations: 0 / 0.9872 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006328/0.9748, allocations: 458.5 kB / 0.9876 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.9766, allocations: 1.185 MB / 0.9888 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.9767, allocations: 4 kB / 0.9888 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.9771, allocations: 95.08 kB / 0.9888 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.9771, allocations: 2.969 kB / 0.9888 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.9771, allocations: 7.281 kB / 0.9889 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.9771, allocations: 7.328 kB / 0.9889 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.9771, allocations: 4.641 kB / 0.9889 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.9782, allocations: 0.7493 MB / 0.9896 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/0.9784, allocations: 182.8 kB / 0.9898 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/0.9785, allocations: 9.125 kB / 0.9898 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.979, allocations: 52.45 kB / 0.9898 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.017e-05/0.9791, allocations: 29.69 kB / 0.9899 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.9791, allocations: 11.97 kB / 0.9899 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004155/0.9795, allocations: 364.5 kB / 0.9902 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9795, allocations: 0 / 0.9902 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009138/0.9804, allocations: 320.9 kB / 0.9905 GB, free: 5.328 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * 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.0004365/0.9809, allocations: 196 kB / 0.9907 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009311/0.9818, allocations: 0.5297 MB / 0.9912 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.9818, allocations: 0 / 0.9912 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.9821, allocations: 187.8 kB / 0.9914 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.9841, allocations: 368.6 kB / 0.9918 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.9862, allocations: 1.541 MB / 0.9933 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.9867, allocations: 0.9256 MB / 0.9942 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006504/0.9874, allocations: 188.2 kB / 0.9943 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.9875, allocations: 51.16 kB / 0.9944 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.9875, allocations: 0 / 0.9944 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of Templates: time 0.01884/1.006, allocations: 11.32 MB / 1.005 GB, free: 13.12 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Delays.Examples.Delay.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_8_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) Environment - environmentSimulation: