Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.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.Boundary,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.Boundary,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary",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.007342/0.007341, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.002/0.002, allocations: 194.2 kB / 16.67 MB, free: 5.977 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002409/0.002409, allocations: 298.3 kB / 290.8 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 178.6 MB / 0.5074 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 92.28 kB / 0.6943 GB, free: 3.629 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4282, allocations: 89.14 MB / 0.7813 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.268/0.6963, allocations: 253.3 MB / 1.029 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02514/0.7214, allocations: 20.59 MB / 1.049 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/0.7235, allocations: 75.44 kB / 1.049 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.7255, allocations: 0.8337 MB / 1.05 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.006561/0.732, allocations: 2.914 MB / 1.053 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005973/0.738, allocations: 2.753 MB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004784/0.7428, allocations: 3.822 MB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.7446, allocations: 1.304 MB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/0.747, allocations: 1.415 MB / 1.062 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.7482, allocations: 0.9876 MB / 1.063 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.7484, allocations: 108 kB / 1.063 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00777/0.7562, allocations: 3.96 MB / 1.067 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006696/0.7569, allocations: 0.6426 MB / 1.067 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.758, allocations: 0.9834 MB / 1.068 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.006151/0.7641, allocations: 4.166 MB / 1.072 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7641, allocations: 0 / 1.072 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7641, allocations: 0 / 1.072 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.683e-05/0.7642, allocations: 4 kB / 1.072 GB, free: 4.367 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.003077/0.7673, allocations: 2.362 MB / 1.075 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.7673, allocations: 8.031 kB / 1.075 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002174/0.7675, allocations: 198 kB / 1.075 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.7695, allocations: 490.3 kB / 1.075 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2886/1.058, allocations: 1.382 MB / 1.077 GB, free: 276.4 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.935e-05/1.058, allocations: 97.97 kB / 1.077 GB, free: 276.4 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002467/1.058, allocations: 120.6 kB / 1.077 GB, free: 276.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/1.061, allocations: 1.72 MB / 1.078 GB, free: 275.5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/1.061, allocations: 9.172 kB / 1.078 GB, free: 275.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/1.061, allocations: 48.94 kB / 1.078 GB, free: 275.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.026e-05/1.061, allocations: 74.22 kB / 1.079 GB, free: 275.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/1.063, allocations: 1.22 MB / 1.08 GB, free: 275 MB / 0.8262 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.005956/1.069, allocations: 7.544 MB / 1.087 GB, free: 269.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009176/1.07, allocations: 0.6655 MB / 1.088 GB, free: 269.1 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006463/1.07, allocations: 0.6111 MB / 1.088 GB, free: 268.9 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/1.071, allocations: 1.872 MB / 1.09 GB, free: 266.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/1.071, allocations: 61.34 kB / 1.09 GB, free: 266.7 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=72): time 3.276e-06/1.071, allocations: 0 / 1.09 GB, free: 266.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=72): time 0.002153/1.073, allocations: 1.396 MB / 1.092 GB, free: 266.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/1.074, allocations: 301.7 kB / 1.092 GB, free: 265.9 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/1.076, allocations: 1.884 MB / 1.094 GB, free: 265.1 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.576e-05/1.076, allocations: 43.33 kB / 1.094 GB, free: 265.1 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004329/1.076, allocations: 0.7293 MB / 1.094 GB, free: 264.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/1.076, allocations: 259 kB / 1.095 GB, free: 264.4 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/1.076, allocations: 130.6 kB / 1.095 GB, free: 264.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 4.929e-05/1.076, allocations: 338.8 kB / 1.095 GB, free: 264 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/1.077, allocations: 328.4 kB / 1.095 GB, free: 263.9 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/1.077, allocations: 0.5566 MB / 1.096 GB, free: 263.6 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008252/1.078, allocations: 0.8667 MB / 1.097 GB, free: 263.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.078, allocations: 1.156 kB / 1.097 GB, free: 263.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001177/1.079, allocations: 1.026 MB / 1.098 GB, free: 262.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/1.079, allocations: 6.375 kB / 1.098 GB, free: 262.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.079, allocations: 3.75 kB / 1.098 GB, free: 262.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/1.079, allocations: 7.75 kB / 1.098 GB, free: 262.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/1.08, allocations: 119.8 kB / 1.098 GB, free: 262.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/1.08, allocations: 11.16 kB / 1.098 GB, free: 262.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006033/1.08, allocations: 134.1 kB / 1.098 GB, free: 262.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.109e-05/1.081, allocations: 45.78 kB / 1.098 GB, free: 262.7 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.0004837/1.081, allocations: 460.5 kB / 1.099 GB, free: 262.4 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/1.081, allocations: 204.4 kB / 1.099 GB, free: 262.3 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/1.083, allocations: 1.082 MB / 1.1 GB, free: 261.8 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/1.083, allocations: 10.97 kB / 1.1 GB, free: 261.8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.083, allocations: 7.219 kB / 1.1 GB, free: 261.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/1.083, allocations: 9.828 kB / 1.1 GB, free: 261.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00844/1.091, allocations: 8.758 MB / 1.108 GB, free: 255.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/1.091, allocations: 15.84 kB / 1.108 GB, free: 255.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/1.092, allocations: 141.6 kB / 1.109 GB, free: 255.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.798e-05/1.092, allocations: 19.28 kB / 1.109 GB, free: 255.6 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/1.092, allocations: 46 kB / 1.109 GB, free: 255.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-05/1.092, allocations: 34.67 kB / 1.109 GB, free: 255.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-05/1.092, allocations: 25.62 kB / 1.109 GB, free: 255.6 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/1.093, allocations: 1.687 MB / 1.11 GB, free: 254.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005155/1.094, allocations: 420.9 kB / 1.111 GB, free: 253.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/1.094, allocations: 38.58 kB / 1.111 GB, free: 253.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/1.094, allocations: 28.16 kB / 1.111 GB, free: 253.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.095, allocations: 104.5 kB / 1.111 GB, free: 253.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.81e-05/1.095, allocations: 53.56 kB / 1.111 GB, free: 253.8 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001387/1.096, allocations: 1.323 MB / 1.112 GB, free: 253.1 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/1.096, allocations: 0 / 1.112 GB, free: 253.1 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001383/1.097, allocations: 0.5159 MB / 1.113 GB, free: 253 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003075/1.101, allocations: 3.011 MB / 1.116 GB, free: 251 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001067/1.102, allocations: 0.8627 MB / 1.117 GB, free: 250.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/1.102, allocations: 2.375 kB / 1.117 GB, free: 250.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000506/1.102, allocations: 490.9 kB / 1.117 GB, free: 250.4 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005109/1.107, allocations: 1.331 MB / 1.118 GB, free: 249.8 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/1.121, allocations: 13.93 MB / 1.132 GB, free: 239.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/1.121, allocations: 1.402 MB / 1.133 GB, free: 238.4 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00125/1.123, allocations: 491.5 kB / 1.134 GB, free: 237.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005461/1.123, allocations: 0.6516 MB / 1.134 GB, free: 237.2 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/1.123, allocations: 4 kB / 1.134 GB, free: 237.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07778/1.201, allocations: 60.12 MB / 1.193 GB, free: 177.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/12.46, allocations: 14.98 kB / 1.193 GB, free: 177.8 MB / 0.8262 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary_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_Boundary.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe 2>&1)