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.0009967/0.0009967, 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.001312/0.001312, 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.367/1.367, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001747/0.001748, allocations: 277.8 kB / 291.4 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9577/0.9577, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003966, allocations: 18.47 kB / 0.598 GB, free: 28.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1398, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.4637/0.6036, allocations: 195.6 MB / 0.8755 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01317/0.6168, allocations: 11.46 MB / 0.8867 GB, free: 44 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.6179, allocations: 46.06 kB / 0.8868 GB, free: 16 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.619, allocations: 365.8 kB / 0.8871 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003432/0.6224, allocations: 1.407 MB / 0.8885 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003287/0.6257, allocations: 1.298 MB / 0.8898 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002692/0.6284, allocations: 2.62 MB / 0.8923 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.6296, allocations: 0.8862 MB / 0.8932 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.6307, allocations: 0.6845 MB / 0.8938 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007324/0.6314, allocations: 0.6419 MB / 0.8945 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.538e-05/0.6315, allocations: 36 kB / 0.8945 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004396/0.6359, allocations: 2.163 MB / 0.8966 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000488/0.6364, allocations: 0.4909 MB / 0.8971 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.6368, allocations: 309 kB / 0.8974 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.6393, allocations: 2.249 MB / 0.8996 GB, free: 4 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6393, allocations: 0 / 0.8996 GB, free: 4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6393, allocations: 0 / 0.8996 GB, free: 4 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.367e-05/0.6394, 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001885/0.6413, allocations: 1.468 MB / 0.901 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.6413, allocations: 8.031 kB / 0.901 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.6429, allocations: 377.8 kB / 0.9014 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.6441, allocations: 0.8573 MB / 0.9022 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.188e-05/0.6442, allocations: 78.06 kB / 0.9023 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.6443, allocations: 108 kB / 0.9024 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.6465, allocations: 1.522 MB / 0.9039 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.6465, allocations: 7.891 kB / 0.9039 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.304e-05/0.6466, allocations: 44 kB / 0.9039 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.791e-05/0.6467, allocations: 57.55 kB / 0.904 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.6481, allocations: 1.013 MB / 0.905 GB, free: 14.25 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.005702/0.6538, allocations: 5.922 MB / 0.9108 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005153/0.6543, allocations: 322.1 kB / 0.9111 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.6546, allocations: 243.4 kB / 0.9113 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006478/0.6553, allocations: 0.712 MB / 0.912 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.6553, allocations: 38.56 kB / 0.912 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=28): time 4.529e-06/0.6553, allocations: 0 / 0.912 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28): time 0.001227/0.6566, allocations: 0.6674 MB / 0.9127 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.6566, allocations: 144.4 kB / 0.9128 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.6586, allocations: 1.67 MB / 0.9145 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.6587, allocations: 33.7 kB / 0.9145 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004937/0.6592, allocations: 0.5544 MB / 0.915 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.447e-05/0.6593, allocations: 94.69 kB / 0.9151 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.715e-05/0.6593, allocations: 12 kB / 0.9151 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.6594, allocations: 314 kB / 0.9154 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.6596, allocations: 155.9 kB / 0.9156 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.6599, allocations: 265.7 kB / 0.9158 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.6602, allocations: 191.8 kB / 0.916 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.6602, allocations: 0 / 0.916 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007287/0.6609, allocations: 0.5399 MB / 0.9165 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.661, allocations: 8.188 kB / 0.9166 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.661, allocations: 4 kB / 0.9166 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.661, allocations: 7.938 kB / 0.9166 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.6612, allocations: 51.92 kB / 0.9166 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.6612, allocations: 7.984 kB / 0.9166 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.6617, allocations: 117.7 kB / 0.9167 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.6618, allocations: 20.05 kB / 0.9168 GB, free: 1.582 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004371/0.6622, allocations: 377.6 kB / 0.9171 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.6624, allocations: 142.3 kB / 0.9173 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005925/0.663, allocations: 393.1 kB / 0.9176 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.6631, allocations: 7.938 kB / 0.9176 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.6631, allocations: 3.938 kB / 0.9176 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.6631, allocations: 4 kB / 0.9176 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/0.6662, allocations: 2.552 MB / 0.9201 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.6663, allocations: 8 kB / 0.9201 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.6665, allocations: 55.84 kB / 0.9202 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.6665, allocations: 8 kB / 0.9202 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.6665, allocations: 16 kB / 0.9202 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.6665, allocations: 11.95 kB / 0.9202 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.6665, allocations: 7.938 kB / 0.9202 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006621/0.6672, allocations: 0.6145 MB / 0.9208 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/0.6676, allocations: 299.3 kB / 0.9211 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.6678, allocations: 19.98 kB / 0.9211 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.6681, allocations: 27.8 kB / 0.9212 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.6682, allocations: 35.86 kB / 0.9212 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.6682, allocations: 12 kB / 0.9212 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001482/0.6697, allocations: 1.207 MB / 0.9224 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6697, allocations: 0 / 0.9224 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000938/0.6707, allocations: 331.8 kB / 0.9227 GB, free: 11.16 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.001292/0.672, allocations: 0.5054 MB / 0.9232 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005168/0.6725, allocations: 335.1 kB / 0.9235 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6725, allocations: 0 / 0.9235 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.6727, allocations: 165 kB / 0.9237 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/0.6761, allocations: 0.8588 MB / 0.9245 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.6789, allocations: 2.305 MB / 0.9268 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007761/0.6797, allocations: 1.212 MB / 0.928 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008369/0.6806, allocations: 286.7 kB / 0.9282 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.6807, allocations: 79.44 kB / 0.9283 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of SimCode: time 3.9e-07/0.6807, allocations: 0 / 0.9283 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of Templates: time 0.04249/0.7232, allocations: 27.89 MB / 0.9555 GB, free: 9.809 MB / 0.67 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)