Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Delays.Examples.Delay,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Delays.Examples.Delay,fileNamePrefix="BuildingSystems_BuildingSystems_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.001151/0.001151, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008458/0.008458, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.311/1.311, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001743/0.001743, allocations: 263.1 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9116/0.9116, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003888, allocations: 17.41 kB / 0.5988 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1314, allocations: 88.54 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.4213/0.5528, allocations: 178.6 MB / 0.8597 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006503/0.5593, allocations: 4.868 MB / 0.8644 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003889/0.5597, allocations: 25.81 kB / 0.8644 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008479/0.5606, allocations: 371.2 kB / 0.8648 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.5631, allocations: 1.335 MB / 0.8661 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.5645, allocations: 0.6913 MB / 0.8668 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002044/0.5666, allocations: 2.526 MB / 0.8692 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005608/0.5671, allocations: 499.4 kB / 0.8697 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.5683, allocations: 0.7706 MB / 0.8705 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009091/0.5692, allocations: 0.5409 MB / 0.871 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.5693, allocations: 24.62 kB / 0.871 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.5713, allocations: 1.609 MB / 0.8726 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.5715, allocations: 228 kB / 0.8728 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003118/0.5718, allocations: 383.1 kB / 0.8732 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.5732, allocations: 1.447 MB / 0.8746 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.5732, allocations: 3 kB / 0.8746 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5732, allocations: 0 / 0.8746 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.5732, allocations: 0 / 0.8746 GB, free: 12.3 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.001298/0.5745, allocations: 0.9641 MB / 0.8755 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.5746, allocations: 11.06 kB / 0.8755 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.803e-05/0.5747, allocations: 86.92 kB / 0.8756 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.5759, allocations: 216.2 kB / 0.8758 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007513/0.5767, allocations: 0.5837 MB / 0.8764 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.5767, allocations: 36.53 kB / 0.8764 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.16e-05/0.5768, allocations: 52.75 kB / 0.8765 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008034/0.5776, allocations: 0.4966 MB / 0.877 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.5776, allocations: 0 / 0.877 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-05/0.5777, allocations: 17.12 kB / 0.877 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.5777, allocations: 17.72 kB / 0.877 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007338/0.5784, allocations: 453 kB / 0.8774 GB, free: 10.3 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.0023/0.5808, allocations: 2.011 MB / 0.8794 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.5813, allocations: 350.4 kB / 0.8797 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.5817, allocations: 223.9 kB / 0.8799 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002512/0.582, allocations: 190.5 kB / 0.8801 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.582, allocations: 42.77 kB / 0.8802 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.442e-06/0.582, allocations: 0 / 0.8802 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001184/0.5832, allocations: 0.558 MB / 0.8807 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.5832, allocations: 59.34 kB / 0.8808 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005206/0.5838, allocations: 0.5069 MB / 0.8813 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.5838, allocations: 33.7 kB / 0.8813 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.584, allocations: 304.2 kB / 0.8816 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.007e-05/0.5841, allocations: 114.2 kB / 0.8817 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.5842, allocations: 37.7 kB / 0.8817 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5843, allocations: 366.8 kB / 0.8821 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.5846, allocations: 140.6 kB / 0.8822 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/0.5849, allocations: 220.6 kB / 0.8824 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/0.5855, allocations: 356.9 kB / 0.8828 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5855, allocations: 0 / 0.8828 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007109/0.5862, allocations: 440.6 kB / 0.8832 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.356e-05/0.5863, allocations: 127.5 kB / 0.8833 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5863, allocations: 0 / 0.8833 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.5863, allocations: 4 kB / 0.8833 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.5867, allocations: 71.97 kB / 0.8834 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.5867, allocations: 4 kB / 0.8834 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005135/0.5872, allocations: 67.64 kB / 0.8834 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.5872, allocations: 12 kB / 0.8835 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.152e-06/0.5873, allocations: 4 kB / 0.8835 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006273/0.5879, allocations: 363.7 kB / 0.8838 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.5879, allocations: 4 kB / 0.8838 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-06/0.5879, allocations: 0 / 0.8838 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.5882, allocations: 76 kB / 0.8839 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.5882, allocations: 0 / 0.8839 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/0.5887, allocations: 71.64 kB / 0.884 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.5888, allocations: 11.94 kB / 0.884 GB, free: 3.898 MB / 0.5919 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.000254/0.589, allocations: 289 kB / 0.8842 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/0.5891, allocations: 63.25 kB / 0.8843 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007636/0.5899, allocations: 435.2 kB / 0.8847 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5899, allocations: 4 kB / 0.8847 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5899, allocations: 0 / 0.8847 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006039/0.5905, allocations: 452.2 kB / 0.8851 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.5922, allocations: 1.18 MB / 0.8863 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5922, allocations: 4 kB / 0.8863 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.5926, allocations: 83.89 kB / 0.8864 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.5926, allocations: 4 kB / 0.8864 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.5926, allocations: 8 kB / 0.8864 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.341e-06/0.5927, allocations: 12.11 kB / 0.8864 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5927, allocations: 7.984 kB / 0.8864 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.5937, allocations: 0.711 MB / 0.8871 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.5939, allocations: 180.4 kB / 0.8873 GB, free: 328 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-05/0.594, allocations: 8 kB / 0.8873 GB, free: 320 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005122/0.5945, allocations: 61.05 kB / 0.8873 GB, free: 260 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.5946, allocations: 31.91 kB / 0.8874 GB, free: 228 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.5946, allocations: 15.98 kB / 0.8874 GB, free: 212 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003723/0.595, allocations: 362.8 kB / 0.8877 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.595, allocations: 0 / 0.8877 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000738/0.5957, allocations: 323.2 kB / 0.888 GB, free: 15.54 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.001507/0.5973, allocations: 1.36 MB / 0.8894 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009169/0.5982, allocations: 0.5267 MB / 0.8899 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5982, allocations: 0 / 0.8899 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.5985, allocations: 191.8 kB / 0.8901 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/0.6004, allocations: 366 kB / 0.8904 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006072/0.6065, allocations: 5.073 MB / 0.8954 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.607, allocations: 0.9296 MB / 0.8963 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005688/0.6076, allocations: 176.8 kB / 0.8965 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.6078, allocations: 219.3 kB / 0.8967 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.6079, allocations: 0 / 0.8967 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.114/2.722, allocations: 16.09 MB / 0.9124 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/2.722, allocations: 236.9 kB / 0.9126 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.682/5.404, allocations: 0 / 0.9126 GB, free: 6.488 MB / 0.6231 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Delays_Examples_Delay.fmu > BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe 2>&1)