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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_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.001339/0.001339, allocations: 102.8 kB / 15.06 MB, free: 1.098 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.001533/0.001533, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5762/0.5762, allocations: 95.57 MB / 366 MB, free: 10.41 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005394/0.0005395, allocations: 20 kB / 446.8 MB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2766, allocations: 70.34 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.4269/0.7036, allocations: 157.6 MB / 0.6589 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007065/0.7107, allocations: 5.2 MB / 0.664 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.7118, allocations: 28.59 kB / 0.664 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.7131, allocations: 433.1 kB / 0.6644 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004098/0.7172, allocations: 1.361 MB / 0.6658 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003436/0.7206, allocations: 1.136 MB / 0.6669 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002258/0.7229, allocations: 1.195 MB / 0.668 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000779/0.7237, allocations: 0.5221 MB / 0.6685 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.7248, allocations: 0.6412 MB / 0.6692 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005229/0.7254, allocations: 439.5 kB / 0.6696 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.364e-05/0.7255, allocations: 32.28 kB / 0.6696 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.728, allocations: 1.046 MB / 0.6706 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.7283, allocations: 270.6 kB / 0.6709 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002962/0.7286, allocations: 202 kB / 0.6711 GB, free: 17.1 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.7302, allocations: 1.327 MB / 0.6724 GB, free: 16.99 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.7303, allocations: 1.75 kB / 0.6724 GB, free: 16.99 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7303, allocations: 0 / 0.6724 GB, free: 16.99 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.7303, allocations: 0 / 0.6724 GB, free: 16.99 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002219/0.7325, allocations: 1.146 MB / 0.6735 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.7326, allocations: 15.05 kB / 0.6735 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003791/0.7329, allocations: 101.6 kB / 0.6736 GB, free: 16.22 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.734, allocations: 0.6554 MB / 0.6743 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.7341, allocations: 45.53 kB / 0.6743 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.36e-05/0.7342, allocations: 57.06 kB / 0.6744 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002977/0.7372, allocations: 0.6976 MB / 0.675 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.7372, allocations: 0 / 0.675 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/0.7374, allocations: 26.66 kB / 0.6751 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.7375, allocations: 13.81 kB / 0.6751 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.7398, allocations: 0.7607 MB / 0.6758 GB, free: 15.89 MB / 0.4981 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.006352/0.7461, allocations: 2.841 MB / 0.6786 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.7476, allocations: 470.9 kB / 0.679 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.7487, allocations: 0.8796 MB / 0.6799 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.7488, allocations: 43.75 kB / 0.6799 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=48): time 3.787e-06/0.7488, allocations: 0 / 0.6799 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54): time 0.008145/0.757, allocations: 2.09 MB / 0.682 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.7571, allocations: 59.84 kB / 0.682 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.7583, allocations: 0.6851 MB / 0.6827 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.7584, allocations: 35.89 kB / 0.6827 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.7588, allocations: 352.8 kB / 0.6831 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.759, allocations: 188 kB / 0.6833 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.7591, allocations: 11.09 kB / 0.6833 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002065/0.7593, allocations: 386.9 kB / 0.6836 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006669/0.76, allocations: 241.9 kB / 0.6839 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007474/0.7607, allocations: 331.5 kB / 0.6842 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007589/0.7615, allocations: 293.3 kB / 0.6845 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.7615, allocations: 0 / 0.6845 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001857/0.7634, allocations: 0.7355 MB / 0.6852 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004387/0.7638, allocations: 0.7876 MB / 0.686 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.7639, allocations: 3.281 kB / 0.686 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.7639, allocations: 12.81 kB / 0.686 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.765, allocations: 145.5 kB / 0.6861 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/0.765, allocations: 11.78 kB / 0.6861 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009647/0.766, allocations: 66.08 kB / 0.6862 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.123e-05/0.7661, allocations: 25.86 kB / 0.6862 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.7661, allocations: 2.781 kB / 0.6862 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001637/0.7678, allocations: 0.6313 MB / 0.6868 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.7678, allocations: 2.812 kB / 0.6868 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.7678, allocations: 6.281 kB / 0.6868 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.7689, allocations: 149.8 kB / 0.687 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.7689, allocations: 4.688 kB / 0.687 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000848/0.7698, allocations: 60.02 kB / 0.687 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.653e-05/0.7699, allocations: 24.33 kB / 0.6871 GB, free: 10.32 MB / 0.4981 GB Warning: Assuming fixed start value for the following 3 variables: del.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = del.dynBal.T_start unit = "K" fixed = true nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real del.dynBal.medium.Xi[1]:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 1.0))))))))))) start = del.dynBal.X_start[1] unit = "1" fixed = true nominal = 0.1 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] del.dynBal.medium.p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) max = min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0)))))) start = del.dynBal.p_start unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008748/0.7707, allocations: 423.2 kB / 0.6875 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/0.771, allocations: 81.75 kB / 0.6875 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.773, allocations: 0.7178 MB / 0.6882 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.773, allocations: 5.969 kB / 0.6883 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.773, allocations: 0 / 0.6883 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.7731, allocations: 7.266 kB / 0.6883 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003375/0.7765, allocations: 1.591 MB / 0.6898 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.7765, allocations: 2.781 kB / 0.6898 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009005/0.7774, allocations: 137.6 kB / 0.6899 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.7774, allocations: 1.719 kB / 0.6899 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/0.7775, allocations: 12.47 kB / 0.69 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.7775, allocations: 5.719 kB / 0.69 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.7775, allocations: 0 / 0.69 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.7798, allocations: 1.114 MB / 0.6911 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006765/0.7805, allocations: 241.1 kB / 0.6913 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.7807, allocations: 18.69 kB / 0.6913 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00089/0.7816, allocations: 53.7 kB / 0.6914 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.7817, allocations: 43.41 kB / 0.6914 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.7818, allocations: 29.3 kB / 0.6914 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008183/0.7827, allocations: 0.4922 MB / 0.6919 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.4e-07/0.7827, allocations: 0 / 0.6919 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002072/0.7848, allocations: 0.5406 MB / 0.6924 GB, free: 8.328 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (del.dynBal.medium.p,del.dynBal.medium.Xi[1],del.dynBal.medium.T) * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00158/0.7864, allocations: 490 kB / 0.6929 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00229/0.7887, allocations: 0.928 MB / 0.6938 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.7887, allocations: 0.875 kB / 0.6938 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000696/0.7894, allocations: 312.7 kB / 0.6941 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/0.7924, allocations: 454.8 kB / 0.6945 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004583/0.797, allocations: 1.972 MB / 0.6965 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009021/0.7979, allocations: 1.004 MB / 0.6974 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001874/0.7998, allocations: 251.6 kB / 0.6977 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003749/0.8002, allocations: 77.03 kB / 0.6978 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of SimCode: time 1.824e-06/0.8002, allocations: 0 / 0.6978 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of Templates: time 0.03487/0.8351, allocations: 19.9 MB / 0.7172 GB, free: 3.543 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: