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.001236/0.001236, allocations: 108 kB / 15.6 MB, free: 132 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.001195/0.001195, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002481/0.002481, allocations: 274.9 kB / 290.7 MB, free: 1.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 178.6 MB / 0.5073 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004486/0.004486, allocations: 99.44 kB / 0.6065 GB, free: 24.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1565, allocations: 89.15 MB / 0.6936 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.4775/0.6341, allocations: 214.1 MB / 0.9026 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01588/0.65, allocations: 12.18 MB / 0.9145 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.6512, allocations: 43.69 kB / 0.9146 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.6524, allocations: 0.508 MB / 0.9151 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004135/0.6565, allocations: 1.874 MB / 0.9169 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004301/0.6608, allocations: 1.898 MB / 0.9188 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00257/0.6634, allocations: 2.368 MB / 0.9211 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.6649, allocations: 1.204 MB / 0.9222 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.666, allocations: 0.8249 MB / 0.923 GB, free: 372 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007583/0.6668, allocations: 0.6496 MB / 0.9237 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.6669, allocations: 91.94 kB / 0.9238 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004853/0.6718, allocations: 2.848 MB / 0.9265 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004985/0.6723, allocations: 0.5377 MB / 0.9271 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000727/0.673, allocations: 0.7269 MB / 0.9278 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003819/0.6768, allocations: 3.121 MB / 0.9308 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6768, allocations: 0 / 0.9308 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6769, allocations: 4 kB / 0.9308 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.6769, allocations: 0 / 0.9308 GB, free: 8.363 MB / 0.6544 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.002187/0.6791, allocations: 1.729 MB / 0.9325 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.6791, allocations: 8.031 kB / 0.9325 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002015/0.6793, allocations: 168.6 kB / 0.9327 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.6809, allocations: 377.8 kB / 0.9331 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.6822, allocations: 0.8761 MB / 0.9339 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.186e-05/0.6823, allocations: 78.03 kB / 0.934 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.6824, allocations: 104 kB / 0.9341 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.6845, allocations: 1.509 MB / 0.9356 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.6846, allocations: 7.938 kB / 0.9356 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.6847, allocations: 44 kB / 0.9356 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-05/0.6848, allocations: 65.47 kB / 0.9357 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.6862, allocations: 1.017 MB / 0.9367 GB, free: 2.172 MB / 0.6544 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.006327/0.6926, allocations: 5.931 MB / 0.9425 GB, free: 11.93 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005597/0.6931, allocations: 323.5 kB / 0.9428 GB, free: 11.57 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.6934, allocations: 251.4 kB / 0.943 GB, free: 11.32 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000751/0.6942, allocations: 0.7081 MB / 0.9437 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.6943, allocations: 42.56 kB / 0.9437 GB, free: 10.41 MB / 0.67 GB Notification: Performance of pre-optimization done (n=28): time 1.483e-06/0.6943, allocations: 0 / 0.9437 GB, free: 10.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=28): time 0.001299/0.6956, allocations: 0.6715 MB / 0.9444 GB, free: 9.73 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.6957, allocations: 136.5 kB / 0.9445 GB, free: 9.566 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/0.6977, allocations: 1.658 MB / 0.9461 GB, free: 7.898 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.6978, allocations: 29.83 kB / 0.9462 GB, free: 7.863 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005407/0.6983, allocations: 0.5619 MB / 0.9467 GB, free: 7.297 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.786e-05/0.6984, allocations: 90.66 kB / 0.9468 GB, free: 7.207 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.6985, allocations: 73.59 kB / 0.9469 GB, free: 7.129 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6987, allocations: 321.9 kB / 0.9472 GB, free: 6.809 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.6989, allocations: 155.9 kB / 0.9473 GB, free: 6.656 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.6993, allocations: 290.1 kB / 0.9476 GB, free: 6.336 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005506/0.6998, allocations: 433.9 kB / 0.948 GB, free: 5.875 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6999, allocations: 0 / 0.948 GB, free: 5.875 MB / 0.67 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008101/0.7007, allocations: 0.5661 MB / 0.9486 GB, free: 5.301 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.7007, allocations: 9.562 kB / 0.9486 GB, free: 5.293 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.7007, allocations: 4 kB / 0.9486 GB, free: 5.289 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.7007, allocations: 4 kB / 0.9486 GB, free: 5.285 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.701, allocations: 51.92 kB / 0.9486 GB, free: 5.234 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.701, allocations: 4 kB / 0.9486 GB, free: 5.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/0.7014, allocations: 110.5 kB / 0.9487 GB, free: 5.121 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.7015, allocations: 24.09 kB / 0.9488 GB, free: 5.098 MB / 0.67 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.0004558/0.702, allocations: 381.6 kB / 0.9491 GB, free: 4.715 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.7022, allocations: 138.3 kB / 0.9493 GB, free: 4.578 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005811/0.7028, allocations: 381.6 kB / 0.9496 GB, free: 4.184 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.7028, allocations: 4 kB / 0.9496 GB, free: 4.18 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.7028, allocations: 0 / 0.9496 GB, free: 4.18 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.7028, allocations: 3.984 kB / 0.9496 GB, free: 4.176 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00373/0.7066, allocations: 2.602 MB / 0.9522 GB, free: 1.391 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.7066, allocations: 4 kB / 0.9522 GB, free: 1.387 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.7068, allocations: 56.66 kB / 0.9522 GB, free: 1.332 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.7068, allocations: 8 kB / 0.9522 GB, free: 1.324 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.7068, allocations: 23.88 kB / 0.9523 GB, free: 1.301 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/0.7068, allocations: 8 kB / 0.9523 GB, free: 1.293 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/0.7069, allocations: 11.94 kB / 0.9523 GB, free: 1.281 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007598/0.7076, allocations: 0.6196 MB / 0.9529 GB, free: 0.5625 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000392/0.708, allocations: 295.2 kB / 0.9532 GB, free: 260 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.7082, allocations: 15.98 kB / 0.9532 GB, free: 244 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/0.7085, allocations: 12 kB / 0.9532 GB, free: 232 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.7086, allocations: 35.8 kB / 0.9532 GB, free: 196 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.7086, allocations: 23.98 kB / 0.9533 GB, free: 172 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001534/0.7102, allocations: 1.203 MB / 0.9544 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7102, allocations: 0 / 0.9544 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009118/0.7111, allocations: 335.8 kB / 0.9548 GB, free: 14.64 MB / 0.6856 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.002481/0.7136, allocations: 1.684 MB / 0.9564 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005547/0.7141, allocations: 367.4 kB / 0.9567 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.7142, allocations: 4 kB / 0.9567 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.7144, allocations: 153.7 kB / 0.9569 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003604/0.718, allocations: 0.9336 MB / 0.9578 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/0.732, allocations: 11.41 MB / 0.9689 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000932/0.7329, allocations: 1.201 MB / 0.9701 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008864/0.7338, allocations: 302.6 kB / 0.9704 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005561/0.7344, allocations: 459.3 kB / 0.9708 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of SimCode: time 5.71e-07/0.7344, allocations: 0 / 0.9708 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07902/0.8134, allocations: 42.91 MB / 1.013 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.345/9.159, allocations: 14.36 kB / 1.013 GB, free: 3.113 MB / 0.7325 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)