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.001386/0.001386, allocations: 108.6 kB / 16.41 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.00148/0.00148, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.375/1.375, 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.7808/0.7808, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 62.09 kB / 0.5684 GB, free: 28.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1667, allocations: 77.94 MB / 0.6445 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.7185/0.8853, allocations: 183.2 MB / 0.8235 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007993/0.8933, allocations: 4.871 MB / 0.8282 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.8951, allocations: 33.47 kB / 0.8283 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.8966, allocations: 434.2 kB / 0.8287 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004839/0.9014, allocations: 1.412 MB / 0.8301 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.9039, allocations: 0.7843 MB / 0.8308 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003239/0.9072, allocations: 1.844 MB / 0.8326 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009436/0.9081, allocations: 0.5975 MB / 0.8332 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.9104, allocations: 0.8809 MB / 0.8341 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.9117, allocations: 0.5284 MB / 0.8346 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.9119, allocations: 57.5 kB / 0.8346 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003491/0.9154, allocations: 1.417 MB / 0.836 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003668/0.9157, allocations: 269.8 kB / 0.8363 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005198/0.9163, allocations: 398.2 kB / 0.8367 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002881/0.9192, allocations: 1.429 MB / 0.8381 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9192, allocations: 0 / 0.8381 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9192, allocations: 4 kB / 0.8381 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.883e-05/0.9192, allocations: 2.344 kB / 0.8381 GB, free: 1.367 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.001761/0.921, allocations: 1.126 MB / 0.8392 GB, free: 468 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.921, allocations: 8.375 kB / 0.8392 GB, free: 468 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.9224, allocations: 213 kB / 0.8394 GB, free: 368 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.9234, allocations: 0.6279 MB / 0.84 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.9235, allocations: 33.44 kB / 0.84 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.752e-05/0.9236, allocations: 46.41 kB / 0.8401 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.9246, allocations: 0.489 MB / 0.8405 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.9246, allocations: 0 / 0.8405 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-05/0.9247, allocations: 18.06 kB / 0.8406 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/0.9248, allocations: 19.44 kB / 0.8406 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008674/0.9256, allocations: 441.7 kB / 0.841 GB, free: 15.3 MB / 0.6075 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.003212/0.9289, allocations: 2.012 MB / 0.843 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000782/0.9297, allocations: 350.1 kB / 0.8433 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003964/0.9301, allocations: 207.7 kB / 0.8435 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003428/0.9304, allocations: 195.7 kB / 0.8437 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.9305, allocations: 37 kB / 0.8437 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 5.029e-06/0.9305, allocations: 3.984 kB / 0.8437 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001331/0.9318, allocations: 0.5483 MB / 0.8442 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.9319, allocations: 59.97 kB / 0.8443 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006763/0.9326, allocations: 0.5098 MB / 0.8448 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.9326, allocations: 32.45 kB / 0.8448 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/0.933, allocations: 311.8 kB / 0.8451 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.9331, allocations: 117.9 kB / 0.8452 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.9333, allocations: 73.69 kB / 0.8453 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002433/0.9335, allocations: 365.8 kB / 0.8457 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.9338, allocations: 141.4 kB / 0.8458 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.9343, allocations: 220 kB / 0.846 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006563/0.9349, allocations: 342.7 kB / 0.8463 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.9349, allocations: 0 / 0.8463 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009106/0.9359, allocations: 432.4 kB / 0.8467 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.9359, allocations: 10.78 kB / 0.8468 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.9359, allocations: 1.438 kB / 0.8468 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/0.936, allocations: 2.594 kB / 0.8468 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.9364, allocations: 70.56 kB / 0.8468 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.9364, allocations: 10.22 kB / 0.8468 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/0.937, allocations: 40.47 kB / 0.8469 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/0.937, allocations: 18.06 kB / 0.8469 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005673/0.9376, allocations: 303.9 kB / 0.8472 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003385/0.938, allocations: 210.7 kB / 0.8474 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005796/0.9385, allocations: 329 kB / 0.8477 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.076e-06/0.9386, allocations: 3.984 kB / 0.8477 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007245/0.9393, allocations: 429.3 kB / 0.8481 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.9393, allocations: 4.906 kB / 0.8481 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.9393, allocations: 0 / 0.8481 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-06/0.9393, allocations: 2.531 kB / 0.8481 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.9396, allocations: 71.59 kB / 0.8482 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.9396, allocations: 2.438 kB / 0.8482 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.9401, allocations: 47.42 kB / 0.8482 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.9402, allocations: 7.844 kB / 0.8482 GB, free: 10.07 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.0001793/0.9403, allocations: 199.5 kB / 0.8484 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.9405, allocations: 62.28 kB / 0.8485 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008111/0.9413, allocations: 421.7 kB / 0.8489 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.9413, allocations: 2.906 kB / 0.8489 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.9413, allocations: 7.875 kB / 0.8489 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006501/0.942, allocations: 434.7 kB / 0.8493 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.9438, allocations: 1.173 MB / 0.8505 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.9439, allocations: 2.719 kB / 0.8505 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.9443, allocations: 81.48 kB / 0.8505 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.9443, allocations: 4 kB / 0.8505 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.9443, allocations: 12.19 kB / 0.8506 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.9443, allocations: 7.938 kB / 0.8506 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.9443, allocations: 0 / 0.8506 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.9454, allocations: 0.7148 MB / 0.8513 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/0.9456, allocations: 180.7 kB / 0.8514 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.191e-05/0.9457, allocations: 8 kB / 0.8514 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/0.9461, allocations: 23.97 kB / 0.8515 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.893e-05/0.9462, allocations: 27.97 kB / 0.8515 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.9463, allocations: 16 kB / 0.8515 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004219/0.9467, allocations: 358.8 kB / 0.8519 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9467, allocations: 0 / 0.8519 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008676/0.9476, allocations: 335.3 kB / 0.8522 GB, free: 6.645 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.0004478/0.948, allocations: 196.8 kB / 0.8524 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009909/0.949, allocations: 0.5229 MB / 0.8529 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.949, allocations: 0 / 0.8529 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.9494, allocations: 180.5 kB / 0.853 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.9509, allocations: 349.2 kB / 0.8534 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.9529, allocations: 1.263 MB / 0.8546 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.9534, allocations: 0.9295 MB / 0.8555 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005395/0.9539, allocations: 180.8 kB / 0.8557 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.9541, allocations: 55.42 kB / 0.8557 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.9541, allocations: 0 / 0.8557 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of Templates: time 0.02037/0.9744, allocations: 11.77 MB / 0.8672 GB, free: 7.324 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)