Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.38/1.38, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009793/0.0009794, allocations: 176.9 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007554/0.0007553, allocations: 85.03 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002955, allocations: 12.31 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1837, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6657/0.8494, allocations: 180.9 MB / 1.073 GB, free: 1.742 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008255/0.8577, allocations: 4.983 MB / 1.078 GB, free: 1.617 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.859, allocations: 26.38 kB / 1.078 GB, free: 1.617 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.8604, allocations: 372.1 kB / 1.079 GB, free: 1.609 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004066/0.8644, allocations: 1.335 MB / 1.08 GB, free: 1.539 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.867, allocations: 0.7174 MB / 1.081 GB, free: 1.512 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004165/0.8712, allocations: 2.588 MB / 1.083 GB, free: 1.508 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009431/0.8721, allocations: 0.5014 MB / 1.084 GB, free: 1.422 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00229/0.8744, allocations: 0.7849 MB / 1.084 GB, free: 1.414 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.8759, allocations: 0.5638 MB / 1.085 GB, free: 1.402 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.876, allocations: 25.5 kB / 1.085 GB, free: 1.402 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003471/0.8795, allocations: 1.604 MB / 1.087 GB, free: 1.387 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003451/0.8798, allocations: 233.2 kB / 1.087 GB, free: 1.383 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005943/0.8804, allocations: 366.1 kB / 1.087 GB, free: 1.383 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.8821, allocations: 1.035 MB / 1.088 GB, free: 1.305 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.8821, allocations: 0 / 1.088 GB, free: 1.305 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.786e-06/0.8821, allocations: 6.688 kB / 1.088 GB, free: 1.305 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.8821, allocations: 0 / 1.088 GB, free: 1.305 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001703/0.8838, allocations: 0.9691 MB / 1.089 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.8839, allocations: 9.469 kB / 1.089 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.8853, allocations: 212.6 kB / 1.089 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009331/0.8862, allocations: 0.5809 MB / 1.09 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.8863, allocations: 36.06 kB / 1.09 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.663e-05/0.8863, allocations: 54.52 kB / 1.09 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009256/0.8873, allocations: 0.4969 MB / 1.09 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.8873, allocations: 1.219 kB / 1.09 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/0.8874, allocations: 19.28 kB / 1.09 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.8874, allocations: 23.83 kB / 1.09 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000818/0.8882, allocations: 457.1 kB / 1.091 GB, free: 16.25 MB / 0.7136 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.002516/0.8908, allocations: 2.016 MB / 1.093 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005076/0.8913, allocations: 346.5 kB / 1.093 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.8916, allocations: 216.7 kB / 1.093 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003259/0.8919, allocations: 190.6 kB / 1.094 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.892, allocations: 48.25 kB / 1.094 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 1.994e-06/0.892, allocations: 0 / 1.094 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001155/0.8931, allocations: 0.5518 MB / 1.094 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.8932, allocations: 57.62 kB / 1.094 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005114/0.8937, allocations: 0.5091 MB / 1.095 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.8938, allocations: 29.52 kB / 1.095 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.8939, allocations: 309.8 kB / 1.095 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.617e-05/0.894, allocations: 116.8 kB / 1.095 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.8941, allocations: 35.41 kB / 1.095 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.8942, allocations: 366 kB / 1.096 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.8945, allocations: 144.3 kB / 1.096 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.8948, allocations: 222.7 kB / 1.096 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005419/0.8953, allocations: 340.7 kB / 1.096 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8954, allocations: 0 / 1.096 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007205/0.8961, allocations: 432 kB / 1.097 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.931e-05/0.8962, allocations: 117 kB / 1.097 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.8962, allocations: 6.359 kB / 1.097 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.8962, allocations: 0 / 1.097 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.8966, allocations: 78.08 kB / 1.097 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.036e-06/0.8966, allocations: 7.156 kB / 1.097 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005754/0.8972, allocations: 61.45 kB / 1.097 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.8972, allocations: 14.09 kB / 1.097 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.283e-06/0.8972, allocations: 3.531 kB / 1.097 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005791/0.8978, allocations: 353.9 kB / 1.097 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.8978, allocations: 0 / 1.097 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-06/0.8978, allocations: 7.406 kB / 1.097 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.8981, allocations: 73.73 kB / 1.097 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.8981, allocations: 8.906 kB / 1.097 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.8986, allocations: 65.92 kB / 1.097 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.8987, allocations: 10.31 kB / 1.097 GB, free: 13.79 MB / 0.7136 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.0003272/0.899, allocations: 292.8 kB / 1.098 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.693e-05/0.8991, allocations: 57.28 kB / 1.098 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007204/0.8998, allocations: 425.8 kB / 1.098 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.8998, allocations: 9.047 kB / 1.098 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8999, allocations: 7.281 kB / 1.098 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006352/0.9005, allocations: 441.3 kB / 1.099 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.9022, allocations: 1.183 MB / 1.1 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.9022, allocations: 0 / 1.1 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/0.9026, allocations: 92.19 kB / 1.1 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.9026, allocations: 2.75 kB / 1.1 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.9027, allocations: 6.781 kB / 1.1 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.9027, allocations: 6.938 kB / 1.1 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.9027, allocations: 3.562 kB / 1.1 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.9037, allocations: 0.7455 MB / 1.101 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/0.904, allocations: 183 kB / 1.101 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.014e-05/0.9041, allocations: 12.94 kB / 1.101 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004986/0.9046, allocations: 56.67 kB / 1.101 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.9047, allocations: 29.88 kB / 1.101 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.9047, allocations: 14.58 kB / 1.101 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003779/0.9051, allocations: 363 kB / 1.101 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9051, allocations: 0 / 1.101 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008351/0.906, allocations: 334.4 kB / 1.102 GB, free: 12.46 MB / 0.7136 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 (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.0004326/0.9064, allocations: 190.9 kB / 1.102 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009576/0.9074, allocations: 0.5259 MB / 1.102 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.9074, allocations: 384 / 1.102 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002836/0.9077, allocations: 193 kB / 1.102 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/0.9095, allocations: 360.4 kB / 1.103 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.9117, allocations: 1.518 MB / 1.104 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/0.9123, allocations: 0.9361 MB / 1.105 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.9125, allocations: 45.22 kB / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of SimCode: time 6.31e-07/0.9125, allocations: 0 / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of Templates: time 0.01705/0.9296, allocations: 9.733 MB / 1.115 GB, free: 9.918 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)