Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_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.BoundaryWithXi_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in") translateModel(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001345/0.001345, allocations: 188.1 kB / 16.25 MB, free: 6.625 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.38/1.38, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 279.2 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.968/0.968, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 94.42 kB / 0.5947 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.194, allocations: 86.98 MB / 0.6796 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.6917/0.8857, allocations: 211.9 MB / 0.8866 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01696/0.9027, allocations: 12.15 MB / 0.8985 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001873/0.9046, allocations: 46.34 kB / 0.8985 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.9063, allocations: 443.2 kB / 0.8989 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005236/0.9116, allocations: 1.758 MB / 0.9006 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004582/0.9162, allocations: 1.787 MB / 0.9024 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00281/0.919, allocations: 2.384 MB / 0.9047 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001661/0.9207, allocations: 1.137 MB / 0.9058 GB, free: 136 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.9223, allocations: 0.8418 MB / 0.9067 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.9235, allocations: 0.7275 MB / 0.9074 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002359/0.9238, allocations: 91.94 kB / 0.9074 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00585/0.9296, allocations: 3.251 MB / 0.9106 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006223/0.9303, allocations: 0.5376 MB / 0.9111 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.9316, allocations: 0.7309 MB / 0.9119 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006183/0.9377, allocations: 3.409 MB / 0.9152 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.9378, allocations: 0 / 0.9152 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9378, allocations: 0 / 0.9152 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.682e-05/0.9379, allocations: 0 / 0.9152 GB, free: 6.609 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003231/0.9411, allocations: 1.733 MB / 0.9169 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.9411, allocations: 12.03 kB / 0.9169 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.943, allocations: 373.8 kB / 0.9173 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.9443, allocations: 0.8878 MB / 0.9181 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.569e-05/0.9444, allocations: 74.03 kB / 0.9182 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.9445, allocations: 100 kB / 0.9183 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002261/0.9468, allocations: 1.509 MB / 0.9198 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.9469, allocations: 7.875 kB / 0.9198 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/0.947, allocations: 44 kB / 0.9198 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.539e-05/0.947, allocations: 69.47 kB / 0.9199 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.9485, allocations: 1.013 MB / 0.9209 GB, free: 0.582 MB / 0.6231 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.007259/0.9558, allocations: 5.927 MB / 0.9267 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006382/0.9564, allocations: 318.2 kB / 0.927 GB, free: 10 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.9568, allocations: 255.3 kB / 0.9272 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007299/0.9575, allocations: 0.7042 MB / 0.9279 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.9576, allocations: 42.55 kB / 0.9279 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=28): time 3.927e-06/0.9576, allocations: 3.984 kB / 0.9279 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28): time 0.001397/0.959, allocations: 0.6732 MB / 0.9286 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.9591, allocations: 132.5 kB / 0.9287 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/0.9613, allocations: 1.658 MB / 0.9303 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.088e-05/0.9614, allocations: 33.7 kB / 0.9304 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005395/0.9619, allocations: 0.5541 MB / 0.9309 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.962, allocations: 94.66 kB / 0.931 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.9622, allocations: 73.62 kB / 0.9311 GB, free: 5.555 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.9623, allocations: 325.9 kB / 0.9314 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.9625, allocations: 155.8 kB / 0.9315 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.9628, allocations: 298.9 kB / 0.9318 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.9633, allocations: 430.6 kB / 0.9322 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.9633, allocations: 3.938 kB / 0.9322 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008364/0.9642, allocations: 0.5581 MB / 0.9328 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.9642, allocations: 8 kB / 0.9328 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.9642, allocations: 256 / 0.9328 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.9642, allocations: 15.94 kB / 0.9328 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.9645, allocations: 55.92 kB / 0.9328 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.9645, allocations: 4 kB / 0.9329 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006307/0.9651, allocations: 114.5 kB / 0.933 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.9652, allocations: 19.98 kB / 0.933 GB, free: 3.508 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.000452/0.9656, allocations: 382.2 kB / 0.9333 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.9659, allocations: 134.3 kB / 0.9335 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006145/0.9665, allocations: 376.9 kB / 0.9338 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.9665, allocations: 4 kB / 0.9338 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.9665, allocations: 7.984 kB / 0.9338 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.9665, allocations: 3.938 kB / 0.9338 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003677/0.9702, allocations: 2.603 MB / 0.9364 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.9702, allocations: 8.812 kB / 0.9364 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.9704, allocations: 55.91 kB / 0.9364 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/0.9705, allocations: 12 kB / 0.9365 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.9705, allocations: 15.94 kB / 0.9365 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.9705, allocations: 11.94 kB / 0.9365 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/0.9705, allocations: 7.938 kB / 0.9365 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007885/0.9713, allocations: 0.6118 MB / 0.9371 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004299/0.9717, allocations: 295.2 kB / 0.9374 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.972, allocations: 19.94 kB / 0.9374 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/0.9724, allocations: 15.91 kB / 0.9374 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.9725, allocations: 43.78 kB / 0.9374 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.9725, allocations: 12 kB / 0.9375 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001618/0.9741, allocations: 1.203 MB / 0.9386 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9741, allocations: 0 / 0.9386 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001006/0.9751, allocations: 347.8 kB / 0.939 GB, free: 13.04 MB / 0.6544 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.001769/0.9769, allocations: 0.6205 MB / 0.9396 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005599/0.9775, allocations: 367 kB / 0.9399 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.9775, allocations: 3.938 kB / 0.9399 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.9777, allocations: 161.2 kB / 0.9401 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/0.9815, allocations: 0.9247 MB / 0.941 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.9847, allocations: 2.399 MB / 0.9433 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008624/0.9856, allocations: 1.193 MB / 0.9445 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009749/0.9866, allocations: 298.7 kB / 0.9448 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.9868, allocations: 79.44 kB / 0.9449 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.9868, allocations: 0 / 0.9449 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of Templates: time 0.0469/1.034, allocations: 30.07 MB / 0.9742 GB, free: 9.27 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)