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: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.264/1.264, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002009/0.002009, allocations: 286.8 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.989/0.989, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 98.34 kB / 0.5953 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1334, allocations: 86.97 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.4461/0.5796, allocations: 214.1 MB / 0.8893 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01329/0.5929, allocations: 12.16 MB / 0.9012 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009838/0.5939, allocations: 41.94 kB / 0.9012 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.595, allocations: 0.5125 MB / 0.9017 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003799/0.5988, allocations: 1.87 MB / 0.9036 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003714/0.6025, allocations: 1.903 MB / 0.9054 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001908/0.6044, allocations: 2.349 MB / 0.9077 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.6057, allocations: 1.23 MB / 0.9089 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009237/0.6067, allocations: 0.8249 MB / 0.9097 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006509/0.6073, allocations: 0.6534 MB / 0.9104 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.6075, allocations: 92 kB / 0.9104 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004357/0.6118, allocations: 2.852 MB / 0.9132 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000414/0.6123, allocations: 0.5415 MB / 0.9138 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006281/0.6129, allocations: 0.7347 MB / 0.9145 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003336/0.6162, allocations: 3.167 MB / 0.9176 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.6163, allocations: 0 / 0.9176 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6163, allocations: 0 / 0.9176 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.6163, allocations: 0 / 0.9176 GB, free: 4.281 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001911/0.6182, allocations: 1.748 MB / 0.9193 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.6182, allocations: 8.031 kB / 0.9193 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/0.6184, allocations: 168.8 kB / 0.9194 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.62, allocations: 377.7 kB / 0.9198 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.6211, allocations: 0.8995 MB / 0.9207 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.6212, allocations: 74.06 kB / 0.9208 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.6213, allocations: 103.9 kB / 0.9209 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.6233, allocations: 1.53 MB / 0.9224 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.6233, allocations: 7.938 kB / 0.9224 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.708e-05/0.6234, allocations: 52 kB / 0.9224 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.491e-05/0.6235, allocations: 65.47 kB / 0.9225 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.6248, allocations: 1.025 MB / 0.9235 GB, free: 14.01 MB / 0.6387 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.005644/0.6304, allocations: 5.964 MB / 0.9293 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005298/0.631, allocations: 318.2 kB / 0.9296 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.6313, allocations: 247.4 kB / 0.9298 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006642/0.6319, allocations: 0.7039 MB / 0.9305 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.632, allocations: 46.48 kB / 0.9306 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=28): time 1.863e-06/0.632, allocations: 0 / 0.9306 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28): time 0.001225/0.6332, allocations: 0.6799 MB / 0.9312 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.6333, allocations: 132.5 kB / 0.9314 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.6352, allocations: 1.682 MB / 0.933 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.6352, allocations: 33.7 kB / 0.933 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004716/0.6357, allocations: 0.5583 MB / 0.9336 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.764e-05/0.6358, allocations: 94.77 kB / 0.9337 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.6359, allocations: 69.61 kB / 0.9337 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.636, allocations: 322 kB / 0.934 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.6362, allocations: 155.9 kB / 0.9342 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.6365, allocations: 264.5 kB / 0.9344 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.6369, allocations: 408.2 kB / 0.9348 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.637, allocations: 0 / 0.9348 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006888/0.6376, allocations: 0.5386 MB / 0.9354 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.6377, allocations: 8 kB / 0.9354 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.6377, allocations: 7.922 kB / 0.9354 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.6377, allocations: 4 kB / 0.9354 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.6379, allocations: 55.92 kB / 0.9354 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.6379, allocations: 11.88 kB / 0.9354 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004399/0.6384, allocations: 118.7 kB / 0.9356 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.6384, allocations: 20 kB / 0.9356 GB, free: 0.9609 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004128/0.6389, allocations: 378.3 kB / 0.9359 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.6391, allocations: 134.3 kB / 0.9361 GB, free: 460 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005066/0.6396, allocations: 385 kB / 0.9364 GB, free: 52 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.6396, allocations: 8 kB / 0.9364 GB, free: 44 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.6396, allocations: 3.938 kB / 0.9364 GB, free: 40 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.6396, allocations: 7.922 kB / 0.9364 GB, free: 32 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/0.643, allocations: 2.604 MB / 0.939 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.643, allocations: 8 kB / 0.939 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.6432, allocations: 55.86 kB / 0.9391 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.6432, allocations: 8 kB / 0.9391 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.6433, allocations: 8 kB / 0.9391 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.6433, allocations: 11.98 kB / 0.9391 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.6433, allocations: 11.94 kB / 0.9391 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006359/0.6439, allocations: 0.6198 MB / 0.9397 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/0.6443, allocations: 299.2 kB / 0.94 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.6445, allocations: 15.94 kB / 0.94 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.6448, allocations: 19.98 kB / 0.94 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.6449, allocations: 31.86 kB / 0.94 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.6449, allocations: 12 kB / 0.9401 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001356/0.6463, allocations: 1.231 MB / 0.9413 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6463, allocations: 4 kB / 0.9413 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008666/0.6471, allocations: 331.8 kB / 0.9416 GB, free: 10.48 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.00226/0.6494, allocations: 1.687 MB / 0.9432 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005118/0.6499, allocations: 351.5 kB / 0.9436 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6499, allocations: 3.938 kB / 0.9436 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.6501, allocations: 164.3 kB / 0.9437 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/0.6536, allocations: 0.9129 MB / 0.9446 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.666, allocations: 11.57 MB / 0.9559 GB, free: 11.16 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007528/0.6668, allocations: 1.204 MB / 0.9571 GB, free: 9.93 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008081/0.6676, allocations: 294.7 kB / 0.9574 GB, free: 9.637 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/0.6681, allocations: 467.2 kB / 0.9578 GB, free: 9.184 MB / 0.67 GB Notification: Performance of SimCode: time 3.91e-07/0.6681, allocations: 0 / 0.9578 GB, free: 9.184 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07102/0.7391, allocations: 43.15 MB / 1 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/8.349, allocations: 11.94 kB / 1 GB, free: 14.58 MB / 0.7169 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)