Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Fluid.Delays.Examples.Delay,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Delays.Examples.Delay,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.001294/0.001294, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6918/0.6918, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.94 kB / 0.5572 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1401, allocations: 76.18 MB / 0.6316 GB, free: 4.953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.518/0.6581, allocations: 183.2 MB / 0.8105 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007208/0.6654, allocations: 4.878 MB / 0.8153 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.6665, allocations: 29.38 kB / 0.8153 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.6678, allocations: 441.3 kB / 0.8157 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003488/0.6714, allocations: 1.403 MB / 0.8171 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.6734, allocations: 0.7871 MB / 0.8178 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002229/0.6756, allocations: 1.849 MB / 0.8196 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008709/0.6765, allocations: 0.6028 MB / 0.8202 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.6783, allocations: 0.8749 MB / 0.8211 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.6795, allocations: 0.5512 MB / 0.8216 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.6797, allocations: 61.66 kB / 0.8217 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.682, allocations: 1.409 MB / 0.8231 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000345/0.6823, allocations: 267.4 kB / 0.8233 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000582/0.6829, allocations: 403.3 kB / 0.8237 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.6852, allocations: 1.413 MB / 0.8251 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6852, allocations: 0 / 0.8251 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.664e-06/0.6852, allocations: 0 / 0.8251 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.558e-05/0.6852, allocations: 2.094 kB / 0.8251 GB, free: 5.434 MB / 0.5919 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.002075/0.6873, allocations: 1.104 MB / 0.8262 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.6873, allocations: 9.969 kB / 0.8262 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.6875, allocations: 85.73 kB / 0.8263 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.6888, allocations: 210.5 kB / 0.8265 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.6899, allocations: 0.6253 MB / 0.8271 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.69, allocations: 32.56 kB / 0.8271 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-05/0.6901, allocations: 50.66 kB / 0.8271 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008579/0.6909, allocations: 0.4894 MB / 0.8276 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.691, allocations: 0 / 0.8276 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.691, allocations: 20.31 kB / 0.8276 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.691, allocations: 20.16 kB / 0.8277 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007728/0.6918, allocations: 438.6 kB / 0.8281 GB, free: 3.34 MB / 0.5919 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.002819/0.6946, allocations: 2.005 MB / 0.83 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005906/0.6952, allocations: 345.2 kB / 0.8304 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.6956, allocations: 206.4 kB / 0.8306 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002717/0.6958, allocations: 195.5 kB / 0.8308 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.6959, allocations: 41.69 kB / 0.8308 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.693e-06/0.6959, allocations: 0 / 0.8308 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001224/0.6971, allocations: 0.5365 MB / 0.8313 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.6972, allocations: 60.41 kB / 0.8314 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006253/0.6978, allocations: 0.5057 MB / 0.8319 GB, free: 476 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.329e-05/0.6979, allocations: 35.8 kB / 0.8319 GB, free: 436 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.6981, allocations: 313.3 kB / 0.8322 GB, free: 156 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.6982, allocations: 116.7 kB / 0.8323 GB, free: 56 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.6984, allocations: 70.08 kB / 0.8324 GB, free: 8 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.6986, allocations: 363.8 kB / 0.8327 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.6988, allocations: 144.4 kB / 0.8329 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.6992, allocations: 220.6 kB / 0.8331 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005588/0.6998, allocations: 342.7 kB / 0.8334 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6998, allocations: 0 / 0.8334 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007165/0.7005, allocations: 421.5 kB / 0.8338 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.7005, allocations: 9.5 kB / 0.8338 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.7005, allocations: 0 / 0.8338 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.7006, allocations: 1.781 kB / 0.8338 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.7009, allocations: 79.66 kB / 0.8339 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.7009, allocations: 6.062 kB / 0.8339 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.7014, allocations: 40.34 kB / 0.8339 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.7014, allocations: 14.25 kB / 0.8339 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004075/0.7018, allocations: 304.3 kB / 0.8342 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003022/0.7021, allocations: 216.8 kB / 0.8344 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005061/0.7026, allocations: 335.4 kB / 0.8348 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.312e-06/0.7026, allocations: 0 / 0.8348 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000711/0.7034, allocations: 422.6 kB / 0.8352 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.7034, allocations: 4.906 kB / 0.8352 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.7034, allocations: 2.219 kB / 0.8352 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.05e-06/0.7034, allocations: 2.875 kB / 0.8352 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.7037, allocations: 70.56 kB / 0.8352 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.7037, allocations: 4.656 kB / 0.8352 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004647/0.7042, allocations: 38.03 kB / 0.8353 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.7042, allocations: 13.56 kB / 0.8353 GB, free: 14.16 MB / 0.6075 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.0001393/0.7044, allocations: 197.7 kB / 0.8355 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.7045, allocations: 60.5 kB / 0.8355 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000737/0.7052, allocations: 431.3 kB / 0.836 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.7053, allocations: 2.188 kB / 0.836 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.7053, allocations: 3.938 kB / 0.836 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000582/0.7059, allocations: 442.3 kB / 0.8364 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.7076, allocations: 1.176 MB / 0.8375 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.7076, allocations: 2.094 kB / 0.8375 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004225/0.708, allocations: 81.58 kB / 0.8376 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.7081, allocations: 2.75 kB / 0.8376 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.7081, allocations: 10.09 kB / 0.8376 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.7081, allocations: 7.844 kB / 0.8376 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.7081, allocations: 3.938 kB / 0.8376 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000997/0.7091, allocations: 0.7052 MB / 0.8383 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002774/0.7094, allocations: 181.3 kB / 0.8385 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-05/0.7095, allocations: 6.094 kB / 0.8385 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/0.71, allocations: 31.03 kB / 0.8385 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.71, allocations: 21.97 kB / 0.8386 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.7101, allocations: 18.03 kB / 0.8386 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003847/0.7105, allocations: 374 kB / 0.8389 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7105, allocations: 0 / 0.8389 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008222/0.7113, allocations: 315.4 kB / 0.8392 GB, free: 11.55 MB / 0.6075 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.001497/0.7128, allocations: 1.332 MB / 0.8405 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009299/0.7138, allocations: 0.5188 MB / 0.841 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.7138, allocations: 0 / 0.841 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.7141, allocations: 182.3 kB / 0.8412 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.7157, allocations: 353.8 kB / 0.8415 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006236/0.7219, allocations: 4.642 MB / 0.8461 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/0.7225, allocations: 0.9256 MB / 0.847 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005974/0.7231, allocations: 188.8 kB / 0.8472 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.7234, allocations: 219.4 kB / 0.8474 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of SimCode: time 9.52e-07/0.7234, allocations: 0 / 0.8474 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04059/0.764, allocations: 17.12 MB / 0.8641 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.62/9.384, allocations: 19.62 kB / 0.8641 GB, free: 3.289 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay.fmu > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)