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: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_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.001219/0.001219, allocations: 108 kB / 15.61 MB, free: 148 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.001072/0.001072, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.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.002037/0.002037, allocations: 271.2 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9043/0.9043, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 101.3 kB / 0.5953 GB, free: 27.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1363, allocations: 86.97 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.4604/0.5967, allocations: 214.1 MB / 0.8893 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01361/0.6104, allocations: 12.16 MB / 0.9012 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.6117, allocations: 42.41 kB / 0.9012 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.6128, allocations: 0.4982 MB / 0.9017 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004363/0.6172, allocations: 1.888 MB / 0.9036 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004098/0.6213, allocations: 1.903 MB / 0.9054 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002339/0.6237, allocations: 2.376 MB / 0.9077 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.625, allocations: 1.201 MB / 0.9089 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.6261, allocations: 0.8211 MB / 0.9097 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00066/0.6268, allocations: 0.6651 MB / 0.9104 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.6269, allocations: 88 kB / 0.9104 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004843/0.6318, allocations: 2.846 MB / 0.9132 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000451/0.6322, allocations: 0.5376 MB / 0.9138 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006409/0.6329, allocations: 0.7192 MB / 0.9145 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003579/0.6365, allocations: 3.159 MB / 0.9175 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6365, allocations: 0 / 0.9175 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6365, allocations: 0 / 0.9175 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.908e-05/0.6365, allocations: 4 kB / 0.9175 GB, free: 4.301 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001939/0.6385, allocations: 1.729 MB / 0.9192 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.6385, allocations: 11.97 kB / 0.9192 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000176/0.6387, allocations: 176.6 kB / 0.9194 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.6402, allocations: 369.8 kB / 0.9198 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.6414, allocations: 0.8839 MB / 0.9206 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.649e-05/0.6414, allocations: 78.03 kB / 0.9207 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.6416, allocations: 104 kB / 0.9208 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.6435, allocations: 1.507 MB / 0.9223 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.6435, allocations: 3.938 kB / 0.9223 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.965e-05/0.6436, allocations: 44 kB / 0.9223 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.455e-05/0.6437, allocations: 65.47 kB / 0.9224 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.645, allocations: 1.021 MB / 0.9234 GB, free: 14.1 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.005349/0.6503, allocations: 5.923 MB / 0.9292 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.6508, allocations: 327.2 kB / 0.9295 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.6511, allocations: 243.4 kB / 0.9297 GB, free: 7.262 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006257/0.6518, allocations: 0.712 MB / 0.9304 GB, free: 6.402 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.6518, allocations: 42.5 kB / 0.9304 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=28): time 1.644e-06/0.6518, allocations: 0 / 0.9304 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28): time 0.00113/0.6529, allocations: 0.672 MB / 0.9311 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.653, allocations: 136.5 kB / 0.9312 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.6547, allocations: 1.662 MB / 0.9329 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.6547, allocations: 37.64 kB / 0.9329 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000433/0.6552, allocations: 0.5424 MB / 0.9334 GB, free: 3.246 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.468e-05/0.6553, allocations: 90.66 kB / 0.9335 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.6554, allocations: 73.59 kB / 0.9336 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.6555, allocations: 325.9 kB / 0.9339 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.6557, allocations: 159.9 kB / 0.934 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.656, allocations: 290.7 kB / 0.9343 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.6565, allocations: 441.9 kB / 0.9347 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6565, allocations: 0 / 0.9347 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006736/0.6571, allocations: 0.5581 MB / 0.9353 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.6572, allocations: 4 kB / 0.9353 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.6572, allocations: 4 kB / 0.9353 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.6572, allocations: 4 kB / 0.9353 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.6574, allocations: 56.17 kB / 0.9353 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.6574, allocations: 11.98 kB / 0.9354 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/0.6579, allocations: 102.6 kB / 0.9355 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.6579, allocations: 23.98 kB / 0.9355 GB, free: 1.039 MB / 0.6387 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.0003796/0.6583, allocations: 382.2 kB / 0.9358 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.6585, allocations: 138.2 kB / 0.936 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/0.659, allocations: 385.3 kB / 0.9363 GB, free: 124 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.659, allocations: 7.938 kB / 0.9364 GB, free: 116 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.659, allocations: 3.984 kB / 0.9364 GB, free: 112 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.659, allocations: 4 kB / 0.9364 GB, free: 108 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003168/0.6622, allocations: 2.599 MB / 0.9389 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.6622, allocations: 8 kB / 0.9389 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.6624, allocations: 47.91 kB / 0.9389 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.6624, allocations: 8 kB / 0.939 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.6625, allocations: 19.94 kB / 0.939 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.6625, allocations: 11.94 kB / 0.939 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.6625, allocations: 4 kB / 0.939 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.6631, allocations: 0.6238 MB / 0.9396 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.6634, allocations: 299 kB / 0.9399 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.6636, allocations: 20 kB / 0.9399 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.664, allocations: 8 kB / 0.9399 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.664, allocations: 35.84 kB / 0.9399 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.664, allocations: 16 kB / 0.94 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001295/0.6653, allocations: 1.207 MB / 0.9411 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6653, allocations: 0 / 0.9411 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008635/0.6662, allocations: 339.8 kB / 0.9415 GB, free: 10.58 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.002203/0.6684, allocations: 1.688 MB / 0.9431 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004927/0.6689, allocations: 359.9 kB / 0.9435 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6689, allocations: 64 / 0.9435 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.6691, allocations: 163.7 kB / 0.9436 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003456/0.6726, allocations: 0.9191 MB / 0.9445 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.6845, allocations: 11.42 MB / 0.9557 GB, free: 11.38 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/0.6852, allocations: 1.201 MB / 0.9568 GB, free: 10.14 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001146/0.6864, allocations: 298.7 kB / 0.9571 GB, free: 9.848 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006102/0.687, allocations: 463.3 kB / 0.9576 GB, free: 9.395 MB / 0.67 GB Notification: Performance of SimCode: time 1.984e-06/0.687, allocations: 0 / 0.9576 GB, free: 9.395 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06698/0.754, allocations: 42.91 MB / 0.9995 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/8.449, allocations: 4 kB / 0.9995 GB, free: 15.05 MB / 0.7169 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_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_BoundaryWithXi_in.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)