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.00557/0.00557, allocations: 97.41 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.001496/0.001496, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002438/0.002438, allocations: 290.5 kB / 290.8 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9625/0.9625, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002595/0.002595, allocations: 104.2 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1598, allocations: 86.97 MB / 0.7659 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.5093/0.6692, allocations: 214.1 MB / 0.9749 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01489/0.6841, allocations: 12.16 MB / 0.9868 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.6853, allocations: 43.69 kB / 0.9869 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.6864, allocations: 0.5002 MB / 0.9873 GB, free: 112 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00408/0.6905, allocations: 1.878 MB / 0.9892 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004011/0.6945, allocations: 1.912 MB / 0.991 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002597/0.6971, allocations: 2.38 MB / 0.9934 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.6986, allocations: 1.209 MB / 0.9945 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.6997, allocations: 0.8366 MB / 0.9954 GB, free: 7.879 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007305/0.7004, allocations: 0.6496 MB / 0.996 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.7006, allocations: 88 kB / 0.9961 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004697/0.7053, allocations: 2.696 MB / 0.9987 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004944/0.7058, allocations: 0.5415 MB / 0.9992 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000703/0.7065, allocations: 0.7269 MB / 1 GB, free: 3.164 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004027/0.7105, allocations: 3.134 MB / 1.003 GB, free: 20 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.7105, allocations: 0 / 1.003 GB, free: 20 kB / 0.7481 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7106, allocations: 0 / 1.003 GB, free: 20 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.7106, allocations: 0 / 1.003 GB, free: 20 kB / 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.002247/0.7128, allocations: 1.789 MB / 1.005 GB, free: 14.17 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.7129, allocations: 8.031 kB / 1.005 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001919/0.7131, allocations: 164.6 kB / 1.005 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.7146, allocations: 386.7 kB / 1.005 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.7161, allocations: 0.9589 MB / 1.006 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-05/0.7161, allocations: 74.03 kB / 1.006 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.7163, allocations: 100 kB / 1.006 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/0.7184, allocations: 1.517 MB / 1.008 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.7184, allocations: 3.938 kB / 1.008 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-05/0.7185, allocations: 44 kB / 1.008 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.731e-05/0.7186, allocations: 61.48 kB / 1.008 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.72, allocations: 1.013 MB / 1.009 GB, free: 9.691 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.00587/0.7259, allocations: 5.838 MB / 1.015 GB, free: 3.543 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.7264, allocations: 328.8 kB / 1.015 GB, free: 3.188 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.7268, allocations: 243.4 kB / 1.015 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007421/0.7275, allocations: 0.7078 MB / 1.016 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.7275, allocations: 38.56 kB / 1.016 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=28): time 1.823e-06/0.7275, allocations: 0 / 1.016 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of matching and sorting (n=28): time 0.001274/0.7288, allocations: 0.6726 MB / 1.017 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.555e-05/0.7289, allocations: 140.5 kB / 1.017 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.7309, allocations: 1.65 MB / 1.018 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.731, allocations: 33.7 kB / 1.018 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005244/0.7315, allocations: 0.5504 MB / 1.019 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.929e-05/0.7316, allocations: 107 kB / 1.019 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.7317, allocations: 73.62 kB / 1.019 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.7318, allocations: 322 kB / 1.019 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.7321, allocations: 163.9 kB / 1.02 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.7324, allocations: 290.7 kB / 1.02 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005415/0.733, allocations: 439.5 kB / 1.02 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.733, allocations: 0 / 1.02 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007687/0.7338, allocations: 0.5627 MB / 1.021 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.7338, allocations: 8 kB / 1.021 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.7338, allocations: 4.766 kB / 1.021 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.7338, allocations: 4 kB / 1.021 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.734, allocations: 60.17 kB / 1.021 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.7341, allocations: 11.94 kB / 1.021 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004617/0.7345, allocations: 107 kB / 1.021 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.7346, allocations: 20 kB / 1.021 GB, free: 12.7 MB / 0.7794 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.0004258/0.735, allocations: 382.1 kB / 1.021 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/0.7352, allocations: 147.1 kB / 1.022 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005677/0.7358, allocations: 381.2 kB / 1.022 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.7358, allocations: 8 kB / 1.022 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.7358, allocations: 4 kB / 1.022 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.7358, allocations: 3.984 kB / 1.022 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.7391, allocations: 2.513 MB / 1.024 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.7391, allocations: 8.156 kB / 1.024 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.7393, allocations: 51.91 kB / 1.024 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.7393, allocations: 11.94 kB / 1.024 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.7393, allocations: 15.94 kB / 1.024 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/0.7393, allocations: 8 kB / 1.024 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.7393, allocations: 15.88 kB / 1.024 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007695/0.7401, allocations: 0.623 MB / 1.025 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003877/0.7405, allocations: 303.9 kB / 1.025 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.7407, allocations: 15.98 kB / 1.025 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.741, allocations: 12 kB / 1.025 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.7411, allocations: 35.84 kB / 1.025 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.7411, allocations: 20 kB / 1.025 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001488/0.7426, allocations: 1.203 MB / 1.027 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7426, allocations: 0 / 1.027 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008633/0.7435, allocations: 335.4 kB / 1.027 GB, free: 6.309 MB / 0.7794 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.002241/0.7457, allocations: 1.674 MB / 1.029 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005627/0.7463, allocations: 363.8 kB / 1.029 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7463, allocations: 4.125 kB / 1.029 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.7465, allocations: 155.7 kB / 1.029 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/0.7501, allocations: 0.9219 MB / 1.03 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.7632, allocations: 10.42 MB / 1.04 GB, free: 8.359 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008735/0.7641, allocations: 1.208 MB / 1.041 GB, free: 7.121 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0008674/0.765, allocations: 286.7 kB / 1.042 GB, free: 6.836 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005505/0.7656, allocations: 467.3 kB / 1.042 GB, free: 6.379 MB / 0.795 GB Notification: Performance of SimCode: time 6.31e-07/0.7656, allocations: 0 / 1.042 GB, free: 6.379 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07767/0.8433, allocations: 43.81 MB / 1.085 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.699/10.54, allocations: 16 kB / 1.085 GB, free: 11.09 MB / 0.8419 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)