Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_8_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_8_Buildings_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.0009667/0.0009667, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001185/0.001185, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005191/0.0005191, allocations: 12.38 kB / 0.6738 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2606, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7664/1.027, allocations: 166.6 MB / 0.9501 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008322/1.035, allocations: 4.525 MB / 0.9546 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/1.037, allocations: 26.23 kB / 0.9546 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/1.038, allocations: 291.7 kB / 0.9549 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003341/1.041, allocations: 1.026 MB / 0.9559 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002202/1.043, allocations: 0.6018 MB / 0.9565 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003127/1.046, allocations: 2.13 MB / 0.9585 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008358/1.047, allocations: 442.5 kB / 0.959 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/1.049, allocations: 0.7177 MB / 0.9597 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/1.051, allocations: 0.511 MB / 0.9602 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/1.051, allocations: 29.31 kB / 0.9602 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/1.053, allocations: 0.8701 MB / 0.961 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003464/1.054, allocations: 225.5 kB / 0.9612 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006048/1.054, allocations: 165.5 kB / 0.9614 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001748/1.056, allocations: 0.9582 MB / 0.9623 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.056, allocations: 0 / 0.9623 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.585e-06/1.056, allocations: 1.859 kB / 0.9623 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.666e-05/1.056, allocations: 1.219 kB / 0.9623 GB, free: 19.73 MB / 0.7325 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.001656/1.058, allocations: 0.9708 MB / 0.9633 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.058, allocations: 9.594 kB / 0.9633 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/1.058, allocations: 87.19 kB / 0.9634 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/1.059, allocations: 208.1 kB / 0.9636 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/1.06, allocations: 0.5576 MB / 0.9641 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/1.06, allocations: 36.44 kB / 0.9642 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-05/1.061, allocations: 47.09 kB / 0.9642 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/1.062, allocations: 0.4943 MB / 0.9647 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/1.062, allocations: 3.938 kB / 0.9647 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/1.062, allocations: 20.09 kB / 0.9647 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.388e-05/1.062, allocations: 22.23 kB / 0.9647 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000904/1.063, allocations: 443.6 kB / 0.9652 GB, free: 18.65 MB / 0.7325 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.00317/1.066, allocations: 2.006 MB / 0.9671 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006718/1.066, allocations: 349.2 kB / 0.9675 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/1.067, allocations: 215.9 kB / 0.9677 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003245/1.067, allocations: 189.7 kB / 0.9678 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/1.067, allocations: 36.59 kB / 0.9679 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.335e-06/1.067, allocations: 5.375 kB / 0.9679 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001304/1.069, allocations: 0.5559 MB / 0.9684 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/1.069, allocations: 57.44 kB / 0.9685 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005967/1.069, allocations: 0.4947 MB / 0.969 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/1.069, allocations: 34.94 kB / 0.969 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/1.069, allocations: 303.5 kB / 0.9693 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.965e-05/1.07, allocations: 115.8 kB / 0.9694 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-05/1.07, allocations: 7.781 kB / 0.9694 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.07, allocations: 361.8 kB / 0.9697 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/1.07, allocations: 141.9 kB / 0.9699 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/1.07, allocations: 223.4 kB / 0.9701 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/1.071, allocations: 168.5 kB / 0.9703 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.071, allocations: 0 / 0.9703 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007374/1.071, allocations: 439.8 kB / 0.9707 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.367e-05/1.072, allocations: 117.8 kB / 0.9708 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/1.072, allocations: 0 / 0.9708 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/1.072, allocations: 2.562 kB / 0.9708 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/1.072, allocations: 78.3 kB / 0.9709 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/1.072, allocations: 4.719 kB / 0.9709 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005768/1.073, allocations: 59.17 kB / 0.9709 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/1.073, allocations: 14.56 kB / 0.9709 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.605e-06/1.073, allocations: 5.672 kB / 0.9709 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006306/1.073, allocations: 349.2 kB / 0.9713 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-06/1.073, allocations: 1.125 kB / 0.9713 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-06/1.073, allocations: 2.531 kB / 0.9713 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/1.074, allocations: 74.02 kB / 0.9713 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/1.074, allocations: 1.844 kB / 0.9714 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/1.074, allocations: 60.03 kB / 0.9714 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/1.074, allocations: 17.64 kB / 0.9714 GB, free: 16.18 MB / 0.7325 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.00033/1.074, allocations: 292.4 kB / 0.9717 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-05/1.074, allocations: 68.31 kB / 0.9718 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007647/1.075, allocations: 430.4 kB / 0.9722 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.075, allocations: 3.531 kB / 0.9722 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.075, allocations: 7.422 kB / 0.9722 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005818/1.076, allocations: 438.4 kB / 0.9726 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/1.077, allocations: 1.184 MB / 0.9738 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.077, allocations: 9.219 kB / 0.9738 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/1.078, allocations: 90.92 kB / 0.9739 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/1.078, allocations: 7.641 kB / 0.9739 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/1.078, allocations: 9.312 kB / 0.9739 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/1.078, allocations: 9.172 kB / 0.9739 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.078, allocations: 0 / 0.9739 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009436/1.079, allocations: 0.7312 MB / 0.9746 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/1.079, allocations: 181.3 kB / 0.9748 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-05/1.079, allocations: 15.52 kB / 0.9748 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/1.08, allocations: 57.05 kB / 0.9748 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.66e-05/1.08, allocations: 18.95 kB / 0.9749 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/1.08, allocations: 18.27 kB / 0.9749 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004062/1.08, allocations: 354.9 kB / 0.9752 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/1.08, allocations: 0 / 0.9752 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008993/1.081, allocations: 321.9 kB / 0.9755 GB, free: 14.84 MB / 0.7325 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.001641/1.083, allocations: 1.384 MB / 0.9769 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008928/1.084, allocations: 0.5225 MB / 0.9774 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.084, allocations: 0 / 0.9774 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002965/1.084, allocations: 186.2 kB / 0.9776 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/1.086, allocations: 367.6 kB / 0.9779 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004782/1.09, allocations: 3.523 MB / 0.9814 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/1.091, allocations: 0.9349 MB / 0.9823 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006737/1.092, allocations: 186.4 kB / 0.9824 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/1.092, allocations: 220.7 kB / 0.9827 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/1.092, allocations: 0 / 0.9827 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/1.123, allocations: 16.64 MB / 0.9989 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/1.124, allocations: 207.8 kB / 0.9991 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/3.424, allocations: 0 / 0.9991 GB, free: 3.227 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) Environment - environmentSimulation: