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.001069/0.001069, allocations: 98.27 kB / 15.98 MB, free: 6.289 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.001054/0.001054, allocations: 199.4 kB / 16.91 MB, free: 6.141 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.207/1.207, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6675/0.6675, allocations: 115.3 MB / 406.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2881, allocations: 76.17 MB / 0.556 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.BoundaryWithX_in): time 0.4476/0.7358, allocations: 211.9 MB / 0.763 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01217/0.748, allocations: 12.16 MB / 0.7748 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.7493, allocations: 50.59 kB / 0.7749 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009537/0.7502, allocations: 435.7 kB / 0.7753 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003513/0.7538, allocations: 1.765 MB / 0.777 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003588/0.7574, allocations: 1.779 MB / 0.7788 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00208/0.7595, allocations: 2.361 MB / 0.7811 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.7607, allocations: 1.168 MB / 0.7822 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.7617, allocations: 0.8322 MB / 0.783 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007057/0.7625, allocations: 0.7297 MB / 0.7837 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.7626, allocations: 90.06 kB / 0.7838 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004495/0.7671, allocations: 3.259 MB / 0.787 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003506/0.7675, allocations: 0.5475 MB / 0.7875 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000575/0.768, allocations: 0.7375 MB / 0.7883 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002996/0.7711, allocations: 3.399 MB / 0.7916 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7711, allocations: 1.031 kB / 0.7916 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7711, allocations: 0 / 0.7916 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.571e-05/0.7711, allocations: 0 / 0.7916 GB, free: 1.184 MB / 0.5762 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.001749/0.7728, allocations: 1.743 MB / 0.7933 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.7729, allocations: 12.06 kB / 0.7933 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.7731, allocations: 171.6 kB / 0.7935 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.7746, allocations: 372.6 kB / 0.7938 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009823/0.7755, allocations: 0.8954 MB / 0.7947 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/0.7756, allocations: 78.73 kB / 0.7948 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.7757, allocations: 102.8 kB / 0.7949 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.7774, allocations: 1.531 MB / 0.7964 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.7774, allocations: 6.156 kB / 0.7964 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-05/0.7775, allocations: 48.22 kB / 0.7964 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-05/0.7776, allocations: 60.25 kB / 0.7965 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.7786, allocations: 1.02 MB / 0.7975 GB, free: 15.48 MB / 0.5919 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.005329/0.784, allocations: 5.964 MB / 0.8033 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004836/0.7845, allocations: 317.8 kB / 0.8036 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.7847, allocations: 250.8 kB / 0.8038 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006174/0.7853, allocations: 0.7168 MB / 0.8045 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.7854, allocations: 41.25 kB / 0.8046 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=28): time 3.096e-06/0.7854, allocations: 3.984 kB / 0.8046 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28): time 0.001063/0.7865, allocations: 0.6728 MB / 0.8052 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.7865, allocations: 137.7 kB / 0.8054 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.7882, allocations: 1.681 MB / 0.807 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.7883, allocations: 30.02 kB / 0.807 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004072/0.7887, allocations: 0.5609 MB / 0.8076 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.572e-05/0.7887, allocations: 95.25 kB / 0.8077 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.635e-05/0.7889, allocations: 63.47 kB / 0.8077 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.678e-05/0.789, allocations: 320.7 kB / 0.808 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.7891, allocations: 154.4 kB / 0.8082 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.7894, allocations: 272.2 kB / 0.8084 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.7898, allocations: 407.5 kB / 0.8088 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7898, allocations: 0 / 0.8088 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006353/0.7904, allocations: 0.5473 MB / 0.8094 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.7905, allocations: 8.719 kB / 0.8094 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.7905, allocations: 10.38 kB / 0.8094 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.7905, allocations: 4.562 kB / 0.8094 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.7907, allocations: 53.73 kB / 0.8094 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.7907, allocations: 7.641 kB / 0.8094 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004657/0.7912, allocations: 110.8 kB / 0.8096 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.7912, allocations: 17.09 kB / 0.8096 GB, free: 9.777 MB / 0.5919 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.0003524/0.7916, allocations: 380.9 kB / 0.8099 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.7918, allocations: 136.3 kB / 0.8101 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/0.7923, allocations: 393.1 kB / 0.8104 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.7923, allocations: 3.688 kB / 0.8104 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7923, allocations: 0 / 0.8104 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.7923, allocations: 8.047 kB / 0.8104 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.7954, allocations: 2.612 MB / 0.813 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.7954, allocations: 6.438 kB / 0.813 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.7956, allocations: 52.19 kB / 0.8131 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.7956, allocations: 8.875 kB / 0.8131 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.7956, allocations: 13.66 kB / 0.8131 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.7956, allocations: 12.95 kB / 0.8131 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.7956, allocations: 10.28 kB / 0.8131 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000581/0.7962, allocations: 0.619 MB / 0.8137 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/0.7966, allocations: 299.7 kB / 0.814 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.7967, allocations: 14.5 kB / 0.814 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.7971, allocations: 15.31 kB / 0.814 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.7972, allocations: 44.47 kB / 0.8141 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.7972, allocations: 16.56 kB / 0.8141 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001242/0.7984, allocations: 1.225 MB / 0.8153 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7984, allocations: 0 / 0.8153 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008952/0.7993, allocations: 332.4 kB / 0.8156 GB, free: 7.832 MB / 0.5919 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.002187/0.8015, allocations: 1.683 MB / 0.8172 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004184/0.802, allocations: 354.4 kB / 0.8176 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.802, allocations: 6.625 kB / 0.8176 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.8021, allocations: 155.4 kB / 0.8177 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003277/0.8054, allocations: 0.9267 MB / 0.8186 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.8189, allocations: 11.78 MB / 0.8301 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007433/0.8197, allocations: 1.209 MB / 0.8313 GB, free: 300 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008945/0.8206, allocations: 298.7 kB / 0.8316 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/0.821, allocations: 467.9 kB / 0.832 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.821, allocations: 4 kB / 0.832 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5205/1.342, allocations: 42.87 MB / 0.8739 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/1.342, allocations: 239.4 kB / 0.8741 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/3.83, allocations: 0 / 0.8741 GB, free: 5.273 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)