Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithX_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.001016/0.001016, allocations: 108.3 kB / 16.41 MB, free: 6.445 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.0009539/0.0009539, allocations: 191.9 kB / 17.34 MB, free: 5.738 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.303/1.303, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7178/0.7178, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 67.7 kB / 0.5679 GB, free: 28.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1331, allocations: 77.94 MB / 0.6441 GB, free: 9.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.BoundaryWithX_in): time 0.4995/0.6326, allocations: 214 MB / 0.8531 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01348/0.6461, allocations: 12.17 MB / 0.865 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.6476, allocations: 44.56 kB / 0.865 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.6488, allocations: 0.514 MB / 0.8655 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004327/0.6531, allocations: 1.955 MB / 0.8674 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004131/0.6573, allocations: 1.932 MB / 0.8693 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002472/0.6598, allocations: 2.352 MB / 0.8716 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.6611, allocations: 1.236 MB / 0.8728 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.6622, allocations: 0.8444 MB / 0.8736 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006356/0.6629, allocations: 0.6612 MB / 0.8743 GB, free: 196 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.663, allocations: 92 kB / 0.8744 GB, free: 104 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004815/0.6678, allocations: 2.704 MB / 0.877 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004329/0.6683, allocations: 0.5453 MB / 0.8775 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006461/0.6689, allocations: 0.7386 MB / 0.8783 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003841/0.6728, allocations: 3.119 MB / 0.8813 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.6728, allocations: 0 / 0.8813 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.855e-06/0.6728, allocations: 0 / 0.8813 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.6728, allocations: 3.938 kB / 0.8813 GB, free: 8.965 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002015/0.6749, allocations: 1.781 MB / 0.8831 GB, free: 7.125 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.6749, allocations: 16.56 kB / 0.8831 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001729/0.6751, allocations: 176.7 kB / 0.8832 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.6767, allocations: 382.6 kB / 0.8836 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.6782, allocations: 0.9667 MB / 0.8845 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.562e-05/0.6783, allocations: 78.06 kB / 0.8846 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.6784, allocations: 100 kB / 0.8847 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.6803, allocations: 1.533 MB / 0.8862 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.6804, allocations: 4 kB / 0.8862 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.313e-05/0.6805, allocations: 44 kB / 0.8863 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.69e-05/0.6805, allocations: 65.48 kB / 0.8863 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.6818, allocations: 1.021 MB / 0.8873 GB, free: 2.586 MB / 0.6387 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.005337/0.6872, allocations: 5.869 MB / 0.893 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.6877, allocations: 318.2 kB / 0.8934 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.688, allocations: 247.3 kB / 0.8936 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006465/0.6886, allocations: 0.7116 MB / 0.8943 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.6887, allocations: 46.55 kB / 0.8943 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=28): time 3.327e-06/0.6887, allocations: 0 / 0.8943 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28): time 0.001196/0.6899, allocations: 0.6763 MB / 0.895 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.6899, allocations: 136.6 kB / 0.8951 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.6918, allocations: 1.682 MB / 0.8968 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.6918, allocations: 33.64 kB / 0.8968 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004567/0.6923, allocations: 0.5662 MB / 0.8973 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.755e-05/0.6923, allocations: 99.16 kB / 0.8974 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.6924, allocations: 61.7 kB / 0.8975 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.6925, allocations: 318 kB / 0.8978 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.6927, allocations: 167.8 kB / 0.898 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.693, allocations: 264.5 kB / 0.8982 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004423/0.6935, allocations: 405.8 kB / 0.8986 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6935, allocations: 0 / 0.8986 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006679/0.6942, allocations: 0.5518 MB / 0.8991 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.6942, allocations: 11.88 kB / 0.8992 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6942, allocations: 4.156 kB / 0.8992 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.6942, allocations: 4 kB / 0.8992 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.6944, allocations: 59.91 kB / 0.8992 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.6945, allocations: 7.922 kB / 0.8992 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.6949, allocations: 114.9 kB / 0.8993 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.695, allocations: 20 kB / 0.8994 GB, free: 5.605 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0004036/0.6954, allocations: 381.7 kB / 0.8997 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.6956, allocations: 143.1 kB / 0.8999 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004959/0.6961, allocations: 388.7 kB / 0.9002 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.6961, allocations: 0 / 0.9002 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.6961, allocations: 7.938 kB / 0.9002 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.6961, allocations: 3.984 kB / 0.9002 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/0.6992, allocations: 2.521 MB / 0.9027 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6992, allocations: 4 kB / 0.9027 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.6994, allocations: 51.92 kB / 0.9028 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.6994, allocations: 8 kB / 0.9028 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.6994, allocations: 8 kB / 0.9028 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.6995, allocations: 16.48 kB / 0.9028 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.6995, allocations: 8 kB / 0.9028 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000611/0.7001, allocations: 0.6302 MB / 0.9034 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004161/0.7005, allocations: 307.9 kB / 0.9037 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.7007, allocations: 19.98 kB / 0.9037 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.701, allocations: 8 kB / 0.9037 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.7011, allocations: 35.86 kB / 0.9038 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.7011, allocations: 12.06 kB / 0.9038 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00136/0.7025, allocations: 1.235 MB / 0.905 GB, free: 15.52 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7025, allocations: 0 / 0.905 GB, free: 15.52 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008899/0.7034, allocations: 323.4 kB / 0.9053 GB, free: 15.2 MB / 0.67 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.002084/0.7055, allocations: 1.678 MB / 0.9069 GB, free: 13.43 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004855/0.706, allocations: 351.7 kB / 0.9073 GB, free: 13.09 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.706, allocations: 4 kB / 0.9073 GB, free: 13.08 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.7062, allocations: 157 kB / 0.9074 GB, free: 12.93 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/0.7097, allocations: 0.9304 MB / 0.9083 GB, free: 12.03 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.7213, allocations: 10.52 MB / 0.9186 GB, free: 1.172 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007312/0.7221, allocations: 1.204 MB / 0.9198 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008284/0.7229, allocations: 298.7 kB / 0.9201 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/0.7234, allocations: 463.3 kB / 0.9205 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of SimCode: time 8.22e-07/0.7235, allocations: 0 / 0.9205 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06832/0.7918, allocations: 44.02 MB / 0.9635 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.555/10.35, allocations: 10.19 kB / 0.9635 GB, free: 3.516 MB / 0.7169 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithX_in.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)