Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 169.3 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001724/0.001724, allocations: 228.2 kB / 260.2 MB, free: 12.81 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6881/0.6881, allocations: 138.4 MB / 455.2 MB, free: 1.523 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") translateModel(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/2.967e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.3642/0.3642, allocations: 149.4 MB / 0.7009 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004675/0.3689, allocations: 3.801 MB / 0.7047 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007297/0.3696, allocations: 43.62 kB / 0.7047 GB, free: 3.695 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005405/0.3702, allocations: 214.5 kB / 0.7049 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.3716, allocations: 0.9129 MB / 0.7058 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.3728, allocations: 0.783 MB / 0.7066 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001411/0.3742, allocations: 1.851 MB / 0.7084 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000673/0.3748, allocations: 477.2 kB / 0.7088 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001594/0.3764, allocations: 0.9869 MB / 0.7098 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007225/0.3772, allocations: 0.5024 MB / 0.7103 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.3773, allocations: 56 kB / 0.7103 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.3783, allocations: 0.6156 MB / 0.7109 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.3785, allocations: 283.2 kB / 0.7112 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002809/0.3788, allocations: 275.4 kB / 0.7115 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.3803, allocations: 0.9188 MB / 0.7124 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3803, allocations: 0 / 0.7124 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3803, allocations: 0 / 0.7124 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.3803, allocations: 0 / 0.7124 GB, free: 11.83 MB / 0.5261 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.001342/0.3816, allocations: 1.108 MB / 0.7134 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3817, allocations: 8.75 kB / 0.7135 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007736/0.3824, allocations: 252.2 kB / 0.7137 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/0.3831, allocations: 0.5554 MB / 0.7142 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.483e-05/0.3831, allocations: 37 kB / 0.7143 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/0.3832, allocations: 48 kB / 0.7143 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/0.3837, allocations: 469.4 kB / 0.7148 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.3837, allocations: 4 kB / 0.7148 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.3838, allocations: 19.98 kB / 0.7148 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/0.3838, allocations: 17 kB / 0.7148 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.3841, allocations: 181.8 kB / 0.715 GB, free: 9.043 MB / 0.5261 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.001613/0.3857, allocations: 1.219 MB / 0.7162 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.3861, allocations: 216.5 kB / 0.7164 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.3862, allocations: 98.84 kB / 0.7165 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.3863, allocations: 28.27 kB / 0.7165 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.3863, allocations: 45.61 kB / 0.7165 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 2.825e-06/0.3863, allocations: 0 / 0.7165 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.000592/0.3869, allocations: 322.4 kB / 0.7168 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.387, allocations: 55.41 kB / 0.7169 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.3873, allocations: 482.7 kB / 0.7174 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.3873, allocations: 33.7 kB / 0.7174 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.3875, allocations: 371.1 kB / 0.7177 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.388e-05/0.3876, allocations: 123 kB / 0.7179 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.734e-05/0.3877, allocations: 79.62 kB / 0.7179 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3878, allocations: 0.543 MB / 0.7185 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.379e-05/0.3879, allocations: 52.97 kB / 0.7185 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.3881, allocations: 312 kB / 0.7188 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.3883, allocations: 163.9 kB / 0.719 GB, free: 4.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3883, allocations: 0 / 0.719 GB, free: 4.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003344/0.3887, allocations: 272.5 kB / 0.7192 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3887, allocations: 4 kB / 0.7192 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.3887, allocations: 4 kB / 0.7192 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3887, allocations: 0 / 0.7192 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.3889, allocations: 71.91 kB / 0.7193 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.3889, allocations: 3.984 kB / 0.7193 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.3891, allocations: 27.84 kB / 0.7193 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.3892, allocations: 15.94 kB / 0.7194 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001687/0.3893, allocations: 178.8 kB / 0.7195 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001954/0.3895, allocations: 304.3 kB / 0.7198 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001919/0.3897, allocations: 166.8 kB / 0.72 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.3897, allocations: 3.938 kB / 0.72 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0003048/0.39, allocations: 265 kB / 0.7202 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.536e-05/0.3901, allocations: 4 kB / 0.7202 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-06/0.3901, allocations: 0 / 0.7202 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.17e-06/0.3901, allocations: 4 kB / 0.7202 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.3902, allocations: 72 kB / 0.7203 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3902, allocations: 4 kB / 0.7203 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.3904, allocations: 31.77 kB / 0.7203 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.3905, allocations: 16 kB / 0.7204 GB, free: 3.23 MB / 0.5261 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.0001357/0.3906, allocations: 284 kB / 0.7206 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.318e-05/0.3907, allocations: 67.67 kB / 0.7207 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/0.391, allocations: 260.5 kB / 0.7209 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.391, allocations: 7.984 kB / 0.7209 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.391, allocations: 0 / 0.7209 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000309/0.3914, allocations: 284.6 kB / 0.7212 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009838/0.3923, allocations: 0.8772 MB / 0.7221 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.3923, allocations: 4 kB / 0.7221 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.3926, allocations: 79.89 kB / 0.7222 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.3926, allocations: 4 kB / 0.7222 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.3926, allocations: 11.62 kB / 0.7222 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3926, allocations: 4 kB / 0.7222 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.3926, allocations: 11.88 kB / 0.7222 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/0.3931, allocations: 0.4976 MB / 0.7227 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.3933, allocations: 95.56 kB / 0.7228 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.3933, allocations: 12 kB / 0.7228 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.3935, allocations: 18.23 kB / 0.7228 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/0.3937, allocations: 31.83 kB / 0.7228 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.3937, allocations: 12 kB / 0.7228 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000224/0.394, allocations: 326.8 kB / 0.7231 GB, free: 232 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/0.394, allocations: 0 / 0.7231 GB, free: 232 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006386/0.3946, allocations: 343.2 kB / 0.7235 GB, free: 15.89 MB / 0.5417 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.0002482/0.3948, allocations: 148 kB / 0.7236 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000464/0.3953, allocations: 292.5 kB / 0.7239 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3953, allocations: 384 / 0.7239 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.3954, allocations: 107.7 kB / 0.724 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008874/0.3963, allocations: 331.9 kB / 0.7243 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.3982, allocations: 1.1 MB / 0.7254 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.3983, allocations: 166.3 kB / 0.7255 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003993/0.3987, allocations: 149.7 kB / 0.7257 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.3988, allocations: 44.5 kB / 0.7257 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of SimCode: time 1.593e-06/0.3988, allocations: 4 kB / 0.7257 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of Templates: time 0.01568/0.4145, allocations: 11.9 MB / 0.7374 GB, free: 1.957 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.sim & ./BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.218959108926356]