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.001229/0.001229, allocations: 107.5 kB / 16.41 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.001377/0.001377, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.432/1.432, 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.7833/0.7833, allocations: 115.3 MB / 406.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 64.27 kB / 0.5577 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1582, allocations: 76.18 MB / 0.6321 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.6331/0.7913, allocations: 183.2 MB / 0.811 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008533/0.7999, allocations: 4.875 MB / 0.8157 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001776/0.8018, allocations: 31.94 kB / 0.8158 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.8035, allocations: 429.4 kB / 0.8162 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004578/0.8081, allocations: 1.412 MB / 0.8176 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00266/0.8108, allocations: 0.7825 MB / 0.8183 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002944/0.8138, allocations: 1.849 MB / 0.8201 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.815, allocations: 0.6034 MB / 0.8207 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002234/0.8172, allocations: 0.882 MB / 0.8216 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/0.8191, allocations: 0.5484 MB / 0.8221 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002988/0.8194, allocations: 57.94 kB / 0.8222 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00424/0.8237, allocations: 1.408 MB / 0.8235 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004407/0.8241, allocations: 270.1 kB / 0.8238 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.8252, allocations: 399.6 kB / 0.8242 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003767/0.829, allocations: 1.419 MB / 0.8256 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.829, allocations: 0 / 0.8256 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.555e-06/0.829, allocations: 3.938 kB / 0.8256 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.886e-05/0.8291, allocations: 0 / 0.8256 GB, free: 5.535 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.002629/0.8317, allocations: 1.101 MB / 0.8266 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.8317, allocations: 7.344 kB / 0.8267 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.8334, allocations: 215.6 kB / 0.8269 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.8348, allocations: 0.6173 MB / 0.8275 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.8348, allocations: 45.02 kB / 0.8275 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.003e-05/0.8349, allocations: 42.22 kB / 0.8275 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.8359, allocations: 0.4933 MB / 0.828 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.836, allocations: 0 / 0.828 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/0.836, allocations: 18.69 kB / 0.828 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/0.8361, allocations: 18.06 kB / 0.8281 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007878/0.8369, allocations: 434.1 kB / 0.8285 GB, free: 3.527 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.003004/0.8399, allocations: 2.003 MB / 0.8304 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006208/0.8405, allocations: 351.4 kB / 0.8308 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.8409, allocations: 214.7 kB / 0.831 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003076/0.8412, allocations: 191.9 kB / 0.8312 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.8412, allocations: 42.72 kB / 0.8312 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.315e-06/0.8412, allocations: 0 / 0.8312 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001344/0.8426, allocations: 0.536 MB / 0.8317 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.8426, allocations: 56.59 kB / 0.8318 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/0.8432, allocations: 0.5113 MB / 0.8323 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/0.8433, allocations: 36.48 kB / 0.8323 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.8435, allocations: 305.4 kB / 0.8326 GB, free: 344 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.8436, allocations: 117.5 kB / 0.8327 GB, free: 244 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.8438, allocations: 65.83 kB / 0.8328 GB, free: 200 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.8439, allocations: 363.6 kB / 0.8331 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.8442, allocations: 141.9 kB / 0.8333 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.8446, allocations: 227.8 kB / 0.8335 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/0.8452, allocations: 334.7 kB / 0.8338 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.8452, allocations: 0 / 0.8338 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007874/0.846, allocations: 429 kB / 0.8342 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.846, allocations: 7.438 kB / 0.8342 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.846, allocations: 0 / 0.8342 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.846, allocations: 3 kB / 0.8342 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.8464, allocations: 82.97 kB / 0.8343 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.8464, allocations: 6.625 kB / 0.8343 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000501/0.8469, allocations: 39.88 kB / 0.8343 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.847, allocations: 14.09 kB / 0.8343 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004352/0.8474, allocations: 301.8 kB / 0.8346 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002949/0.8477, allocations: 215 kB / 0.8348 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005267/0.8482, allocations: 339 kB / 0.8352 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.893e-06/0.8482, allocations: 0 / 0.8352 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006975/0.849, allocations: 423 kB / 0.8356 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.849, allocations: 5.125 kB / 0.8356 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.849, allocations: 2.688 kB / 0.8356 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.551e-06/0.849, allocations: 2.188 kB / 0.8356 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.8493, allocations: 68.52 kB / 0.8356 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.8493, allocations: 6.75 kB / 0.8356 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/0.8498, allocations: 40.48 kB / 0.8357 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.8499, allocations: 15.45 kB / 0.8357 GB, free: 14.34 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.0001546/0.85, allocations: 196.6 kB / 0.8359 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.8501, allocations: 61.47 kB / 0.8359 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007829/0.8509, allocations: 426 kB / 0.8364 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.851, allocations: 5.219 kB / 0.8364 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.851, allocations: 7.938 kB / 0.8364 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006126/0.8516, allocations: 437.3 kB / 0.8368 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.8536, allocations: 1.173 MB / 0.8379 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.8536, allocations: 2.594 kB / 0.8379 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.854, allocations: 81.11 kB / 0.838 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.854, allocations: 2.719 kB / 0.838 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.8541, allocations: 10.12 kB / 0.838 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.8541, allocations: 6.922 kB / 0.838 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8541, allocations: 1.781 kB / 0.838 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.8551, allocations: 0.704 MB / 0.8387 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.8554, allocations: 177 kB / 0.8389 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.601e-05/0.8555, allocations: 9.281 kB / 0.8389 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.856, allocations: 30.62 kB / 0.8389 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/0.8561, allocations: 17.56 kB / 0.8389 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.8561, allocations: 14.22 kB / 0.839 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004198/0.8565, allocations: 374.6 kB / 0.8393 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8565, allocations: 0 / 0.8393 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001037/0.8576, allocations: 324.6 kB / 0.8396 GB, free: 11.73 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.0005464/0.8581, allocations: 204.3 kB / 0.8398 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.8592, allocations: 0.5169 MB / 0.8403 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.8592, allocations: 0 / 0.8403 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.8595, allocations: 181.4 kB / 0.8405 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.8611, allocations: 347.5 kB / 0.8408 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.8632, allocations: 1.256 MB / 0.842 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000529/0.8637, allocations: 0.9325 MB / 0.843 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005813/0.8643, allocations: 181.7 kB / 0.8431 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.8644, allocations: 51.38 kB / 0.8432 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of SimCode: time 6.71e-07/0.8644, allocations: 0 / 0.8432 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of Templates: time 0.0213/0.8857, allocations: 11.75 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)