Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001296/0.001296, allocations: 190.2 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 222 MB, free: 5.004 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.558/1.558, allocations: 251.7 MB / 0.5088 GB, free: 3.402 MB / 414.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.001486/0.001486, allocations: 71.66 kB / 0.6216 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5103/0.5118, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6535/1.165, allocations: 220.4 MB / 0.939 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01557/1.181, allocations: 13.38 MB / 0.9521 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002642/1.184, allocations: 49.97 kB / 0.9521 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001535/1.185, allocations: 410.9 kB / 0.9525 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004846/1.19, allocations: 1.76 MB / 0.9542 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00511/1.195, allocations: 1.958 MB / 0.9562 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003548/1.199, allocations: 3.045 MB / 0.9591 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/1.2, allocations: 1.058 MB / 0.9602 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/1.202, allocations: 0.7186 MB / 0.9609 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/1.203, allocations: 0.7039 MB / 0.9615 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/1.203, allocations: 48 kB / 0.9616 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007941/1.211, allocations: 3.747 MB / 0.9653 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001003/1.212, allocations: 0.5107 MB / 0.9658 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001328/1.213, allocations: 0.6779 MB / 0.9664 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008435/1.222, allocations: 3.485 MB / 0.9698 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/1.222, allocations: 0 / 0.9698 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/1.222, allocations: 0 / 0.9698 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.138e-05/1.222, allocations: 4 kB / 0.9698 GB, free: 0.4961 MB / 0.7169 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.003495/1.225, allocations: 1.772 MB / 0.9716 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/1.225, allocations: 8.656 kB / 0.9716 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/1.227, allocations: 377.9 kB / 0.9719 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/1.229, allocations: 0.8868 MB / 0.9728 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.89e-05/1.229, allocations: 79.59 kB / 0.9729 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/1.229, allocations: 108.4 kB / 0.973 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/1.232, allocations: 1.531 MB / 0.9745 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/1.232, allocations: 4 kB / 0.9745 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/1.232, allocations: 43.91 kB / 0.9745 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-05/1.232, allocations: 62.73 kB / 0.9746 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/1.233, allocations: 1.024 MB / 0.9756 GB, free: 14.81 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.007428/1.241, allocations: 5.963 MB / 0.9814 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006239/1.241, allocations: 323.7 kB / 0.9817 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/1.242, allocations: 250.7 kB / 0.9819 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007262/1.242, allocations: 0.6033 MB / 0.9825 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/1.243, allocations: 46.97 kB / 0.9826 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 3.146e-06/1.243, allocations: 0 / 0.9826 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.001448/1.244, allocations: 0.6669 MB / 0.9832 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.747e-05/1.244, allocations: 133.5 kB / 0.9833 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/1.246, allocations: 1.69 MB / 0.985 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.343e-05/1.246, allocations: 32.58 kB / 0.985 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004434/1.246, allocations: 0.5701 MB / 0.9856 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.179e-05/1.247, allocations: 94.7 kB / 0.9857 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/1.247, allocations: 61.27 kB / 0.9857 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.247, allocations: 316.4 kB / 0.986 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/1.247, allocations: 158.9 kB / 0.9862 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/1.247, allocations: 268 kB / 0.9864 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/1.248, allocations: 408.6 kB / 0.9868 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/1.248, allocations: 0 / 0.9868 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008409/1.249, allocations: 0.5462 MB / 0.9874 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.249, allocations: 4.906 kB / 0.9874 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/1.249, allocations: 6.156 kB / 0.9874 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/1.249, allocations: 3.281 kB / 0.9874 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/1.249, allocations: 59.53 kB / 0.9874 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/1.249, allocations: 3.344 kB / 0.9874 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006584/1.25, allocations: 112.3 kB / 0.9875 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/1.25, allocations: 18.83 kB / 0.9876 GB, free: 9.238 MB / 0.7325 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.0005279/1.25, allocations: 382.2 kB / 0.9879 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/1.251, allocations: 144.4 kB / 0.9881 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005606/1.251, allocations: 384.5 kB / 0.9884 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.251, allocations: 4.406 kB / 0.9884 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.251, allocations: 0 / 0.9884 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.251, allocations: 6.375 kB / 0.9884 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0039/1.255, allocations: 2.615 MB / 0.991 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.255, allocations: 4.25 kB / 0.991 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/1.255, allocations: 51.44 kB / 0.9911 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/1.255, allocations: 11.97 kB / 0.9911 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/1.255, allocations: 20.44 kB / 0.9911 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/1.255, allocations: 8.875 kB / 0.9911 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.255, allocations: 9.906 kB / 0.9911 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008081/1.256, allocations: 0.6205 MB / 0.9917 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004707/1.257, allocations: 295.1 kB / 0.992 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/1.257, allocations: 17.53 kB / 0.992 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/1.257, allocations: 21.66 kB / 0.992 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/1.257, allocations: 41.16 kB / 0.9921 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/1.257, allocations: 15.91 kB / 0.9921 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001688/1.259, allocations: 1.228 MB / 0.9933 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/1.259, allocations: 0 / 0.9933 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001579/1.261, allocations: 376.9 kB / 0.9936 GB, free: 6.867 MB / 0.7325 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.002042/1.263, allocations: 0.7165 MB / 0.9943 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000597/1.263, allocations: 339 kB / 0.9947 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.263, allocations: 1.906 kB / 0.9947 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/1.264, allocations: 157.7 kB / 0.9948 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/1.267, allocations: 0.8752 MB / 0.9957 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/1.27, allocations: 2.418 MB / 0.998 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008136/1.271, allocations: 1.209 MB / 0.9992 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001072/1.272, allocations: 296.4 kB / 0.9995 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/1.272, allocations: 85.67 kB / 0.9996 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/1.272, allocations: 0 / 0.9996 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of Templates: time 0.04849/1.321, allocations: 30.35 MB / 1.029 GB, free: 7.43 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)