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.005419/0.005419, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001504/0.001504, allocations: 202.6 kB / 16.68 MB, free: 5.969 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00241/0.00241, allocations: 282.7 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9346/0.9346, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002523/0.002523, allocations: 94.44 kB / 0.681 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1503, allocations: 86.98 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5053/0.6556, allocations: 214.1 MB / 0.9749 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01412/0.6697, allocations: 12.15 MB / 0.9868 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.6708, allocations: 43.69 kB / 0.9869 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.6719, allocations: 0.5119 MB / 0.9874 GB, free: 192 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003978/0.6759, allocations: 1.882 MB / 0.9892 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004035/0.68, allocations: 1.9 MB / 0.991 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002574/0.6826, allocations: 2.348 MB / 0.9933 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.684, allocations: 1.244 MB / 0.9946 GB, free: 8.801 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.6851, allocations: 0.8249 MB / 0.9954 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007258/0.6859, allocations: 0.6612 MB / 0.996 GB, free: 7.309 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.686, allocations: 99.94 kB / 0.9961 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004922/0.6909, allocations: 2.696 MB / 0.9987 GB, free: 4.508 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004991/0.6914, allocations: 0.5416 MB / 0.9993 GB, free: 3.965 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007259/0.6922, allocations: 0.7308 MB / 1 GB, free: 3.23 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004442/0.6966, allocations: 3.15 MB / 1.003 GB, free: 72 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.6966, allocations: 0 / 1.003 GB, free: 72 kB / 0.7481 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6966, allocations: 4 kB / 1.003 GB, free: 68 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.6967, allocations: 0 / 1.003 GB, free: 68 kB / 0.7481 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.002238/0.6989, allocations: 1.793 MB / 1.005 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.699, allocations: 12.03 kB / 1.005 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001989/0.6992, allocations: 180.7 kB / 1.005 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.7007, allocations: 374.7 kB / 1.005 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.7021, allocations: 0.9744 MB / 1.006 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.49e-05/0.7022, allocations: 74.06 kB / 1.006 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.7024, allocations: 100 kB / 1.006 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.7045, allocations: 1.533 MB / 1.008 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.7045, allocations: 4 kB / 1.008 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.159e-05/0.7046, allocations: 48 kB / 1.008 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.225e-05/0.7047, allocations: 65.48 kB / 1.008 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.7061, allocations: 1.021 MB / 1.009 GB, free: 9.676 MB / 0.7637 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.005721/0.7119, allocations: 5.865 MB / 1.015 GB, free: 3.5 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005427/0.7124, allocations: 318.2 kB / 1.015 GB, free: 3.152 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.7127, allocations: 251.3 kB / 1.015 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006955/0.7134, allocations: 0.7039 MB / 1.016 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.7135, allocations: 46.55 kB / 1.016 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=28): time 1.923e-06/0.7135, allocations: 0 / 1.016 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of matching and sorting (n=28): time 0.001231/0.7147, allocations: 0.6667 MB / 1.017 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/0.7148, allocations: 136.5 kB / 1.017 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.7168, allocations: 1.686 MB / 1.018 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.7168, allocations: 37.83 kB / 1.019 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005157/0.7174, allocations: 0.5623 MB / 1.019 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/0.7174, allocations: 99.16 kB / 1.019 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.7176, allocations: 61.7 kB / 1.019 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.7177, allocations: 322 kB / 1.02 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.7179, allocations: 163.8 kB / 1.02 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.7183, allocations: 272.4 kB / 1.02 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.7188, allocations: 400.3 kB / 1.02 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.7188, allocations: 0 / 1.02 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007316/0.7195, allocations: 0.548 MB / 1.021 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.7195, allocations: 8 kB / 1.021 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.7195, allocations: 0 / 1.021 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.7196, allocations: 12.11 kB / 1.021 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.7198, allocations: 59.97 kB / 1.021 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.7198, allocations: 13.12 kB / 1.021 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004156/0.7202, allocations: 114.9 kB / 1.021 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.7203, allocations: 20.06 kB / 1.021 GB, free: 12.71 MB / 0.7794 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.0004207/0.7207, allocations: 377.3 kB / 1.021 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.7209, allocations: 151.1 kB / 1.022 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005593/0.7215, allocations: 397.9 kB / 1.022 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.7215, allocations: 4 kB / 1.022 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7215, allocations: 3.938 kB / 1.022 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.7215, allocations: 3.984 kB / 1.022 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.7247, allocations: 2.522 MB / 1.024 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.7247, allocations: 8 kB / 1.024 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.7249, allocations: 47.92 kB / 1.025 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.7249, allocations: 8 kB / 1.025 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.7249, allocations: 12 kB / 1.025 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/0.7249, allocations: 15.92 kB / 1.025 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.7249, allocations: 8 kB / 1.025 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006836/0.7256, allocations: 0.6308 MB / 1.025 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003636/0.726, allocations: 296 kB / 1.025 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.7261, allocations: 27.88 kB / 1.025 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.7265, allocations: 12 kB / 1.025 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.7266, allocations: 31.86 kB / 1.026 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.7266, allocations: 16 kB / 1.026 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001464/0.7281, allocations: 1.227 MB / 1.027 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.893e-06/0.7281, allocations: 4 kB / 1.027 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007957/0.7289, allocations: 327.4 kB / 1.027 GB, free: 6.289 MB / 0.7794 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.002198/0.7311, allocations: 1.666 MB / 1.029 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000532/0.7316, allocations: 363.2 kB / 1.029 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7316, allocations: 0 / 1.029 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.7318, allocations: 161.3 kB / 1.029 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003336/0.7352, allocations: 0.9209 MB / 1.03 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.7479, allocations: 10.52 MB / 1.04 GB, free: 8.266 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008782/0.7488, allocations: 1.216 MB / 1.042 GB, free: 7.02 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0007579/0.7496, allocations: 298.7 kB / 1.042 GB, free: 6.723 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005372/0.7501, allocations: 459.3 kB / 1.042 GB, free: 6.273 MB / 0.795 GB Notification: Performance of SimCode: time 4.51e-07/0.7501, allocations: 0 / 1.042 GB, free: 6.273 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07792/0.828, allocations: 44.05 MB / 1.085 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.854/10.68, allocations: 22.67 kB / 1.085 GB, free: 10.72 MB / 0.8419 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)