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.001448/0.001447, allocations: 100 kB / 15.05 MB, free: 1.105 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.001744/0.001744, allocations: 177.3 kB / 15.94 MB, free: 220 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.601/1.601, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.75/1.75, allocations: 292.6 MB / 0.5497 GB, free: 14.64 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.0005262/0.0005263, allocations: 17.78 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2477, allocations: 116.3 MB / 0.7872 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7507/0.9985, allocations: 152.6 MB / 0.9362 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008643/1.007, allocations: 4.728 MB / 0.9408 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/1.008, allocations: 23.53 kB / 0.9408 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001674/1.01, allocations: 441.8 kB / 0.9413 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005776/1.016, allocations: 1.364 MB / 0.9426 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004095/1.02, allocations: 0.8717 MB / 0.9434 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00314/1.023, allocations: 1.08 MB / 0.9445 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/1.024, allocations: 454.1 kB / 0.9449 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/1.026, allocations: 0.5887 MB / 0.9455 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007624/1.027, allocations: 343.2 kB / 0.9458 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.657e-05/1.027, allocations: 28.81 kB / 0.9459 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00243/1.03, allocations: 0.6936 MB / 0.9465 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003038/1.03, allocations: 205.6 kB / 0.9467 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006125/1.031, allocations: 169.2 kB / 0.9469 GB, free: 21.37 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001478/1.032, allocations: 0.8732 MB / 0.9477 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.032, allocations: 0 / 0.9477 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.215e-06/1.032, allocations: 0 / 0.9477 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.047e-05/1.032, allocations: 0 / 0.9477 GB, free: 21.3 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.001759/1.034, allocations: 0.9407 MB / 0.9487 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/1.034, allocations: 16.78 kB / 0.9487 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/1.034, allocations: 84.12 kB / 0.9488 GB, free: 20.63 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/1.035, allocations: 216.4 kB / 0.949 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/1.036, allocations: 0.5599 MB / 0.9495 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/1.037, allocations: 34.75 kB / 0.9496 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.864e-05/1.037, allocations: 48.25 kB / 0.9496 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009583/1.038, allocations: 496.8 kB / 0.9501 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/1.038, allocations: 0 / 0.9501 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.153e-05/1.038, allocations: 21.31 kB / 0.9501 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/1.038, allocations: 17.06 kB / 0.9501 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008577/1.039, allocations: 445.7 kB / 0.9505 GB, free: 20.25 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.002994/1.042, allocations: 2.008 MB / 0.9525 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/1.042, allocations: 354.1 kB / 0.9528 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-05/1.042, allocations: 17.41 kB / 0.9528 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/1.042, allocations: 37.19 kB / 0.9529 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.963e-06/1.042, allocations: 0 / 0.9529 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001335/1.044, allocations: 0.5505 MB / 0.9534 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/1.044, allocations: 61.53 kB / 0.9535 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005975/1.044, allocations: 0.4953 MB / 0.954 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/1.044, allocations: 33.2 kB / 0.954 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/1.045, allocations: 302.8 kB / 0.9543 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/1.045, allocations: 120.1 kB / 0.9544 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/1.045, allocations: 7.594 kB / 0.9544 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.045, allocations: 364.8 kB / 0.9548 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/1.045, allocations: 138.7 kB / 0.9549 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/1.046, allocations: 218.9 kB / 0.9551 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/1.046, allocations: 173.9 kB / 0.9553 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.046, allocations: 0 / 0.9553 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007362/1.047, allocations: 434.6 kB / 0.9557 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/1.047, allocations: 361.6 kB / 0.956 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.047, allocations: 1.125 kB / 0.956 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/1.047, allocations: 2.312 kB / 0.956 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/1.047, allocations: 76.94 kB / 0.9561 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/1.047, allocations: 5.906 kB / 0.9561 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006277/1.048, allocations: 68.81 kB / 0.9562 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/1.048, allocations: 17.64 kB / 0.9562 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/1.048, allocations: 3.5 kB / 0.9562 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000684/1.049, allocations: 352 kB / 0.9565 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/1.049, allocations: 1 kB / 0.9565 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.638e-06/1.049, allocations: 7.25 kB / 0.9565 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/1.049, allocations: 71.38 kB / 0.9566 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/1.049, allocations: 3.125 kB / 0.9566 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/1.049, allocations: 59.61 kB / 0.9567 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/1.049, allocations: 15.08 kB / 0.9567 GB, free: 17.79 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.000355/1.05, allocations: 294.1 kB / 0.957 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.9e-05/1.05, allocations: 64.39 kB / 0.957 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008702/1.051, allocations: 429.1 kB / 0.9574 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/1.051, allocations: 2.969 kB / 0.9574 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.051, allocations: 0.9688 kB / 0.9574 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006746/1.052, allocations: 444.4 kB / 0.9579 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/1.054, allocations: 1.184 MB / 0.959 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/1.054, allocations: 4.062 kB / 0.959 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000463/1.054, allocations: 88.66 kB / 0.9591 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/1.054, allocations: 7.125 kB / 0.9591 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/1.054, allocations: 11.11 kB / 0.9591 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/1.054, allocations: 6.516 kB / 0.9591 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.054, allocations: 5.266 kB / 0.9591 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/1.056, allocations: 0.8122 MB / 0.9599 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/1.056, allocations: 176.6 kB / 0.9601 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.733e-05/1.056, allocations: 7.375 kB / 0.9601 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005415/1.057, allocations: 58.34 kB / 0.9601 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/1.057, allocations: 27.11 kB / 0.9602 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/1.057, allocations: 16.3 kB / 0.9602 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005534/1.058, allocations: 354.6 kB / 0.9605 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.71e-07/1.058, allocations: 1.344 kB / 0.9605 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001116/1.059, allocations: 325.3 kB / 0.9608 GB, free: 16.37 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.001931/1.061, allocations: 1.852 MB / 0.9626 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001101/1.062, allocations: 0.5207 MB / 0.9632 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.062, allocations: 1.781 kB / 0.9632 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000337/1.062, allocations: 188.2 kB / 0.9633 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/1.064, allocations: 368.5 kB / 0.9637 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005405/1.069, allocations: 3.944 MB / 0.9675 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/1.07, allocations: 0.9468 MB / 0.9685 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007474/1.071, allocations: 182.2 kB / 0.9686 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/1.071, allocations: 216.3 kB / 0.9688 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of SimCode: time 9.42e-07/1.071, allocations: 0 / 0.9688 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03585/1.107, allocations: 16.62 MB / 0.9851 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/1.107, allocations: 203 kB / 0.9853 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/3.539, allocations: 0 / 0.9853 GB, free: 5.707 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: