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.001045/0.001045, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002091/0.002091, allocations: 274.9 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8989/0.8989, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 98.27 kB / 0.5953 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1357, allocations: 86.97 MB / 0.6803 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.4783/0.614, allocations: 253.3 MB / 0.9276 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02166/0.6357, allocations: 20.6 MB / 0.9478 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/0.6378, allocations: 75.5 kB / 0.9478 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.6396, allocations: 0.8298 MB / 0.9486 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00613/0.6457, allocations: 2.911 MB / 0.9515 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005951/0.6517, allocations: 2.743 MB / 0.9542 GB, free: 14.81 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004198/0.6559, allocations: 3.82 MB / 0.9579 GB, free: 10.98 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/0.6578, allocations: 1.301 MB / 0.9592 GB, free: 9.664 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002675/0.6605, allocations: 1.411 MB / 0.9605 GB, free: 8.254 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.662, allocations: 0.9876 MB / 0.9615 GB, free: 7.262 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003129/0.6623, allocations: 108 kB / 0.9616 GB, free: 7.156 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007776/0.6701, allocations: 4.185 MB / 0.9657 GB, free: 2.961 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007265/0.6708, allocations: 0.6504 MB / 0.9663 GB, free: 2.309 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.6723, allocations: 0.9795 MB / 0.9673 GB, free: 1.324 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006509/0.6788, allocations: 4.25 MB / 0.9714 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.6788, allocations: 0 / 0.9714 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6788, allocations: 0 / 0.9714 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.619e-05/0.6789, allocations: 7.938 kB / 0.9714 GB, free: 13.05 MB / 0.6856 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.003508/0.6824, allocations: 2.295 MB / 0.9737 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.6825, allocations: 12.03 kB / 0.9737 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003153/0.6828, allocations: 194 kB / 0.9739 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/0.6851, allocations: 485 kB / 0.9743 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.687, allocations: 1.267 MB / 0.9756 GB, free: 8.695 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.146e-05/0.6871, allocations: 94.44 kB / 0.9757 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.6873, allocations: 128 kB / 0.9758 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/0.6896, allocations: 1.719 MB / 0.9775 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.6896, allocations: 7.938 kB / 0.9775 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.775e-05/0.6897, allocations: 48 kB / 0.9775 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.974e-05/0.6898, allocations: 71.91 kB / 0.9776 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.6914, allocations: 1.218 MB / 0.9788 GB, free: 5.273 MB / 0.6856 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.006558/0.698, allocations: 7.569 MB / 0.9862 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007992/0.6988, allocations: 0.6626 MB / 0.9868 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006266/0.6995, allocations: 0.6255 MB / 0.9874 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.7009, allocations: 1.871 MB / 0.9893 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.7009, allocations: 54.48 kB / 0.9893 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=72): time 2.404e-06/0.7009, allocations: 0 / 0.9893 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72): time 0.002131/0.7031, allocations: 1.38 MB / 0.9907 GB, free: 8.176 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.7032, allocations: 306.7 kB / 0.991 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.7054, allocations: 1.884 MB / 0.9928 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.2e-05/0.7054, allocations: 41.7 kB / 0.9928 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005825/0.706, allocations: 0.7291 MB / 0.9935 GB, free: 5.102 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.7062, allocations: 244.6 kB / 0.9938 GB, free: 4.859 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.7064, allocations: 130.2 kB / 0.9939 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.7065, allocations: 337.9 kB / 0.9942 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/0.7069, allocations: 329.1 kB / 0.9945 GB, free: 4.066 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006194/0.7075, allocations: 0.563 MB / 0.9951 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009809/0.7085, allocations: 0.8605 MB / 0.9959 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.7085, allocations: 4 kB / 0.9959 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00129/0.7098, allocations: 1.006 MB / 0.9969 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.7098, allocations: 8 kB / 0.9969 GB, free: 1.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.7098, allocations: 8.281 kB / 0.9969 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.7099, allocations: 11.98 kB / 0.9969 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.7103, allocations: 123.8 kB / 0.9971 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.7103, allocations: 4 kB / 0.9971 GB, free: 1.375 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006344/0.7109, allocations: 134.4 kB / 0.9972 GB, free: 1.242 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.936e-05/0.711, allocations: 39.98 kB / 0.9972 GB, free: 1.203 MB / 0.7012 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.000509/0.7115, allocations: 470.1 kB / 0.9977 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003597/0.7119, allocations: 189.7 kB / 0.9979 GB, free: 0.5469 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.7134, allocations: 1.083 MB / 0.9989 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.7134, allocations: 19.98 kB / 0.9989 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.7135, allocations: 4 kB / 0.9989 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.7135, allocations: 7.984 kB / 0.999 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.7238, allocations: 8.925 MB / 1.008 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/0.7239, allocations: 12 kB / 1.008 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/0.7243, allocations: 147.7 kB / 1.008 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.689e-05/0.7243, allocations: 20 kB / 1.008 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-05/0.7244, allocations: 39.92 kB / 1.008 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.988e-05/0.7244, allocations: 28.48 kB / 1.008 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.095e-05/0.7245, allocations: 23.88 kB / 1.008 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.7262, allocations: 1.672 MB / 1.01 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005759/0.7268, allocations: 414.3 kB / 1.01 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/0.727, allocations: 39.92 kB / 1.01 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006022/0.7276, allocations: 27.94 kB / 1.01 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.7278, allocations: 107.5 kB / 1.01 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.826e-05/0.7278, allocations: 56.12 kB / 1.01 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00156/0.7294, allocations: 1.316 MB / 1.011 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7294, allocations: 0 / 1.011 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001442/0.7309, allocations: 0.5348 MB / 1.012 GB, free: 1.32 MB / 0.7169 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.003952/0.7348, allocations: 3.028 MB / 1.015 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.7359, allocations: 0.86 MB / 1.016 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.736, allocations: 4 kB / 1.016 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005567/0.7365, allocations: 491.1 kB / 1.016 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005443/0.742, allocations: 1.347 MB / 1.018 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/0.7599, allocations: 15.62 MB / 1.033 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.7609, allocations: 1.406 MB / 1.034 GB, free: 9.074 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001416/0.7624, allocations: 482.7 kB / 1.035 GB, free: 8.598 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007133/0.7631, allocations: 0.6555 MB / 1.035 GB, free: 7.941 MB / 0.7481 GB Notification: Performance of SimCode: time 8.22e-07/0.7631, allocations: 4 kB / 1.035 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3154/1.078, allocations: 60.89 MB / 1.095 GB, free: 307.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/9.214, allocations: 1.719 kB / 1.095 GB, free: 307.1 MB / 0.7794 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)