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: translateModel(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay") translateModel(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001247/0.001253, allocations: 108 kB / 16.4 MB, free: 6.488 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.001282/0.001282, allocations: 193.2 kB / 17.34 MB, free: 5.73 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.244/1.244, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.691/0.691, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 64.53 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1193, allocations: 76.18 MB / 0.6321 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.5463/0.6656, allocations: 183.2 MB / 0.811 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007104/0.6728, allocations: 4.863 MB / 0.8157 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.6739, allocations: 31.53 kB / 0.8158 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.6751, allocations: 433.1 kB / 0.8162 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003152/0.6783, allocations: 1.417 MB / 0.8176 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.6802, allocations: 0.7807 MB / 0.8183 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00193/0.6821, allocations: 1.846 MB / 0.8201 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007358/0.6829, allocations: 0.6053 MB / 0.8207 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.6844, allocations: 0.885 MB / 0.8216 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009461/0.6853, allocations: 0.5427 MB / 0.8221 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-05/0.6854, allocations: 62.12 kB / 0.8222 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.6876, allocations: 1.411 MB / 0.8235 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.6879, allocations: 264.4 kB / 0.8238 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000345/0.6882, allocations: 403.6 kB / 0.8242 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.6898, allocations: 1.417 MB / 0.8256 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6898, allocations: 3.938 kB / 0.8256 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6898, allocations: 3.094 kB / 0.8256 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.6898, allocations: 0 / 0.8256 GB, free: 5.539 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.001454/0.6913, allocations: 1.103 MB / 0.8267 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.6913, allocations: 7.5 kB / 0.8267 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.6926, allocations: 207.2 kB / 0.8269 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008407/0.6934, allocations: 0.6209 MB / 0.8275 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.6935, allocations: 32.91 kB / 0.8275 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.062e-05/0.6935, allocations: 50 kB / 0.8275 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007977/0.6944, allocations: 0.4895 MB / 0.828 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.6944, allocations: 0 / 0.828 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/0.6944, allocations: 20.91 kB / 0.828 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.6945, allocations: 16.34 kB / 0.8281 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006953/0.6952, allocations: 437.8 kB / 0.8285 GB, free: 3.535 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.00237/0.6975, allocations: 2.005 MB / 0.8304 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005849/0.6981, allocations: 355 kB / 0.8308 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.6985, allocations: 210.5 kB / 0.831 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.6987, allocations: 192.2 kB / 0.8312 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.6988, allocations: 41.56 kB / 0.8312 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.6988, allocations: 0 / 0.8312 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.00111/0.6999, allocations: 0.5403 MB / 0.8317 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.6999, allocations: 56.69 kB / 0.8318 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005341/0.7005, allocations: 0.5069 MB / 0.8323 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.7005, allocations: 38.52 kB / 0.8323 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.7007, allocations: 305.5 kB / 0.8326 GB, free: 352 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.601e-05/0.7008, allocations: 114.7 kB / 0.8327 GB, free: 252 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.7009, allocations: 68.12 kB / 0.8328 GB, free: 208 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002322/0.7012, allocations: 363.4 kB / 0.8331 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.7014, allocations: 142.3 kB / 0.8333 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.7018, allocations: 219.5 kB / 0.8335 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000538/0.7023, allocations: 342.5 kB / 0.8338 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.7024, allocations: 3.938 kB / 0.8338 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006817/0.703, allocations: 425.6 kB / 0.8342 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.7031, allocations: 5 kB / 0.8342 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.7031, allocations: 2.781 kB / 0.8342 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.7031, allocations: 2.094 kB / 0.8342 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.7034, allocations: 79.48 kB / 0.8343 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.7034, allocations: 10.34 kB / 0.8343 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/0.7039, allocations: 36.23 kB / 0.8343 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.7039, allocations: 11.97 kB / 0.8343 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003929/0.7043, allocations: 307.9 kB / 0.8346 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002892/0.7046, allocations: 215.4 kB / 0.8348 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004876/0.7051, allocations: 332.5 kB / 0.8352 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.7051, allocations: 0 / 0.8352 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006272/0.7057, allocations: 420.5 kB / 0.8356 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/0.7058, allocations: 5.75 kB / 0.8356 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.7058, allocations: 2.188 kB / 0.8356 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.699e-06/0.7058, allocations: 4.938 kB / 0.8356 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.7061, allocations: 72.45 kB / 0.8356 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.7061, allocations: 6.5 kB / 0.8356 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.7065, allocations: 40.36 kB / 0.8357 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.7065, allocations: 10.09 kB / 0.8357 GB, free: 14.35 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.0001232/0.7067, allocations: 204.4 kB / 0.8359 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.084e-05/0.7068, allocations: 61.81 kB / 0.8359 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007013/0.7075, allocations: 418.5 kB / 0.8363 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.7075, allocations: 5.094 kB / 0.8364 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.7075, allocations: 7.922 kB / 0.8364 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005503/0.7081, allocations: 439 kB / 0.8368 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.7096, allocations: 1.173 MB / 0.8379 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.7097, allocations: 0 / 0.8379 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.71, allocations: 80.45 kB / 0.838 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.7101, allocations: 2.812 kB / 0.838 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.7101, allocations: 17.2 kB / 0.838 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.7101, allocations: 4.906 kB / 0.838 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.7101, allocations: 5.062 kB / 0.838 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009347/0.711, allocations: 0.7148 MB / 0.8387 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.7112, allocations: 173.1 kB / 0.8389 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.237e-05/0.7113, allocations: 8.312 kB / 0.8389 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/0.7117, allocations: 22.81 kB / 0.8389 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.7118, allocations: 24.16 kB / 0.8389 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.7119, allocations: 18.39 kB / 0.839 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004079/0.7123, allocations: 361.7 kB / 0.8393 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7123, allocations: 0 / 0.8393 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006918/0.713, allocations: 335.6 kB / 0.8396 GB, free: 11.74 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.0003543/0.7133, allocations: 179.3 kB / 0.8398 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009974/0.7143, allocations: 0.5239 MB / 0.8403 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.7144, allocations: 4 kB / 0.8403 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.7147, allocations: 174 kB / 0.8405 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.7163, allocations: 353.4 kB / 0.8408 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.7185, allocations: 1.258 MB / 0.842 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006151/0.7191, allocations: 0.9321 MB / 0.843 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004717/0.7196, allocations: 188 kB / 0.8431 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.7198, allocations: 47.44 kB / 0.8432 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of SimCode: time 1.91e-07/0.7198, allocations: 0 / 0.8432 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of Templates: time 0.01841/0.7382, allocations: 11.76 MB / 0.8547 GB, free: 13.73 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)