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.0009514/0.0009514, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001058/0.001058, allocations: 168.7 kB / 15.95 MB, free: 204 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.341/1.341, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001791/0.001791, allocations: 263.2 kB / 291.3 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9493/0.9493, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.000391, allocations: 13.66 kB / 0.598 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1373, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.4634/0.6007, allocations: 195.6 MB / 0.8755 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01312/0.6139, allocations: 11.46 MB / 0.8867 GB, free: 40 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.615, allocations: 47.06 kB / 0.8868 GB, free: 12 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.616, allocations: 362.7 kB / 0.8871 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003409/0.6194, allocations: 1.401 MB / 0.8885 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003291/0.6227, allocations: 1.294 MB / 0.8897 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002735/0.6255, allocations: 2.652 MB / 0.8923 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.6265, allocations: 0.8415 MB / 0.8932 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.6276, allocations: 0.704 MB / 0.8938 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007647/0.6284, allocations: 0.6458 MB / 0.8945 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.853e-05/0.6285, allocations: 36 kB / 0.8945 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004322/0.6328, allocations: 2.162 MB / 0.8966 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004441/0.6333, allocations: 498.6 kB / 0.8971 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.6336, allocations: 305 kB / 0.8974 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002381/0.636, allocations: 2.237 MB / 0.8996 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.636, allocations: 7.938 kB / 0.8996 GB, free: 4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.636, allocations: 0 / 0.8996 GB, free: 4 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.797e-05/0.636, allocations: 0 / 0.8996 GB, free: 4 MB / 0.6075 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.001817/0.6379, allocations: 1.46 MB / 0.901 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.6379, allocations: 8.031 kB / 0.901 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.6394, allocations: 369.8 kB / 0.9014 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.6406, allocations: 0.8573 MB / 0.9022 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.6407, allocations: 74.03 kB / 0.9023 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.6408, allocations: 100 kB / 0.9024 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.6429, allocations: 1.502 MB / 0.9038 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/0.6429, allocations: 7.891 kB / 0.9038 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.382e-05/0.643, allocations: 51.97 kB / 0.9039 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-05/0.6431, allocations: 61.53 kB / 0.9039 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.6445, allocations: 1.005 MB / 0.9049 GB, free: 14.31 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.005508/0.65, allocations: 5.875 MB / 0.9107 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005216/0.6505, allocations: 318.2 kB / 0.911 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.6509, allocations: 251.6 kB / 0.9112 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006511/0.6515, allocations: 0.7155 MB / 0.9119 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.6516, allocations: 34.56 kB / 0.9119 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=28): time 3.677e-06/0.6516, allocations: 7.922 kB / 0.912 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28): time 0.001207/0.6528, allocations: 0.6686 MB / 0.9126 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.6529, allocations: 132.5 kB / 0.9127 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.6548, allocations: 1.646 MB / 0.9143 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.6548, allocations: 33.7 kB / 0.9144 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004956/0.6553, allocations: 0.5463 MB / 0.9149 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.6554, allocations: 98.55 kB / 0.915 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/0.6554, allocations: 4 kB / 0.915 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.6555, allocations: 326 kB / 0.9153 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.6558, allocations: 163.9 kB / 0.9155 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.6561, allocations: 291.1 kB / 0.9157 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.6564, allocations: 197.1 kB / 0.9159 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.6564, allocations: 0 / 0.9159 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007292/0.6571, allocations: 0.5621 MB / 0.9165 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.6571, allocations: 8 kB / 0.9165 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.6571, allocations: 4 kB / 0.9165 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.6572, allocations: 4 kB / 0.9165 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.6574, allocations: 63.84 kB / 0.9166 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.6574, allocations: 4 kB / 0.9166 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/0.6579, allocations: 110.6 kB / 0.9167 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.547e-05/0.6579, allocations: 28.09 kB / 0.9167 GB, free: 1.625 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004297/0.6584, allocations: 373.6 kB / 0.9171 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.6586, allocations: 142.2 kB / 0.9172 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005691/0.6592, allocations: 381 kB / 0.9175 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.6592, allocations: 0 / 0.9175 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6592, allocations: 8 kB / 0.9176 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.6592, allocations: 3.984 kB / 0.9176 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.6623, allocations: 2.548 MB / 0.92 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.6623, allocations: 4 kB / 0.9201 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.6625, allocations: 55.98 kB / 0.9201 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.6625, allocations: 8 kB / 0.9201 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.6625, allocations: 11.98 kB / 0.9201 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.555e-06/0.6625, allocations: 11.94 kB / 0.9201 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.6626, allocations: 11.94 kB / 0.9201 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006521/0.6632, allocations: 0.6145 MB / 0.9207 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003679/0.6636, allocations: 303.3 kB / 0.921 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.6637, allocations: 8 kB / 0.921 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.6641, allocations: 31.83 kB / 0.9211 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.6642, allocations: 39.77 kB / 0.9211 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.6642, allocations: 20 kB / 0.9211 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001386/0.6656, allocations: 1.179 MB / 0.9223 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6656, allocations: 0 / 0.9223 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008963/0.6665, allocations: 335.8 kB / 0.9226 GB, free: 11.24 MB / 0.6387 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 (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.00129/0.6678, allocations: 0.5044 MB / 0.9231 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005167/0.6683, allocations: 353.7 kB / 0.9234 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6683, allocations: 3.984 kB / 0.9234 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.6685, allocations: 161.4 kB / 0.9236 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/0.6718, allocations: 0.8486 MB / 0.9244 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.6745, allocations: 2.274 MB / 0.9266 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007923/0.6753, allocations: 1.197 MB / 0.9278 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008016/0.6762, allocations: 302.7 kB / 0.9281 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.6763, allocations: 75.44 kB / 0.9282 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.6763, allocations: 4 kB / 0.9282 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of Templates: time 0.04163/0.718, allocations: 27.8 MB / 0.9553 GB, free: 10.01 MB / 0.67 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)