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.007494/0.007494, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.002079/0.002079, allocations: 193.9 kB / 16.67 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002374/0.002374, allocations: 282.6 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 178.6 MB / 0.5074 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002608/0.002608, allocations: 98.22 kB / 0.6943 GB, free: 3.625 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4182, allocations: 89.14 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2284/0.6466, allocations: 214.1 MB / 0.9904 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01519/0.6618, allocations: 12.16 MB / 1.002 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.6629, allocations: 43.69 kB / 1.002 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.6641, allocations: 0.5119 MB / 1.003 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004033/0.6681, allocations: 1.876 MB / 1.005 GB, free: 9.805 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004061/0.6722, allocations: 1.907 MB / 1.006 GB, free: 7.902 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002438/0.6746, allocations: 2.344 MB / 1.009 GB, free: 5.555 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.6761, allocations: 1.24 MB / 1.01 GB, free: 4.297 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.6772, allocations: 0.821 MB / 1.011 GB, free: 3.473 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007605/0.678, allocations: 0.6534 MB / 1.011 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.6781, allocations: 92 kB / 1.012 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004592/0.6827, allocations: 2.704 MB / 1.014 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005108/0.6832, allocations: 0.5417 MB / 1.015 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007341/0.684, allocations: 0.7387 MB / 1.015 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003881/0.6879, allocations: 3.119 MB / 1.018 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6879, allocations: 0 / 1.018 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6879, allocations: 0 / 1.018 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.442e-05/0.6879, allocations: 4 kB / 1.018 GB, free: 11.6 MB / 0.7794 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.002214/0.6901, allocations: 1.789 MB / 1.02 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.6902, allocations: 8.031 kB / 1.02 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001986/0.6904, allocations: 172.8 kB / 1.02 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.692, allocations: 378.7 kB / 1.021 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.6934, allocations: 0.9744 MB / 1.022 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.609e-05/0.6935, allocations: 74.06 kB / 1.022 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.6936, allocations: 104 kB / 1.022 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.6958, allocations: 1.532 MB / 1.023 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.6958, allocations: 4 kB / 1.023 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.6959, allocations: 55.92 kB / 1.023 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.509e-05/0.696, allocations: 65.47 kB / 1.023 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.6974, allocations: 1.021 MB / 1.024 GB, free: 5.211 MB / 0.7794 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.006054/0.7035, allocations: 5.869 MB / 1.03 GB, free: 15.03 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005594/0.7041, allocations: 322.1 kB / 1.031 GB, free: 14.68 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.7044, allocations: 247.4 kB / 1.031 GB, free: 14.42 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007205/0.7051, allocations: 0.7077 MB / 1.031 GB, free: 13.57 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.7051, allocations: 38.56 kB / 1.031 GB, free: 13.52 MB / 0.795 GB Notification: Performance of pre-optimization done (n=28): time 1.864e-06/0.7052, allocations: 0 / 1.031 GB, free: 13.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=28): time 0.001262/0.7064, allocations: 0.6764 MB / 1.032 GB, free: 12.84 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/0.7065, allocations: 136.5 kB / 1.032 GB, free: 12.67 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.7086, allocations: 1.686 MB / 1.034 GB, free: 10.98 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.7086, allocations: 33.7 kB / 1.034 GB, free: 10.94 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005356/0.7092, allocations: 0.5545 MB / 1.034 GB, free: 10.38 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.631e-05/0.7093, allocations: 103.1 kB / 1.035 GB, free: 10.28 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.7094, allocations: 73.72 kB / 1.035 GB, free: 10.2 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.7095, allocations: 318 kB / 1.035 GB, free: 9.883 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.7098, allocations: 159.8 kB / 1.035 GB, free: 9.727 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.7101, allocations: 265.7 kB / 1.035 GB, free: 9.438 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005132/0.7106, allocations: 404.2 kB / 1.036 GB, free: 9.012 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7106, allocations: 0 / 1.036 GB, free: 9.012 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007755/0.7114, allocations: 0.5595 MB / 1.036 GB, free: 8.445 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.7114, allocations: 8 kB / 1.036 GB, free: 8.438 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.7115, allocations: 0 / 1.036 GB, free: 8.438 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.7115, allocations: 4 kB / 1.036 GB, free: 8.434 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.7117, allocations: 51.92 kB / 1.036 GB, free: 8.383 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.7117, allocations: 11.92 kB / 1.036 GB, free: 8.371 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/0.7122, allocations: 111 kB / 1.036 GB, free: 8.262 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/0.7122, allocations: 28.23 kB / 1.037 GB, free: 8.234 MB / 0.795 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.0004429/0.7127, allocations: 377.6 kB / 1.037 GB, free: 7.855 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.7129, allocations: 147.1 kB / 1.037 GB, free: 7.711 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005836/0.7135, allocations: 393.1 kB / 1.037 GB, free: 7.297 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.7135, allocations: 4 kB / 1.037 GB, free: 7.293 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.7135, allocations: 3.938 kB / 1.037 GB, free: 7.289 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7135, allocations: 4 kB / 1.037 GB, free: 7.285 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.7168, allocations: 2.513 MB / 1.04 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.7168, allocations: 4 kB / 1.04 GB, free: 4.586 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.717, allocations: 52.72 kB / 1.04 GB, free: 4.535 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.717, allocations: 8 kB / 1.04 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.7171, allocations: 16 kB / 1.04 GB, free: 4.512 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/0.7171, allocations: 11.94 kB / 1.04 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.198e-06/0.7171, allocations: 11.94 kB / 1.04 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007194/0.7178, allocations: 0.6342 MB / 1.041 GB, free: 3.758 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000372/0.7182, allocations: 300 kB / 1.041 GB, free: 3.445 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.7184, allocations: 19.95 kB / 1.041 GB, free: 3.426 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.7187, allocations: 12 kB / 1.041 GB, free: 3.414 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.7188, allocations: 39.78 kB / 1.041 GB, free: 3.375 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.7188, allocations: 20 kB / 1.041 GB, free: 3.355 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001563/0.7204, allocations: 1.219 MB / 1.042 GB, free: 2.141 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.124e-06/0.7204, allocations: 0 / 1.042 GB, free: 2.141 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008693/0.7213, allocations: 339.2 kB / 1.042 GB, free: 1.809 MB / 0.795 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.002278/0.7236, allocations: 1.666 MB / 1.044 GB, free: 48 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005516/0.7241, allocations: 347.6 kB / 1.044 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7241, allocations: 0 / 1.044 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.7244, allocations: 160.7 kB / 1.045 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/0.728, allocations: 0.9281 MB / 1.045 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/0.7414, allocations: 10.53 MB / 1.056 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008861/0.7423, allocations: 1.208 MB / 1.057 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008818/0.7432, allocations: 298.7 kB / 1.057 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005636/0.7438, allocations: 459.3 kB / 1.058 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of SimCode: time 8.72e-07/0.7438, allocations: 3.938 kB / 1.058 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3596/1.103, allocations: 44.04 MB / 1.101 GB, free: 263.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/11.15, allocations: 16.98 kB / 1.101 GB, free: 263 MB / 0.8262 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)