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.001156/0.001156, allocations: 100.1 kB / 15.88 MB, free: 12 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.001087/0.001087, allocations: 204.9 kB / 16.79 MB, free: 6.84 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.167/1.167, allocations: 222.9 MB / 240.5 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6085/0.6085, allocations: 115.3 MB / 405.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 56.03 kB / 493 MB, free: 6.781 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1161, allocations: 76.2 MB / 0.5558 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.BoundaryWithX_in): time 0.3858/0.5019, allocations: 212.4 MB / 0.7633 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01349/0.5154, allocations: 12.27 MB / 0.7753 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.5168, allocations: 47.62 kB / 0.7753 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.5179, allocations: 405.3 kB / 0.7757 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003838/0.5218, allocations: 1.755 MB / 0.7774 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003716/0.5255, allocations: 1.741 MB / 0.7791 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002828/0.5284, allocations: 3.046 MB / 0.7821 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.5295, allocations: 1.047 MB / 0.7831 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.5306, allocations: 0.7195 MB / 0.7838 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006868/0.5313, allocations: 0.708 MB / 0.7845 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.5314, allocations: 48 kB / 0.7846 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00548/0.5369, allocations: 3.526 MB / 0.788 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004322/0.5373, allocations: 0.5024 MB / 0.7885 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006559/0.538, allocations: 0.6879 MB / 0.7892 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004/0.542, allocations: 3.35 MB / 0.7925 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.542, allocations: 3.938 kB / 0.7925 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.21e-07/0.542, allocations: 0 / 0.7925 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.542, allocations: 0 / 0.7925 GB, free: 4.445 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.001915/0.5439, allocations: 1.744 MB / 0.7942 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.544, allocations: 8.031 kB / 0.7942 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001671/0.5442, allocations: 176.7 kB / 0.7943 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.5457, allocations: 377.8 kB / 0.7947 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.5468, allocations: 0.8917 MB / 0.7956 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-05/0.5468, allocations: 78.06 kB / 0.7956 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.5469, allocations: 100 kB / 0.7957 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.5488, allocations: 1.536 MB / 0.7972 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.5488, allocations: 0 / 0.7972 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.601e-05/0.5489, allocations: 44 kB / 0.7973 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.535e-05/0.549, allocations: 65.48 kB / 0.7973 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.5502, allocations: 1.029 MB / 0.7984 GB, free: 14.19 MB / 0.6231 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.005271/0.5555, allocations: 5.957 MB / 0.8042 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005046/0.556, allocations: 322.2 kB / 0.8045 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.5563, allocations: 251.2 kB / 0.8047 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006075/0.5569, allocations: 0.7117 MB / 0.8054 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.557, allocations: 34.56 kB / 0.8054 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=28): time 1.473e-06/0.557, allocations: 0 / 0.8054 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28): time 0.001157/0.5581, allocations: 0.6746 MB / 0.8061 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.5582, allocations: 132.5 kB / 0.8062 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/0.5601, allocations: 1.682 MB / 0.8079 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.5601, allocations: 33.7 kB / 0.8079 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004512/0.5606, allocations: 0.5621 MB / 0.8085 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.787e-05/0.5606, allocations: 102.5 kB / 0.8085 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.5607, allocations: 65.72 kB / 0.8086 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.5609, allocations: 318 kB / 0.8089 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.5611, allocations: 155.9 kB / 0.8091 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.5613, allocations: 268.9 kB / 0.8093 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004413/0.5618, allocations: 408.3 kB / 0.8097 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5618, allocations: 0 / 0.8097 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006959/0.5625, allocations: 0.5432 MB / 0.8102 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.5625, allocations: 6.188 kB / 0.8102 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5625, allocations: 4 kB / 0.8103 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.5626, allocations: 7.938 kB / 0.8103 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.5628, allocations: 47.98 kB / 0.8103 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.5628, allocations: 20 kB / 0.8103 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/0.5633, allocations: 114.7 kB / 0.8104 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.5633, allocations: 19.98 kB / 0.8105 GB, free: 1.141 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.000389/0.5637, allocations: 379.1 kB / 0.8108 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.5639, allocations: 142.3 kB / 0.8109 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005075/0.5644, allocations: 384.8 kB / 0.8113 GB, free: 228 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5644, allocations: 4 kB / 0.8113 GB, free: 224 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.5645, allocations: 8 kB / 0.8113 GB, free: 216 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5645, allocations: 0 / 0.8113 GB, free: 216 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.5678, allocations: 2.619 MB / 0.8139 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.5678, allocations: 4 kB / 0.8139 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.568, allocations: 47.92 kB / 0.8139 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.568, allocations: 8 kB / 0.8139 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.568, allocations: 12 kB / 0.814 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/0.568, allocations: 15.94 kB / 0.814 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.568, allocations: 11.98 kB / 0.814 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000644/0.5687, allocations: 0.6187 MB / 0.8146 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003599/0.569, allocations: 291.3 kB / 0.8149 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.5692, allocations: 19.91 kB / 0.8149 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.5696, allocations: 12 kB / 0.8149 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.5696, allocations: 47.78 kB / 0.8149 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.5697, allocations: 15.94 kB / 0.815 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00139/0.5711, allocations: 1.227 MB / 0.8162 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.293e-06/0.5711, allocations: 0 / 0.8162 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008604/0.5719, allocations: 343.6 kB / 0.8165 GB, free: 10.63 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.002325/0.5743, allocations: 1.668 MB / 0.8181 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004593/0.5747, allocations: 335.5 kB / 0.8184 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.5748, allocations: 8.375 kB / 0.8184 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.5749, allocations: 155.6 kB / 0.8186 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003275/0.5782, allocations: 0.8877 MB / 0.8195 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1995/0.7777, allocations: 11.77 MB / 0.8309 GB, free: 231.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006452/0.7784, allocations: 1.203 MB / 0.8321 GB, free: 230.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008955/0.7793, allocations: 298.9 kB / 0.8324 GB, free: 230.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004217/0.7797, allocations: 462.5 kB / 0.8328 GB, free: 230.2 MB / 0.6387 GB Notification: Performance of SimCode: time 4.81e-07/0.7797, allocations: 0 / 0.8328 GB, free: 230.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.146/4.925, allocations: 41.95 MB / 0.8738 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/4.926, allocations: 247.2 kB / 0.874 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/7.403, allocations: 3.938 kB / 0.874 GB, free: 207.8 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)