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.0008257/0.0008257, allocations: 92.95 kB / 16.02 MB, free: 84 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.0009578/0.0009578, allocations: 179.3 kB / 16.92 MB, free: 6.645 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.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6828/0.6828, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003125, allocations: 13.94 kB / 496 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1286, allocations: 77.52 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.BoundaryWithX_in): time 0.437/0.5657, allocations: 209.6 MB / 0.7647 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01431/0.58, allocations: 12.12 MB / 0.7766 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.5812, allocations: 43.62 kB / 0.7766 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.5824, allocations: 413.3 kB / 0.777 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004115/0.5865, allocations: 1.758 MB / 0.7787 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003932/0.5904, allocations: 1.738 MB / 0.7804 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003173/0.5936, allocations: 3.038 MB / 0.7834 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.5951, allocations: 1.024 MB / 0.7844 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.5963, allocations: 0.6766 MB / 0.7851 GB, free: 112 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009482/0.5973, allocations: 0.6533 MB / 0.7857 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.5974, allocations: 36 kB / 0.7857 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005604/0.603, allocations: 3.522 MB / 0.7892 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005043/0.6036, allocations: 498.5 kB / 0.7896 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00083/0.6044, allocations: 0.6739 MB / 0.7903 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004495/0.6089, allocations: 3.318 MB / 0.7935 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.6089, allocations: 0 / 0.7935 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6089, allocations: 0 / 0.7935 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.206e-05/0.609, allocations: 0 / 0.7935 GB, free: 7.387 MB / 0.6075 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.002266/0.6112, allocations: 1.445 MB / 0.7949 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.6113, allocations: 12.03 kB / 0.795 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002413/0.6115, allocations: 172.8 kB / 0.7951 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/0.6132, allocations: 377.7 kB / 0.7955 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.6145, allocations: 0.8956 MB / 0.7964 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.973e-05/0.6146, allocations: 78.05 kB / 0.7964 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.6147, allocations: 100 kB / 0.7965 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.6169, allocations: 1.53 MB / 0.798 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.6169, allocations: 4 kB / 0.798 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.832e-05/0.617, allocations: 47.98 kB / 0.7981 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.816e-05/0.6171, allocations: 65.48 kB / 0.7981 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.6185, allocations: 1.025 MB / 0.7991 GB, free: 1.426 MB / 0.6075 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.006272/0.6248, allocations: 5.918 MB / 0.8049 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/0.6254, allocations: 314.2 kB / 0.8052 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.6258, allocations: 255.5 kB / 0.8055 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006729/0.6265, allocations: 0.7078 MB / 0.8061 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.6265, allocations: 42.56 kB / 0.8062 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=28): time 1.893e-06/0.6265, allocations: 0 / 0.8062 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28): time 0.001339/0.6279, allocations: 0.6674 MB / 0.8068 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.6279, allocations: 132.5 kB / 0.807 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/0.6302, allocations: 1.686 MB / 0.8086 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.6303, allocations: 37.7 kB / 0.8087 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005309/0.6308, allocations: 0.5544 MB / 0.8092 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.961e-05/0.6309, allocations: 98.55 kB / 0.8093 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-05/0.631, allocations: 33.64 kB / 0.8093 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.6311, allocations: 318 kB / 0.8096 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.6313, allocations: 155.9 kB / 0.8098 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.6317, allocations: 272.9 kB / 0.81 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004876/0.6322, allocations: 408.9 kB / 0.8104 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6322, allocations: 0 / 0.8104 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007791/0.633, allocations: 0.5386 MB / 0.8109 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.633, allocations: 4 kB / 0.8109 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.6331, allocations: 4 kB / 0.811 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.6331, allocations: 4.188 kB / 0.811 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.6333, allocations: 59.91 kB / 0.811 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.6333, allocations: 7.938 kB / 0.811 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/0.6339, allocations: 118.4 kB / 0.8111 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.6339, allocations: 20 kB / 0.8112 GB, free: 4.461 MB / 0.6231 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.0004652/0.6344, allocations: 379.1 kB / 0.8115 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.6346, allocations: 146.2 kB / 0.8117 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005867/0.6352, allocations: 377 kB / 0.812 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.6352, allocations: 4 kB / 0.812 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6352, allocations: 0 / 0.812 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.6353, allocations: 11.92 kB / 0.812 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003397/0.6387, allocations: 2.56 MB / 0.8145 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.6387, allocations: 12.81 kB / 0.8145 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.6389, allocations: 47.92 kB / 0.8146 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.6389, allocations: 12 kB / 0.8146 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.6389, allocations: 12 kB / 0.8146 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/0.639, allocations: 15.92 kB / 0.8146 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.639, allocations: 8.078 kB / 0.8146 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008199/0.6398, allocations: 0.6223 MB / 0.8152 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004909/0.6403, allocations: 311.2 kB / 0.8155 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.6405, allocations: 8 kB / 0.8155 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.6409, allocations: 19.91 kB / 0.8156 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.641, allocations: 39.94 kB / 0.8156 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/0.641, allocations: 19.98 kB / 0.8156 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00168/0.6427, allocations: 1.227 MB / 0.8168 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6427, allocations: 0 / 0.8168 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009607/0.6437, allocations: 347.7 kB / 0.8172 GB, free: 13.99 MB / 0.6387 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.002684/0.6464, allocations: 1.684 MB / 0.8188 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005277/0.6469, allocations: 343.5 kB / 0.8191 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6469, allocations: 0 / 0.8191 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.6472, allocations: 165.4 kB / 0.8193 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005219/0.6524, allocations: 0.8733 MB / 0.8201 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2376/0.89, allocations: 11.78 MB / 0.8316 GB, free: 230.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007709/0.8908, allocations: 1.206 MB / 0.8328 GB, free: 230.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001029/0.8919, allocations: 297.2 kB / 0.8331 GB, free: 230.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005189/0.8924, allocations: 463 kB / 0.8335 GB, free: 230.2 MB / 0.6387 GB Notification: Performance of SimCode: time 7.01e-07/0.8924, allocations: 0 / 0.8335 GB, free: 230.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05738/0.9498, allocations: 41.61 MB / 0.8742 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000123/0.9499, allocations: 244.6 kB / 0.8744 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.587, allocations: 0 / 0.8744 GB, free: 209.9 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithX_in.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)