Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.729/2.729, allocations: 287.3 MB / 302.3 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 192 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001215/0.001216, allocations: 97.59 kB / 0.7428 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006399/0.0006402, allocations: 15.97 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2262, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.9096/1.136, allocations: 152.6 MB / 1.127 GB, free: 116 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01095/1.147, allocations: 4.738 MB / 1.132 GB, free: 15.77 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/1.148, allocations: 24.5 kB / 1.132 GB, free: 15.76 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002191/1.151, allocations: 442.2 kB / 1.132 GB, free: 15.68 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008841/1.16, allocations: 1.364 MB / 1.134 GB, free: 15.61 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006423/1.166, allocations: 0.865 MB / 1.135 GB, free: 15.57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003656/1.17, allocations: 1.091 MB / 1.136 GB, free: 15.52 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/1.171, allocations: 447.7 kB / 1.136 GB, free: 15.44 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00231/1.173, allocations: 0.5845 MB / 1.137 GB, free: 15.35 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009912/1.174, allocations: 351.7 kB / 1.137 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000163/1.175, allocations: 30.03 kB / 1.137 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/1.178, allocations: 0.6815 MB / 1.138 GB, free: 15.25 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004855/1.178, allocations: 210 kB / 1.138 GB, free: 15.22 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004242/1.178, allocations: 169.8 kB / 1.138 GB, free: 15.17 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002396/1.181, allocations: 0.8727 MB / 1.139 GB, free: 15.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.181, allocations: 1.469 kB / 1.139 GB, free: 15.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.665e-06/1.181, allocations: 0 / 1.139 GB, free: 15.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.049e-05/1.181, allocations: 0 / 1.139 GB, free: 15.09 MB / 0.698 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.00299/1.184, allocations: 0.9473 MB / 1.14 GB, free: 14.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/1.184, allocations: 8.531 kB / 1.14 GB, free: 14.45 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002313/1.184, allocations: 89.58 kB / 1.14 GB, free: 14.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/1.186, allocations: 208.5 kB / 1.14 GB, free: 14.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/1.188, allocations: 0.5601 MB / 1.141 GB, free: 13.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.673e-05/1.188, allocations: 39.59 kB / 1.141 GB, free: 13.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/1.189, allocations: 51.72 kB / 1.141 GB, free: 13.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/1.19, allocations: 494.5 kB / 1.141 GB, free: 13.81 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/1.19, allocations: 5.734 kB / 1.141 GB, free: 13.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/1.19, allocations: 19.03 kB / 1.141 GB, free: 13.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.775e-05/1.19, allocations: 16.44 kB / 1.141 GB, free: 13.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/1.192, allocations: 446.8 kB / 1.142 GB, free: 13.72 MB / 0.698 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.004993/1.197, allocations: 1.997 MB / 1.144 GB, free: 12.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009877/1.198, allocations: 357.6 kB / 1.144 GB, free: 12.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.67e-05/1.198, allocations: 17.72 kB / 1.144 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/1.198, allocations: 41.23 kB / 1.144 GB, free: 12.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.276e-06/1.198, allocations: 0 / 1.144 GB, free: 12.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.002277/1.2, allocations: 0.5537 MB / 1.144 GB, free: 12.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/1.2, allocations: 59.14 kB / 1.145 GB, free: 12.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009929/1.201, allocations: 0.4937 MB / 1.145 GB, free: 11.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/1.202, allocations: 34.27 kB / 1.145 GB, free: 11.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/1.202, allocations: 305.8 kB / 1.145 GB, free: 11.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/1.202, allocations: 117.5 kB / 1.145 GB, free: 11.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/1.202, allocations: 5.062 kB / 1.145 GB, free: 11.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002274/1.202, allocations: 368.5 kB / 1.146 GB, free: 11.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/1.203, allocations: 135.3 kB / 1.146 GB, free: 11.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006026/1.204, allocations: 222 kB / 1.146 GB, free: 11.13 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005422/1.204, allocations: 170.2 kB / 1.146 GB, free: 11.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.204, allocations: 0 / 1.146 GB, free: 11.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001383/1.206, allocations: 432.5 kB / 1.147 GB, free: 10.99 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002306/1.206, allocations: 363.5 kB / 1.147 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/1.206, allocations: 1.156 kB / 1.147 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/1.206, allocations: 7.781 kB / 1.147 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006904/1.207, allocations: 75.2 kB / 1.147 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/1.207, allocations: 6.5 kB / 1.147 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/1.208, allocations: 65.17 kB / 1.147 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/1.208, allocations: 12.78 kB / 1.147 GB, free: 10.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/1.208, allocations: 3.531 kB / 1.147 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001128/1.209, allocations: 356 kB / 1.148 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.209, allocations: 0 / 1.148 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/1.209, allocations: 5.719 kB / 1.148 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/1.21, allocations: 79.42 kB / 1.148 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/1.21, allocations: 2.531 kB / 1.148 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/1.211, allocations: 66.89 kB / 1.148 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/1.211, allocations: 12.12 kB / 1.148 GB, free: 10.45 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005761/1.212, allocations: 289 kB / 1.148 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/1.212, allocations: 68.11 kB / 1.148 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/1.213, allocations: 431 kB / 1.148 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/1.213, allocations: 3.469 kB / 1.149 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/1.213, allocations: 1.062 kB / 1.149 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001062/1.214, allocations: 443.1 kB / 1.149 GB, free: 9.887 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/1.218, allocations: 1.178 MB / 1.15 GB, free: 9.309 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.218, allocations: 1.531 kB / 1.15 GB, free: 9.309 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008496/1.218, allocations: 96 kB / 1.15 GB, free: 9.285 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/1.219, allocations: 2.812 kB / 1.15 GB, free: 9.285 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/1.219, allocations: 7.969 kB / 1.15 GB, free: 9.285 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/1.219, allocations: 4.328 kB / 1.15 GB, free: 9.285 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.098e-06/1.219, allocations: 6.469 kB / 1.15 GB, free: 9.281 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/1.221, allocations: 0.8083 MB / 1.151 GB, free: 8.883 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/1.221, allocations: 171.8 kB / 1.151 GB, free: 8.746 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/1.221, allocations: 15.86 kB / 1.151 GB, free: 8.742 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009704/1.222, allocations: 52.52 kB / 1.151 GB, free: 8.719 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/1.223, allocations: 34.92 kB / 1.151 GB, free: 8.699 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/1.223, allocations: 12.44 kB / 1.151 GB, free: 8.699 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007855/1.223, allocations: 356.3 kB / 1.152 GB, free: 8.562 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.223, allocations: 0 / 1.152 GB, free: 8.562 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001559/1.225, allocations: 321.6 kB / 1.152 GB, free: 8.52 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003184/1.228, allocations: 1.841 MB / 1.154 GB, free: 7.168 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001784/1.23, allocations: 0.5238 MB / 1.154 GB, free: 7.078 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.23, allocations: 7 kB / 1.154 GB, free: 7.074 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005722/1.231, allocations: 179.7 kB / 1.154 GB, free: 7.043 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003469/1.234, allocations: 377.5 kB / 1.155 GB, free: 6.906 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009798/1.244, allocations: 3.938 MB / 1.159 GB, free: 4.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008007/1.245, allocations: 0.9507 MB / 1.16 GB, free: 3.938 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001347/1.246, allocations: 188.3 kB / 1.16 GB, free: 3.852 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005156/1.247, allocations: 214.3 kB / 1.16 GB, free: 3.762 MB / 0.698 GB Notification: Performance of SimCode: time 1.493e-06/1.247, allocations: 1.188 kB / 1.16 GB, free: 3.762 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0581/1.305, allocations: 16.62 MB / 1.176 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003885/1.305, allocations: 211.1 kB / 1.176 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.313/4.618, allocations: 0 / 1.176 GB, free: 11.51 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)