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.004009/0.004009, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001171/0.001171, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002451/0.002451, allocations: 281.4 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.148/1.148, allocations: 178.6 MB / 0.5074 GB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 95.84 kB / 0.6943 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3804, allocations: 89.13 MB / 0.7813 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2329/0.6134, allocations: 214.1 MB / 0.9904 GB, free: 1.902 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.3858/0.9992, allocations: 12.16 MB / 1.002 GB, free: 1.945 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/1.001, allocations: 47.34 kB / 1.002 GB, free: 1.945 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/1.002, allocations: 0.5045 MB / 1.003 GB, free: 1.945 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004461/1.006, allocations: 1.881 MB / 1.005 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004035/1.01, allocations: 1.909 MB / 1.006 GB, free: 1.84 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002957/1.013, allocations: 2.374 MB / 1.009 GB, free: 1.832 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/1.015, allocations: 1.2 MB / 1.01 GB, free: 1.695 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/1.017, allocations: 0.8262 MB / 1.011 GB, free: 1.695 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000846/1.018, allocations: 0.6578 MB / 1.011 GB, free: 1.695 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001598/1.018, allocations: 89 kB / 1.012 GB, free: 1.695 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005128/1.023, allocations: 2.694 MB / 1.014 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005173/1.023, allocations: 0.5402 MB / 1.015 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008481/1.024, allocations: 0.7294 MB / 1.015 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004582/1.029, allocations: 3.104 MB / 1.018 GB, free: 1.5 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/1.029, allocations: 0.9688 kB / 1.018 GB, free: 1.5 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.392e-06/1.029, allocations: 0 / 1.018 GB, free: 1.5 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.645e-05/1.029, allocations: 1.062 kB / 1.018 GB, free: 1.5 MB / 0.7481 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.002304/1.031, allocations: 1.775 MB / 1.02 GB, free: 16.54 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/1.031, allocations: 10.06 kB / 1.02 GB, free: 16.54 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001763/1.031, allocations: 166.9 kB / 1.02 GB, free: 16.49 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/1.033, allocations: 383.4 kB / 1.021 GB, free: 16.41 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/1.034, allocations: 0.9668 MB / 1.022 GB, free: 16.05 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.854e-05/1.034, allocations: 75.44 kB / 1.022 GB, free: 16.05 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/1.035, allocations: 98.78 kB / 1.022 GB, free: 16.05 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/1.036, allocations: 1.51 MB / 1.023 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/1.037, allocations: 3.094 kB / 1.023 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.942e-05/1.037, allocations: 51.41 kB / 1.023 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-05/1.037, allocations: 57.89 kB / 1.023 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/1.038, allocations: 1.016 MB / 1.024 GB, free: 15.75 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.005269/1.043, allocations: 5.841 MB / 1.03 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/1.044, allocations: 321 kB / 1.03 GB, free: 12.19 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/1.044, allocations: 252.8 kB / 1.031 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00072/1.045, allocations: 0.7069 MB / 1.031 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/1.045, allocations: 47.22 kB / 1.031 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=28): time 2.595e-06/1.045, allocations: 0 / 1.031 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of matching and sorting (n=28): time 0.001122/1.046, allocations: 0.6711 MB / 1.032 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/1.046, allocations: 132.6 kB / 1.032 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/1.047, allocations: 1.657 MB / 1.034 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/1.047, allocations: 33.39 kB / 1.034 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004024/1.048, allocations: 0.551 MB / 1.034 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.469e-05/1.048, allocations: 98.27 kB / 1.034 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/1.048, allocations: 72.59 kB / 1.034 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.048, allocations: 324.6 kB / 1.035 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/1.048, allocations: 161.5 kB / 1.035 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/1.049, allocations: 287.8 kB / 1.035 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/1.049, allocations: 431.3 kB / 1.036 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.049, allocations: 3.375 kB / 1.036 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006403/1.05, allocations: 0.5679 MB / 1.036 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/1.05, allocations: 5.188 kB / 1.036 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.05, allocations: 10.34 kB / 1.036 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.05, allocations: 5.594 kB / 1.036 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/1.05, allocations: 57.59 kB / 1.036 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/1.05, allocations: 7.172 kB / 1.036 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005559/1.051, allocations: 107.5 kB / 1.036 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/1.051, allocations: 24.16 kB / 1.036 GB, free: 10.03 MB / 0.7637 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.0003678/1.051, allocations: 385.3 kB / 1.037 GB, free: 9.906 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/1.051, allocations: 146.1 kB / 1.037 GB, free: 9.828 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004878/1.052, allocations: 384 kB / 1.037 GB, free: 9.734 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.052, allocations: 2.406 kB / 1.037 GB, free: 9.734 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.052, allocations: 7.719 kB / 1.037 GB, free: 9.73 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.052, allocations: 3 kB / 1.037 GB, free: 9.73 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/1.055, allocations: 2.521 MB / 1.04 GB, free: 8.766 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.055, allocations: 4.812 kB / 1.04 GB, free: 8.766 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/1.055, allocations: 50.91 kB / 1.04 GB, free: 8.766 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/1.055, allocations: 5.031 kB / 1.04 GB, free: 8.766 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/1.055, allocations: 18.5 kB / 1.04 GB, free: 8.762 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/1.055, allocations: 11.88 kB / 1.04 GB, free: 8.762 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.351e-06/1.055, allocations: 8.031 kB / 1.04 GB, free: 8.762 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006508/1.056, allocations: 0.6229 MB / 1.04 GB, free: 8.418 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/1.056, allocations: 297.9 kB / 1.041 GB, free: 8.242 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/1.056, allocations: 21.02 kB / 1.041 GB, free: 8.238 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/1.056, allocations: 9.656 kB / 1.041 GB, free: 8.238 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/1.057, allocations: 35.44 kB / 1.041 GB, free: 8.234 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/1.057, allocations: 26.88 kB / 1.041 GB, free: 8.23 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001249/1.058, allocations: 1.204 MB / 1.042 GB, free: 8.121 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.1e-07/1.058, allocations: 0 / 1.042 GB, free: 8.121 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009766/1.059, allocations: 330.4 kB / 1.042 GB, free: 8.082 MB / 0.7637 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.002205/1.061, allocations: 1.667 MB / 1.044 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0004925/1.062, allocations: 362.8 kB / 1.044 GB, free: 7.172 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/1.062, allocations: 2.219 kB / 1.044 GB, free: 7.172 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/1.062, allocations: 157.9 kB / 1.044 GB, free: 7.172 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003411/1.065, allocations: 0.9239 MB / 1.045 GB, free: 7.031 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/1.076, allocations: 10.42 MB / 1.056 GB, free: 4.312 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007715/1.077, allocations: 1.2 MB / 1.057 GB, free: 3.598 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008863/1.078, allocations: 303.1 kB / 1.057 GB, free: 3.535 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004396/1.079, allocations: 461.6 kB / 1.057 GB, free: 3.531 MB / 0.7637 GB Notification: Performance of SimCode: time 5.81e-07/1.079, allocations: 0 / 1.057 GB, free: 3.531 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0764/1.155, allocations: 43.82 MB / 1.1 GB, free: 3.734 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.982/11.14, allocations: 3.375 kB / 1.1 GB, free: 3.734 MB / 0.795 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)