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.006829/0.006829, allocations: 98.08 kB / 15.73 MB, free: 6.035 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.00138/0.00138, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 279 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.9343/0.9343, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 91.86 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1591, allocations: 86.98 MB / 0.7664 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.5608/0.7199, allocations: 214.1 MB / 0.9754 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01621/0.7362, allocations: 12.16 MB / 0.9873 GB, free: 412 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.7376, allocations: 43.69 kB / 0.9873 GB, free: 368 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.7393, allocations: 0.5041 MB / 0.9878 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006944/0.7462, allocations: 1.878 MB / 0.9897 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005079/0.7513, allocations: 1.907 MB / 0.9915 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003161/0.7545, allocations: 2.376 MB / 0.9938 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.7563, allocations: 1.206 MB / 0.995 GB, free: 8.477 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.7578, allocations: 0.8327 MB / 0.9958 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009816/0.7588, allocations: 0.6574 MB / 0.9965 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001961/0.759, allocations: 88 kB / 0.9966 GB, free: 6.895 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004999/0.764, allocations: 2.696 MB / 0.9992 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005425/0.7646, allocations: 0.5337 MB / 0.9997 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.7656, allocations: 0.7308 MB / 1 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005138/0.7708, allocations: 3.127 MB / 1.003 GB, free: 15.78 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.7708, allocations: 4 kB / 1.003 GB, free: 15.78 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7708, allocations: 4 kB / 1.003 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.142e-05/0.7709, allocations: 0 / 1.003 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002976/0.7738, allocations: 1.781 MB / 1.005 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.7739, allocations: 15.97 kB / 1.005 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.7756, allocations: 382.5 kB / 1.006 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.7771, allocations: 0.9628 MB / 1.007 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.477e-05/0.7772, allocations: 74.03 kB / 1.007 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.7773, allocations: 104 kB / 1.007 GB, free: 12.37 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.7795, allocations: 1.505 MB / 1.008 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.7795, allocations: 3.938 kB / 1.008 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.7796, allocations: 52 kB / 1.008 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.251e-05/0.7797, allocations: 65.47 kB / 1.008 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.7812, allocations: 1.017 MB / 1.009 GB, free: 9.613 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.005796/0.787, allocations: 5.83 MB / 1.015 GB, free: 3.473 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005699/0.7876, allocations: 318.2 kB / 1.015 GB, free: 3.125 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.7879, allocations: 251.3 kB / 1.016 GB, free: 2.867 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006624/0.7885, allocations: 0.7081 MB / 1.016 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.7886, allocations: 46.55 kB / 1.016 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/0.7886, allocations: 0 / 1.016 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of matching and sorting (n=28): time 0.001288/0.7899, allocations: 0.6695 MB / 1.017 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.7899, allocations: 132.5 kB / 1.017 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.792, allocations: 1.658 MB / 1.019 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.792, allocations: 33.7 kB / 1.019 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004931/0.7925, allocations: 0.5504 MB / 1.019 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.255e-05/0.7926, allocations: 99.12 kB / 1.019 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.7928, allocations: 69.69 kB / 1.019 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.7929, allocations: 321.9 kB / 1.02 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.7931, allocations: 167.8 kB / 1.02 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.7934, allocations: 294.7 kB / 1.02 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.794, allocations: 427.5 kB / 1.021 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.794, allocations: 3.938 kB / 1.021 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007979/0.7948, allocations: 0.5751 MB / 1.021 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.7948, allocations: 8 kB / 1.021 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.7948, allocations: 0 / 1.021 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.7948, allocations: 4 kB / 1.021 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.7951, allocations: 63.91 kB / 1.021 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.7951, allocations: 4 kB / 1.021 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/0.7956, allocations: 107 kB / 1.021 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.7957, allocations: 23.98 kB / 1.021 GB, free: 12.63 MB / 0.7794 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.000444/0.7961, allocations: 382.4 kB / 1.022 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.7963, allocations: 143.1 kB / 1.022 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005627/0.7969, allocations: 385 kB / 1.022 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.7969, allocations: 4 kB / 1.022 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.7969, allocations: 7.938 kB / 1.022 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.797, allocations: 64 / 1.022 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.8002, allocations: 2.528 MB / 1.025 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.8002, allocations: 4 kB / 1.025 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.8004, allocations: 47.92 kB / 1.025 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.8005, allocations: 8.75 kB / 1.025 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.8005, allocations: 15.94 kB / 1.025 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.28e-05/0.8005, allocations: 19.92 kB / 1.025 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.8005, allocations: 11.94 kB / 1.025 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006852/0.8012, allocations: 0.6185 MB / 1.025 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004257/0.8016, allocations: 296 kB / 1.026 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/0.8019, allocations: 15.94 kB / 1.026 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.8023, allocations: 15.98 kB / 1.026 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.8023, allocations: 35.8 kB / 1.026 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.8024, allocations: 20 kB / 1.026 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001517/0.8039, allocations: 1.207 MB / 1.027 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.11e-07/0.8039, allocations: 0 / 1.027 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0009204/0.8048, allocations: 327.4 kB / 1.027 GB, free: 6.246 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.001534/0.8064, allocations: 0.6126 MB / 1.028 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005742/0.807, allocations: 367.4 kB / 1.028 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.807, allocations: 4 kB / 1.028 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.8072, allocations: 157.4 kB / 1.028 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003852/0.8111, allocations: 0.9301 MB / 1.029 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.8141, allocations: 2.111 MB / 1.031 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000893/0.815, allocations: 1.204 MB / 1.032 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001011/0.816, allocations: 294.7 kB / 1.033 GB, free: 480 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.8162, allocations: 83.42 kB / 1.033 GB, free: 396 kB / 0.7794 GB Notification: Performance of SimCode: time 8.11e-07/0.8162, allocations: 0 / 1.033 GB, free: 396 kB / 0.7794 GB Notification: Performance of Templates: time 0.04681/0.8631, allocations: 30.88 MB / 1.063 GB, free: 1.875 MB / 0.8106 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)