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.001061/0.001061, allocations: 108.3 kB / 16.4 MB, free: 6.434 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.001107/0.001107, allocations: 193.1 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.317/1.317, 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.6796/0.6796, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 66.5 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1328, allocations: 76.18 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.5472/0.6801, allocations: 183.2 MB / 0.8105 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007254/0.6874, allocations: 4.87 MB / 0.8152 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009767/0.6884, allocations: 27.41 kB / 0.8153 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.6897, allocations: 438.4 kB / 0.8157 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003669/0.6934, allocations: 1.421 MB / 0.8171 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.6954, allocations: 0.7762 MB / 0.8178 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002169/0.6975, allocations: 1.853 MB / 0.8196 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008166/0.6984, allocations: 0.5965 MB / 0.8202 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001987/0.7004, allocations: 0.8808 MB / 0.8211 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.7015, allocations: 0.5467 MB / 0.8216 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.365e-05/0.7016, allocations: 61.78 kB / 0.8217 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.7043, allocations: 1.416 MB / 0.8231 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002565/0.7046, allocations: 266.9 kB / 0.8233 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.705, allocations: 396.7 kB / 0.8237 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.7072, allocations: 1.42 MB / 0.8251 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7072, allocations: 0 / 0.8251 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7072, allocations: 0 / 0.8251 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.7072, allocations: 0 / 0.8251 GB, free: 5.398 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.001561/0.7088, allocations: 1.099 MB / 0.8262 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.7088, allocations: 10.16 kB / 0.8262 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.98e-05/0.7089, allocations: 92.73 kB / 0.8263 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.7102, allocations: 208.2 kB / 0.8265 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008713/0.7111, allocations: 0.6163 MB / 0.8271 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.7111, allocations: 33.31 kB / 0.8271 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.348e-05/0.7112, allocations: 52.38 kB / 0.8271 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007917/0.712, allocations: 498.3 kB / 0.8276 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.712, allocations: 3.938 kB / 0.8276 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.692e-05/0.7121, allocations: 24.44 kB / 0.8276 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.7121, allocations: 20.38 kB / 0.8277 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007041/0.7128, allocations: 443.7 kB / 0.8281 GB, free: 3.305 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.00232/0.7151, allocations: 1.993 MB / 0.83 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005774/0.7157, allocations: 360 kB / 0.8304 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.716, allocations: 203.6 kB / 0.8306 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002624/0.7163, allocations: 191.5 kB / 0.8307 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.7164, allocations: 42.38 kB / 0.8308 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.7164, allocations: 0 / 0.8308 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001165/0.7175, allocations: 0.5421 MB / 0.8313 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.7176, allocations: 58.53 kB / 0.8314 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005303/0.7181, allocations: 0.5054 MB / 0.8319 GB, free: 436 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.7182, allocations: 35.61 kB / 0.8319 GB, free: 396 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.7184, allocations: 308.3 kB / 0.8322 GB, free: 124 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.206e-05/0.7185, allocations: 114.3 kB / 0.8323 GB, free: 24 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.7186, allocations: 73.25 kB / 0.8324 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.7187, allocations: 367.3 kB / 0.8327 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.719, allocations: 142.5 kB / 0.8329 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/0.7193, allocations: 219.4 kB / 0.8331 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005387/0.7199, allocations: 342.2 kB / 0.8334 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7199, allocations: 0 / 0.8334 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006569/0.7205, allocations: 425.5 kB / 0.8338 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.7206, allocations: 9.594 kB / 0.8338 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.7206, allocations: 0 / 0.8338 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.7206, allocations: 2.781 kB / 0.8338 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.7209, allocations: 78.7 kB / 0.8339 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.7209, allocations: 10.62 kB / 0.8339 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/0.7214, allocations: 36.33 kB / 0.8339 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.7214, allocations: 17.69 kB / 0.834 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003842/0.7218, allocations: 305.8 kB / 0.8342 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002692/0.7221, allocations: 215.3 kB / 0.8344 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004777/0.7226, allocations: 331.2 kB / 0.8348 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.7226, allocations: 0 / 0.8348 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006278/0.7232, allocations: 422.9 kB / 0.8352 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.7232, allocations: 8.672 kB / 0.8352 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.7232, allocations: 2.812 kB / 0.8352 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-06/0.7232, allocations: 2.125 kB / 0.8352 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.7235, allocations: 68.84 kB / 0.8352 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.7236, allocations: 5.406 kB / 0.8353 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.724, allocations: 36.42 kB / 0.8353 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.724, allocations: 18.05 kB / 0.8353 GB, free: 14.12 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.0001335/0.7242, allocations: 200.8 kB / 0.8355 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.882e-05/0.7243, allocations: 61.62 kB / 0.8356 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007139/0.725, allocations: 422.2 kB / 0.836 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.725, allocations: 4.781 kB / 0.836 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.725, allocations: 3.938 kB / 0.836 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005473/0.7256, allocations: 437.6 kB / 0.8364 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.7272, allocations: 1.172 MB / 0.8375 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.7272, allocations: 2.25 kB / 0.8375 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004005/0.7276, allocations: 89.44 kB / 0.8376 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.7276, allocations: 2.719 kB / 0.8376 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.7276, allocations: 6.094 kB / 0.8376 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.7277, allocations: 2.781 kB / 0.8376 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7277, allocations: 2.5 kB / 0.8376 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.7287, allocations: 0.7093 MB / 0.8383 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.7289, allocations: 174.5 kB / 0.8385 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.393e-05/0.729, allocations: 13.11 kB / 0.8385 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004185/0.7294, allocations: 20.83 kB / 0.8385 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.7295, allocations: 21.31 kB / 0.8385 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.7295, allocations: 22.11 kB / 0.8386 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003663/0.7299, allocations: 370.5 kB / 0.8389 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.313e-06/0.7299, allocations: 0 / 0.8389 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007711/0.7307, allocations: 318.6 kB / 0.8392 GB, free: 11.52 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.001538/0.7322, allocations: 1.331 MB / 0.8405 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009545/0.7332, allocations: 0.5274 MB / 0.841 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.7332, allocations: 0 / 0.841 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.7335, allocations: 178.2 kB / 0.8412 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.7349, allocations: 349.4 kB / 0.8415 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006016/0.741, allocations: 4.646 MB / 0.8461 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/0.7415, allocations: 0.9334 MB / 0.847 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007115/0.7422, allocations: 180.8 kB / 0.8472 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.7425, allocations: 215.4 kB / 0.8474 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of SimCode: time 9.02e-07/0.7425, allocations: 0 / 0.8474 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03736/0.7799, allocations: 17.13 MB / 0.8641 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/8.916, allocations: 11.94 kB / 0.8641 GB, free: 3.297 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)