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.00464/0.00464, allocations: 103.1 kB / 15.74 MB, free: 6.059 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.001143/0.001143, allocations: 190.7 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.217/1.217, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002064/0.002064, allocations: 286.3 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8648/0.8648, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 96.14 kB / 0.681 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3717, allocations: 86.98 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.5565/0.9283, allocations: 253.3 MB / 1.013 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01829/0.9466, allocations: 20.59 MB / 1.033 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/0.9486, allocations: 74.62 kB / 1.033 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.9501, allocations: 0.8334 MB / 1.034 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005359/0.9555, allocations: 3.048 MB / 1.037 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005118/0.9606, allocations: 2.8 MB / 1.04 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00314/0.9638, allocations: 3.828 MB / 1.044 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.965, allocations: 1.299 MB / 1.045 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.9667, allocations: 1.448 MB / 1.046 GB, free: 184 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008404/0.9675, allocations: 0.9959 MB / 1.047 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.9677, allocations: 108.7 kB / 1.047 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006759/0.9744, allocations: 3.967 MB / 1.051 GB, free: 15 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004721/0.9749, allocations: 0.6492 MB / 1.052 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008178/0.9757, allocations: 0.975 MB / 1.053 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004969/0.9807, allocations: 4.221 MB / 1.057 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.9807, allocations: 0 / 1.057 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9807, allocations: 0 / 1.057 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.079e-05/0.9808, allocations: 2.406 kB / 1.057 GB, free: 13.02 MB / 0.7325 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.002697/0.9835, allocations: 2.382 MB / 1.059 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.9835, allocations: 9.156 kB / 1.059 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001825/0.9837, allocations: 185.1 kB / 1.06 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/0.9856, allocations: 498.5 kB / 1.06 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.9875, allocations: 1.395 MB / 1.061 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.5e-05/0.9876, allocations: 95.22 kB / 1.061 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.9878, allocations: 122.5 kB / 1.062 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.9898, allocations: 1.718 MB / 1.063 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.9899, allocations: 4.719 kB / 1.063 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.149e-05/0.99, allocations: 49.97 kB / 1.063 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.375e-05/0.99, allocations: 68.53 kB / 1.063 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.9915, allocations: 1.232 MB / 1.065 GB, free: 8.133 MB / 0.7325 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.006008/0.9975, allocations: 7.53 MB / 1.072 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007941/0.9983, allocations: 0.6703 MB / 1.073 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006152/0.9989, allocations: 0.6236 MB / 1.073 GB, free: 0 / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/1, allocations: 1.866 MB / 1.075 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/1, allocations: 59.56 kB / 1.075 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=72): time 2.355e-06/1, allocations: 0 / 1.075 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of matching and sorting (n=72): time 0.00208/1.002, allocations: 1.398 MB / 1.076 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/1.003, allocations: 303.8 kB / 1.077 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/1.005, allocations: 1.884 MB / 1.079 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/1.005, allocations: 45.7 kB / 1.079 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006123/1.005, allocations: 0.7328 MB / 1.079 GB, free: 9.227 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/1.006, allocations: 255.3 kB / 1.08 GB, free: 8.98 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/1.006, allocations: 130.3 kB / 1.08 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.006, allocations: 330 kB / 1.08 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/1.006, allocations: 333 kB / 1.08 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000605/1.007, allocations: 0.5611 MB / 1.081 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009412/1.008, allocations: 0.8634 MB / 1.082 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.008, allocations: 3.938 kB / 1.082 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001287/1.009, allocations: 1.018 MB / 1.083 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/1.009, allocations: 8.125 kB / 1.083 GB, free: 5.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.009, allocations: 4.5 kB / 1.083 GB, free: 5.676 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.009, allocations: 10.62 kB / 1.083 GB, free: 5.668 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/1.01, allocations: 119.5 kB / 1.083 GB, free: 5.559 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/1.01, allocations: 8 kB / 1.083 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/1.01, allocations: 138.8 kB / 1.083 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.915e-05/1.01, allocations: 43.98 kB / 1.083 GB, free: 5.371 MB / 0.7481 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.0004986/1.011, allocations: 459.8 kB / 1.084 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003487/1.011, allocations: 198.7 kB / 1.084 GB, free: 4.727 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/1.013, allocations: 1.096 MB / 1.085 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/1.013, allocations: 12 kB / 1.085 GB, free: 3.637 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.013, allocations: 0 / 1.085 GB, free: 3.637 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/1.013, allocations: 7.984 kB / 1.085 GB, free: 3.629 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/1.023, allocations: 8.759 MB / 1.093 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/1.023, allocations: 16.12 kB / 1.093 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/1.023, allocations: 144.7 kB / 1.093 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-05/1.023, allocations: 20 kB / 1.094 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/1.023, allocations: 36.09 kB / 1.094 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.811e-05/1.023, allocations: 35.52 kB / 1.094 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.297e-05/1.023, allocations: 21.16 kB / 1.094 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/1.025, allocations: 1.69 MB / 1.095 GB, free: 8.371 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006234/1.026, allocations: 423.5 kB / 1.096 GB, free: 7.938 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/1.026, allocations: 31.98 kB / 1.096 GB, free: 7.906 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000608/1.026, allocations: 28 kB / 1.096 GB, free: 7.879 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.027, allocations: 108.4 kB / 1.096 GB, free: 7.785 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.576e-05/1.027, allocations: 52 kB / 1.096 GB, free: 7.734 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001498/1.028, allocations: 1.32 MB / 1.097 GB, free: 6.395 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/1.028, allocations: 0 / 1.097 GB, free: 6.395 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001528/1.03, allocations: 0.5145 MB / 1.098 GB, free: 5.879 MB / 0.7637 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.003534/1.033, allocations: 3.025 MB / 1.101 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001062/1.034, allocations: 0.8511 MB / 1.101 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.034, allocations: 4 kB / 1.101 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005317/1.035, allocations: 489.8 kB / 1.102 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00514/1.04, allocations: 1.343 MB / 1.103 GB, free: 144 kB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/1.055, allocations: 13.91 MB / 1.117 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009431/1.056, allocations: 1.406 MB / 1.118 GB, free: 228 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001194/1.057, allocations: 497.1 kB / 1.119 GB, free: 15.73 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007014/1.058, allocations: 0.6555 MB / 1.119 GB, free: 15.08 MB / 0.795 GB Notification: Performance of SimCode: time 5.11e-07/1.058, allocations: 0 / 1.119 GB, free: 15.08 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0879/1.146, allocations: 60.1 MB / 1.178 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/11.58, allocations: 10.45 kB / 1.178 GB, free: 3.746 MB / 0.8419 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)