Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.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: translateModel(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in") translateModel(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004571/0.004571, allocations: 101 kB / 15.73 MB, free: 6.047 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.001098/0.001099, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002266/0.002266, allocations: 287 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9459/0.9459, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002739/0.002739, allocations: 103.8 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.2006, allocations: 86.98 MB / 0.7664 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5325/0.7332, allocations: 214.1 MB / 0.9754 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01357/0.7468, allocations: 12.16 MB / 0.9873 GB, free: 456 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.748, allocations: 43.69 kB / 0.9873 GB, free: 412 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.7492, allocations: 0.5003 MB / 0.9878 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005045/0.7544, allocations: 1.885 MB / 0.9897 GB, free: 14 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004366/0.7587, allocations: 1.907 MB / 0.9915 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002851/0.7616, allocations: 2.352 MB / 0.9938 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001638/0.7633, allocations: 1.233 MB / 0.995 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.7646, allocations: 0.8366 MB / 0.9958 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007113/0.7654, allocations: 0.6612 MB / 0.9965 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.7655, allocations: 92 kB / 0.9966 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004671/0.7702, allocations: 2.696 MB / 0.9992 GB, free: 4.211 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004728/0.7707, allocations: 0.5493 MB / 0.9997 GB, free: 3.66 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006513/0.7713, allocations: 0.7347 MB / 1 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004023/0.7754, allocations: 3.14 MB / 1.004 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.7754, allocations: 0 / 1.004 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.524e-06/0.7754, allocations: 0 / 1.004 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.148e-05/0.7754, allocations: 0 / 1.004 GB, free: 15.77 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002379/0.7778, allocations: 1.744 MB / 1.005 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.7779, allocations: 12.03 kB / 1.005 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.7796, allocations: 373.8 kB / 1.006 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.781, allocations: 0.9581 MB / 1.007 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-05/0.781, allocations: 82.05 kB / 1.007 GB, free: 12.51 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.7812, allocations: 104 kB / 1.007 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.7834, allocations: 1.525 MB / 1.008 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.7834, allocations: 7.875 kB / 1.008 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-05/0.7835, allocations: 44 kB / 1.008 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.11e-05/0.7836, allocations: 69.47 kB / 1.008 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.7849, allocations: 1.025 MB / 1.009 GB, free: 9.629 MB / 0.7637 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.005539/0.7905, allocations: 5.84 MB / 1.015 GB, free: 3.477 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005305/0.791, allocations: 326.1 kB / 1.015 GB, free: 3.121 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.7913, allocations: 246.2 kB / 1.016 GB, free: 2.871 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006489/0.792, allocations: 0.712 MB / 1.016 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.792, allocations: 42.5 kB / 1.016 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=28): time 2.014e-06/0.792, allocations: 0 / 1.016 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of matching and sorting (n=28): time 0.00119/0.7932, allocations: 0.6675 MB / 1.017 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.7933, allocations: 140.4 kB / 1.017 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.7951, allocations: 1.682 MB / 1.019 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.7952, allocations: 33.7 kB / 1.019 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004615/0.7956, allocations: 0.5622 MB / 1.019 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.408e-05/0.7957, allocations: 94.56 kB / 1.019 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.7958, allocations: 61.69 kB / 1.019 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.7959, allocations: 318 kB / 1.02 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.7961, allocations: 163.9 kB / 1.02 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.7965, allocations: 268.4 kB / 1.02 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004514/0.7969, allocations: 413.7 kB / 1.021 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7969, allocations: 4 kB / 1.021 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006847/0.7976, allocations: 0.5347 MB / 1.021 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.7976, allocations: 8 kB / 1.021 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.7977, allocations: 0 / 1.021 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.7977, allocations: 4 kB / 1.021 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.7979, allocations: 55.92 kB / 1.021 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.7979, allocations: 7.984 kB / 1.021 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.7984, allocations: 110.4 kB / 1.021 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.7984, allocations: 20.77 kB / 1.021 GB, free: 12.71 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0004074/0.7988, allocations: 379 kB / 1.022 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.799, allocations: 138.2 kB / 1.022 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005395/0.7996, allocations: 389.2 kB / 1.022 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.7996, allocations: 4 kB / 1.022 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7996, allocations: 4.062 kB / 1.022 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.7996, allocations: 7.938 kB / 1.022 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003055/0.8027, allocations: 2.525 MB / 1.025 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.8027, allocations: 15.88 kB / 1.025 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.8029, allocations: 55.86 kB / 1.025 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.8029, allocations: 4 kB / 1.025 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.8029, allocations: 12.66 kB / 1.025 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.803, allocations: 8 kB / 1.025 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.803, allocations: 11.94 kB / 1.025 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006593/0.8036, allocations: 0.6253 MB / 1.025 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/0.804, allocations: 303.1 kB / 1.026 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.8042, allocations: 12 kB / 1.026 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.8045, allocations: 8 kB / 1.026 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.8046, allocations: 39.84 kB / 1.026 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.8046, allocations: 16 kB / 1.026 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00139/0.806, allocations: 1.223 MB / 1.027 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.806, allocations: 0 / 1.027 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008794/0.8069, allocations: 327.8 kB / 1.027 GB, free: 6.305 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 simulation (26): * Single equations (assignments): 26 * 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.001364/0.8083, allocations: 0.6074 MB / 1.028 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005226/0.8088, allocations: 363.4 kB / 1.028 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8088, allocations: 0 / 1.028 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.809, allocations: 161.6 kB / 1.028 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003523/0.8126, allocations: 0.9201 MB / 1.029 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.8153, allocations: 2.101 MB / 1.031 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007898/0.8161, allocations: 1.212 MB / 1.032 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007731/0.8169, allocations: 302.7 kB / 1.033 GB, free: 0.543 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.8171, allocations: 79.44 kB / 1.033 GB, free: 476 kB / 0.7794 GB Notification: Performance of SimCode: time 3.7e-07/0.8171, allocations: 0 / 1.033 GB, free: 476 kB / 0.7794 GB Notification: Performance of Templates: time 0.04677/0.8639, allocations: 30.97 MB / 1.063 GB, free: 1.871 MB / 0.8106 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)