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.001518/0.001518, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001472/0.001472, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.343/1.343, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 304.1 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9607/0.9607, allocations: 169.3 MB / 0.4988 GB, free: 4.52 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 101.3 kB / 0.5959 GB, free: 4.082 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1685, allocations: 86.97 MB / 0.6808 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5597/0.7283, allocations: 214.1 MB / 0.8899 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.7442, allocations: 12.16 MB / 0.9017 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.7459, allocations: 43.69 kB / 0.9018 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.7477, allocations: 0.5158 MB / 0.9023 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005244/0.753, allocations: 1.878 MB / 0.9041 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004731/0.7577, allocations: 1.904 MB / 0.906 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002828/0.7606, allocations: 2.332 MB / 0.9083 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.7624, allocations: 1.237 MB / 0.9095 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.764, allocations: 0.8172 MB / 0.9103 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.765, allocations: 0.6651 MB / 0.9109 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002508/0.7653, allocations: 92 kB / 0.911 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005551/0.7708, allocations: 2.837 MB / 0.9138 GB, free: 14.03 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006169/0.7715, allocations: 0.5493 MB / 0.9143 GB, free: 13.48 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.7726, allocations: 0.7309 MB / 0.915 GB, free: 12.74 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004885/0.7775, allocations: 3.171 MB / 0.9181 GB, free: 9.562 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7775, allocations: 0 / 0.9181 GB, free: 9.562 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7775, allocations: 0 / 0.9181 GB, free: 9.562 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.858e-05/0.7776, allocations: 4 kB / 0.9181 GB, free: 9.559 MB / 0.67 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.002929/0.7805, allocations: 1.744 MB / 0.9198 GB, free: 7.758 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.7806, allocations: 12.03 kB / 0.9198 GB, free: 7.746 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/0.7824, allocations: 373.8 kB / 0.9202 GB, free: 7.379 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.7838, allocations: 0.8955 MB / 0.9211 GB, free: 6.438 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.118e-05/0.7839, allocations: 78.06 kB / 0.9211 GB, free: 6.359 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.784, allocations: 104 kB / 0.9212 GB, free: 6.258 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.7862, allocations: 1.529 MB / 0.9227 GB, free: 4.617 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.7862, allocations: 8 kB / 0.9227 GB, free: 4.609 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.7863, allocations: 44 kB / 0.9228 GB, free: 4.566 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-05/0.7864, allocations: 69.41 kB / 0.9229 GB, free: 4.5 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.7879, allocations: 1.02 MB / 0.9239 GB, free: 3.48 MB / 0.67 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.006552/0.7944, allocations: 5.965 MB / 0.9297 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.795, allocations: 318.2 kB / 0.93 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/0.7953, allocations: 255.3 kB / 0.9302 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006716/0.796, allocations: 0.7039 MB / 0.9309 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.796, allocations: 42.5 kB / 0.931 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=28): time 2.415e-06/0.796, allocations: 0 / 0.931 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of matching and sorting (n=28): time 0.001394/0.7974, allocations: 0.666 MB / 0.9316 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.7975, allocations: 136.6 kB / 0.9317 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/0.7997, allocations: 1.69 MB / 0.9334 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.7997, allocations: 33.7 kB / 0.9334 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004622/0.8002, allocations: 0.5505 MB / 0.934 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 8.007e-05/0.8003, allocations: 94.64 kB / 0.934 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.8004, allocations: 73.59 kB / 0.9341 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.8005, allocations: 318 kB / 0.9344 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.8007, allocations: 159.8 kB / 0.9346 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.801, allocations: 276.8 kB / 0.9348 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.8015, allocations: 405.8 kB / 0.9352 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.8015, allocations: 0 / 0.9352 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008051/0.8023, allocations: 0.5549 MB / 0.9358 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.8024, allocations: 8 kB / 0.9358 GB, free: 6.621 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.8024, allocations: 0 / 0.9358 GB, free: 6.621 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.8024, allocations: 4 kB / 0.9358 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.8026, allocations: 51.92 kB / 0.9358 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.8027, allocations: 7.984 kB / 0.9358 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005731/0.8032, allocations: 110.4 kB / 0.9359 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.272e-05/0.8033, allocations: 20 kB / 0.936 GB, free: 6.43 MB / 0.6856 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.0004448/0.8038, allocations: 382.2 kB / 0.9363 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.804, allocations: 134.3 kB / 0.9364 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005501/0.8046, allocations: 386.5 kB / 0.9368 GB, free: 5.512 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.8046, allocations: 4 kB / 0.9368 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.8046, allocations: 0 / 0.9368 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.8046, allocations: 3.938 kB / 0.9368 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003641/0.8082, allocations: 2.611 MB / 0.9394 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.8083, allocations: 7.938 kB / 0.9394 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.8085, allocations: 52.72 kB / 0.9394 GB, free: 2.652 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/0.8085, allocations: 8 kB / 0.9394 GB, free: 2.645 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.8085, allocations: 16 kB / 0.9395 GB, free: 2.629 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.8085, allocations: 11.94 kB / 0.9395 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/0.8086, allocations: 8 kB / 0.9395 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006869/0.8092, allocations: 0.6259 MB / 0.9401 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004438/0.8097, allocations: 295.2 kB / 0.9404 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/0.8099, allocations: 19.92 kB / 0.9404 GB, free: 1.559 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/0.8104, allocations: 12 kB / 0.9404 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.8104, allocations: 39.84 kB / 0.9404 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.8105, allocations: 20 kB / 0.9405 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001547/0.812, allocations: 1.227 MB / 0.9417 GB, free: 272 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.812, allocations: 0 / 0.9417 GB, free: 272 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001083/0.8131, allocations: 335.8 kB / 0.942 GB, free: 15.93 MB / 0.7012 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.002016/0.8151, allocations: 0.6284 MB / 0.9426 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000713/0.8159, allocations: 355.5 kB / 0.9429 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/0.8159, allocations: 0 / 0.9429 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.8162, allocations: 160.9 kB / 0.9431 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004269/0.8204, allocations: 0.9237 MB / 0.944 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003353/0.8238, allocations: 2.205 MB / 0.9461 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008766/0.8247, allocations: 1.208 MB / 0.9473 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.8249, allocations: 91.42 kB / 0.9474 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of SimCode: time 8.72e-07/0.8249, allocations: 0 / 0.9474 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of Templates: time 0.03487/0.8598, allocations: 24.83 MB / 0.9717 GB, free: 1.66 MB / 0.7169 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)