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.001327/0.001327, allocations: 107.8 kB / 16.41 MB, free: 6.48 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.001186/0.001186, allocations: 189.2 kB / 17.34 MB, free: 5.75 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8211/0.8211, allocations: 126.7 MB / 417.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.86 kB / 0.5735 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1321, allocations: 78.86 MB / 0.6505 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5099/0.6421, allocations: 214.1 MB / 0.8596 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01629/0.6584, allocations: 12.18 MB / 0.8715 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.6596, allocations: 43.69 kB / 0.8715 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.6609, allocations: 0.508 MB / 0.872 GB, free: 352 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00458/0.6655, allocations: 1.878 MB / 0.8739 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004586/0.6701, allocations: 1.912 MB / 0.8757 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002913/0.673, allocations: 2.344 MB / 0.878 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.6747, allocations: 1.233 MB / 0.8792 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005983/0.6807, allocations: 2.967 MB / 0.8821 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000928/0.6816, allocations: 0.6534 MB / 0.8828 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.6818, allocations: 92 kB / 0.8829 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004873/0.6866, allocations: 2.479 MB / 0.8853 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005577/0.6872, allocations: 0.5415 MB / 0.8858 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008552/0.6881, allocations: 0.7425 MB / 0.8865 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004748/0.6928, allocations: 3.119 MB / 0.8896 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.6929, allocations: 3.938 kB / 0.8896 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6929, allocations: 0 / 0.8896 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.056e-05/0.6929, allocations: 0 / 0.8896 GB, free: 14.33 MB / 0.6544 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.002434/0.6953, allocations: 1.792 MB / 0.8913 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.6954, allocations: 12.03 kB / 0.8913 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/0.6956, allocations: 176.8 kB / 0.8915 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.6973, allocations: 374.6 kB / 0.8919 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.6988, allocations: 0.9745 MB / 0.8928 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.636e-05/0.6989, allocations: 74.06 kB / 0.8929 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.6991, allocations: 100 kB / 0.893 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.7014, allocations: 1.533 MB / 0.8945 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.7015, allocations: 7.938 kB / 0.8945 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.7016, allocations: 48 kB / 0.8945 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.929e-05/0.7017, allocations: 61.53 kB / 0.8946 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.7032, allocations: 1.021 MB / 0.8956 GB, free: 7.941 MB / 0.6544 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.006856/0.7101, allocations: 5.87 MB / 0.9013 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006184/0.7107, allocations: 322.4 kB / 0.9016 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.7111, allocations: 255.5 kB / 0.9019 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008243/0.7119, allocations: 0.7116 MB / 0.9026 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.712, allocations: 42.5 kB / 0.9026 GB, free: 244 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=28): time 2.735e-06/0.712, allocations: 0 / 0.9026 GB, free: 244 kB / 0.6544 GB Notification: Performance of matching and sorting (n=28): time 0.001428/0.7134, allocations: 0.6839 MB / 0.9033 GB, free: 15.55 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.202e-05/0.7135, allocations: 132.5 kB / 0.9034 GB, free: 15.39 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.7157, allocations: 1.678 MB / 0.905 GB, free: 13.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.7158, allocations: 37.7 kB / 0.9051 GB, free: 13.66 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005764/0.7164, allocations: 0.5546 MB / 0.9056 GB, free: 13.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.846e-05/0.7165, allocations: 103.1 kB / 0.9057 GB, free: 13 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.7166, allocations: 69.72 kB / 0.9058 GB, free: 12.92 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.7168, allocations: 318 kB / 0.9061 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.717, allocations: 151.9 kB / 0.9062 GB, free: 12.46 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.7174, allocations: 276.4 kB / 0.9065 GB, free: 12.16 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/0.718, allocations: 401.8 kB / 0.9069 GB, free: 11.73 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.718, allocations: 7.938 kB / 0.9069 GB, free: 11.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008385/0.7188, allocations: 0.5525 MB / 0.9074 GB, free: 11.17 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.7188, allocations: 8 kB / 0.9074 GB, free: 11.16 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7189, allocations: 0 / 0.9074 GB, free: 11.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.7189, allocations: 7.938 kB / 0.9074 GB, free: 11.15 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.7191, allocations: 51.92 kB / 0.9075 GB, free: 11.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.7191, allocations: 11.92 kB / 0.9075 GB, free: 11.09 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.7196, allocations: 110.9 kB / 0.9076 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/0.7197, allocations: 24.19 kB / 0.9076 GB, free: 10.96 MB / 0.67 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.0004998/0.7202, allocations: 377.6 kB / 0.908 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.7205, allocations: 143.1 kB / 0.9081 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006328/0.7211, allocations: 394.9 kB / 0.9085 GB, free: 10.03 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.7211, allocations: 7.938 kB / 0.9085 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.7211, allocations: 0 / 0.9085 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.7211, allocations: 4 kB / 0.9085 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/0.7247, allocations: 2.509 MB / 0.911 GB, free: 7.324 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.7247, allocations: 8 kB / 0.911 GB, free: 7.316 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.7249, allocations: 52.72 kB / 0.911 GB, free: 7.266 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.725, allocations: 8 kB / 0.911 GB, free: 7.258 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.725, allocations: 20 kB / 0.9111 GB, free: 7.238 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.725, allocations: 11.94 kB / 0.9111 GB, free: 7.227 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.725, allocations: 4 kB / 0.9111 GB, free: 7.223 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007848/0.7258, allocations: 0.6309 MB / 0.9117 GB, free: 6.492 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004179/0.7262, allocations: 304 kB / 0.912 GB, free: 6.176 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.7264, allocations: 12.09 kB / 0.912 GB, free: 6.164 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.7268, allocations: 16.06 kB / 0.912 GB, free: 6.148 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.7269, allocations: 39.83 kB / 0.912 GB, free: 6.109 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.7269, allocations: 19.94 kB / 0.9121 GB, free: 6.09 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001656/0.7286, allocations: 1.223 MB / 0.9133 GB, free: 4.871 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7286, allocations: 0 / 0.9133 GB, free: 4.871 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009085/0.7295, allocations: 327.4 kB / 0.9136 GB, free: 4.551 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.00247/0.732, allocations: 1.68 MB / 0.9152 GB, free: 2.777 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.000585/0.7326, allocations: 355.4 kB / 0.9155 GB, free: 2.43 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.7326, allocations: 0 / 0.9155 GB, free: 2.43 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.7328, allocations: 165.4 kB / 0.9157 GB, free: 2.27 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003862/0.7367, allocations: 0.9184 MB / 0.9166 GB, free: 1.379 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/0.7509, allocations: 10.52 MB / 0.9269 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.7519, allocations: 1.204 MB / 0.9281 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008562/0.7528, allocations: 310.7 kB / 0.9283 GB, free: 4.973 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006107/0.7534, allocations: 459.3 kB / 0.9288 GB, free: 4.523 MB / 0.6856 GB Notification: Performance of SimCode: time 4e-07/0.7534, allocations: 0 / 0.9288 GB, free: 4.523 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08164/0.835, allocations: 44.01 MB / 0.9718 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/11.16, allocations: 2.344 kB / 0.9718 GB, free: 8.871 MB / 0.7325 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)