Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.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.Boundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary") translateModel(BuildingSystems.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007693/0.0007693, allocations: 87.3 kB / 15.06 MB, free: 1.082 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.0008796/0.0008796, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00171/0.00171, allocations: 259 kB / 291.3 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9557/0.9557, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003986, allocations: 11.03 kB / 0.598 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.494/0.6294, allocations: 232.3 MB / 0.9113 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02276/0.6522, allocations: 19.44 MB / 0.9303 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00224/0.6545, allocations: 79.31 kB / 0.9304 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.6564, allocations: 0.5698 MB / 0.9309 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005844/0.6622, allocations: 2.242 MB / 0.9331 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005104/0.6673, allocations: 1.882 MB / 0.935 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00502/0.6724, allocations: 4.324 MB / 0.9392 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.6738, allocations: 0.8946 MB / 0.9401 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.6762, allocations: 1.243 MB / 0.9413 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.6775, allocations: 0.9996 MB / 0.9423 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.6776, allocations: 52 kB / 0.9423 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00713/0.6848, allocations: 3.282 MB / 0.9455 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006813/0.6855, allocations: 0.5959 MB / 0.9461 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005704/0.686, allocations: 412.7 kB / 0.9465 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003753/0.6898, allocations: 2.981 MB / 0.9494 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6898, allocations: 0 / 0.9494 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6898, allocations: 0 / 0.9494 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.787e-05/0.6899, allocations: 0 / 0.9494 GB, free: 0.793 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.002475/0.6923, allocations: 1.929 MB / 0.9513 GB, free: 14.81 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.6924, allocations: 15.97 kB / 0.9513 GB, free: 14.79 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.6943, allocations: 489 kB / 0.9518 GB, free: 14.31 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.696, allocations: 1.202 MB / 0.9529 GB, free: 13.06 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-05/0.6961, allocations: 94.44 kB / 0.953 GB, free: 12.96 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.6963, allocations: 120 kB / 0.9531 GB, free: 12.85 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.6986, allocations: 1.715 MB / 0.9548 GB, free: 10.99 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.6987, allocations: 3.938 kB / 0.9548 GB, free: 10.99 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-05/0.6988, allocations: 48 kB / 0.9549 GB, free: 10.94 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.266e-05/0.6989, allocations: 59.98 kB / 0.9549 GB, free: 10.88 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.7005, allocations: 1.226 MB / 0.9561 GB, free: 9.656 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.006517/0.707, allocations: 7.556 MB / 0.9635 GB, free: 1.707 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000817/0.7078, allocations: 0.6628 MB / 0.9641 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006577/0.7085, allocations: 0.6137 MB / 0.9647 GB, free: 316 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.7099, allocations: 1.871 MB / 0.9666 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.71, allocations: 58.48 kB / 0.9666 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.765e-06/0.71, allocations: 0 / 0.9666 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72): time 0.00225/0.7122, allocations: 1.375 MB / 0.968 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.7124, allocations: 306.7 kB / 0.9683 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/0.7146, allocations: 1.869 MB / 0.9701 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.635e-05/0.7147, allocations: 45.64 kB / 0.9701 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00062/0.7153, allocations: 0.7291 MB / 0.9708 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.7155, allocations: 244.4 kB / 0.9711 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.7156, allocations: 8 kB / 0.9711 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.7157, allocations: 334 kB / 0.9714 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/0.7161, allocations: 325.1 kB / 0.9717 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006121/0.7167, allocations: 0.5586 MB / 0.9723 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.7172, allocations: 404.2 kB / 0.9726 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.7172, allocations: 4 kB / 0.9726 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001341/0.7186, allocations: 1.007 MB / 0.9736 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.7186, allocations: 10.66 kB / 0.9736 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.7186, allocations: 4.125 kB / 0.9736 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.7186, allocations: 8 kB / 0.9737 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/0.719, allocations: 127.8 kB / 0.9738 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.7191, allocations: 4 kB / 0.9738 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006991/0.7198, allocations: 138.4 kB / 0.9739 GB, free: 6.316 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.02e-05/0.7199, allocations: 43.94 kB / 0.974 GB, free: 6.273 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000617/0.7205, allocations: 462.2 kB / 0.9744 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003419/0.7208, allocations: 189.6 kB / 0.9746 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.7225, allocations: 1.087 MB / 0.9756 GB, free: 4.527 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.7226, allocations: 8 kB / 0.9756 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.7226, allocations: 4 kB / 0.9756 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.7226, allocations: 7.984 kB / 0.9757 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.733, allocations: 8.796 MB / 0.9842 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/0.7331, allocations: 16 kB / 0.9843 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.7335, allocations: 147.7 kB / 0.9844 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-05/0.7335, allocations: 20 kB / 0.9844 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/0.7336, allocations: 32 kB / 0.9844 GB, free: 11 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.935e-05/0.7336, allocations: 28.47 kB / 0.9845 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-05/0.7336, allocations: 27.88 kB / 0.9845 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.7353, allocations: 1.664 MB / 0.9861 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006312/0.736, allocations: 414.3 kB / 0.9865 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.7362, allocations: 36.61 kB / 0.9866 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006319/0.7368, allocations: 35.94 kB / 0.9866 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.737, allocations: 103.6 kB / 0.9867 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.521e-05/0.737, allocations: 55.98 kB / 0.9867 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001624/0.7387, allocations: 1.3 MB / 0.988 GB, free: 7.09 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7387, allocations: 4 kB / 0.988 GB, free: 7.086 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001568/0.7402, allocations: 0.5269 MB / 0.9885 GB, free: 6.559 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001816/0.7421, allocations: 0.7772 MB / 0.9893 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.7432, allocations: 0.817 MB / 0.9901 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.237e-06/0.7432, allocations: 0 / 0.9901 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005765/0.7438, allocations: 486.4 kB / 0.9906 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00509/0.7489, allocations: 1.273 MB / 0.9918 GB, free: 3.242 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004154/0.7531, allocations: 3.573 MB / 0.9953 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009769/0.7541, allocations: 1.41 MB / 0.9967 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001369/0.7554, allocations: 482.6 kB / 0.9971 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.7557, allocations: 123.4 kB / 0.9972 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of SimCode: time 7.02e-07/0.7557, allocations: 0 / 0.9972 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of Templates: time 0.05928/0.815, allocations: 41.15 MB / 1.037 GB, free: 4.75 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe 2>&1)