Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_8_Buildings_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.00108/0.001083, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001127/0.001127, allocations: 196.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.216/1.216, allocations: 205.1 MB / 222 MB, free: 4.961 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.654/1.654, allocations: 292.3 MB / 0.5484 GB, free: 13.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.27 kB / 0.6709 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1768, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5546/0.7314, allocations: 220.2 MB / 0.9978 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01217/0.7436, allocations: 13.24 MB / 1.011 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.7453, allocations: 49.75 kB / 1.011 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.7464, allocations: 410 kB / 1.011 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003739/0.7502, allocations: 1.761 MB / 1.013 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004321/0.7545, allocations: 1.969 MB / 1.015 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00277/0.7573, allocations: 3.049 MB / 1.018 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.7584, allocations: 1.063 MB / 1.019 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000895/0.7593, allocations: 0.7142 MB / 1.02 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007098/0.76, allocations: 0.708 MB / 1.02 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.7601, allocations: 51 kB / 1.02 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006035/0.7662, allocations: 3.75 MB / 1.024 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004204/0.7666, allocations: 0.5043 MB / 1.024 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006041/0.7672, allocations: 0.6795 MB / 1.025 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00441/0.7716, allocations: 3.48 MB / 1.028 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.7717, allocations: 4 kB / 1.028 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7717, allocations: 0 / 1.028 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.692e-05/0.7717, allocations: 0 / 1.028 GB, free: 9.809 MB / 0.7481 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.002032/0.7737, allocations: 1.772 MB / 1.03 GB, free: 8.477 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.7738, allocations: 10.09 kB / 1.03 GB, free: 8.477 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001716/0.7739, allocations: 168.4 kB / 1.03 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.7755, allocations: 372.9 kB / 1.031 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.7766, allocations: 0.898 MB / 1.032 GB, free: 7.492 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/0.7767, allocations: 77.47 kB / 1.032 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.7768, allocations: 102.5 kB / 1.032 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.7787, allocations: 1.532 MB / 1.033 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.7787, allocations: 3.938 kB / 1.033 GB, free: 6.426 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.033e-05/0.7788, allocations: 49.59 kB / 1.033 GB, free: 6.391 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.955e-05/0.7789, allocations: 57.61 kB / 1.033 GB, free: 6.383 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.7802, allocations: 1.029 MB / 1.034 GB, free: 5.879 MB / 0.7481 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.005394/0.7856, allocations: 5.95 MB / 1.04 GB, free: 0.7969 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005008/0.7861, allocations: 325 kB / 1.041 GB, free: 0.5781 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.7863, allocations: 248.5 kB / 1.041 GB, free: 448 kB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006012/0.7869, allocations: 0.6102 MB / 1.041 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.787, allocations: 41.94 kB / 1.041 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=28): time 1.834e-06/0.787, allocations: 0 / 1.041 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of matching and sorting (n=28): time 0.001151/0.7881, allocations: 0.6585 MB / 1.042 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.7882, allocations: 146.4 kB / 1.042 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.7899, allocations: 1.68 MB / 1.044 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.79, allocations: 32.17 kB / 1.044 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004412/0.7904, allocations: 0.5644 MB / 1.044 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/0.7905, allocations: 92.84 kB / 1.044 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.7906, allocations: 66.02 kB / 1.045 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.7907, allocations: 320.4 kB / 1.045 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.7909, allocations: 160.5 kB / 1.045 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.7912, allocations: 263.8 kB / 1.045 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000436/0.7916, allocations: 418.1 kB / 1.046 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.7916, allocations: 0 / 1.046 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006741/0.7923, allocations: 0.546 MB / 1.046 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.7923, allocations: 10.34 kB / 1.046 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.7923, allocations: 1.875 kB / 1.046 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.7924, allocations: 2.531 kB / 1.046 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.7926, allocations: 54.88 kB / 1.046 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.7926, allocations: 5.25 kB / 1.046 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/0.7931, allocations: 116.5 kB / 1.046 GB, free: 12.53 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.7931, allocations: 26.09 kB / 1.046 GB, free: 12.52 MB / 0.7637 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.0003913/0.7935, allocations: 379.9 kB / 1.047 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.7937, allocations: 139.3 kB / 1.047 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004846/0.7942, allocations: 386.2 kB / 1.047 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.7942, allocations: 2.375 kB / 1.047 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7942, allocations: 6.531 kB / 1.047 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.7942, allocations: 3.984 kB / 1.047 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/0.7975, allocations: 2.619 MB / 1.05 GB, free: 9.949 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.7975, allocations: 5.031 kB / 1.05 GB, free: 9.949 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.7977, allocations: 45.95 kB / 1.05 GB, free: 9.941 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.7977, allocations: 11.41 kB / 1.05 GB, free: 9.938 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.7978, allocations: 13.91 kB / 1.05 GB, free: 9.934 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/0.7978, allocations: 14.98 kB / 1.05 GB, free: 9.926 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.7978, allocations: 11.81 kB / 1.05 GB, free: 9.922 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006576/0.7984, allocations: 0.612 MB / 1.051 GB, free: 9.414 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/0.7988, allocations: 297.9 kB / 1.051 GB, free: 9.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.799, allocations: 13.84 kB / 1.051 GB, free: 9.176 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.7994, allocations: 26.42 kB / 1.051 GB, free: 9.16 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.7995, allocations: 33.3 kB / 1.051 GB, free: 9.141 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.7995, allocations: 18.19 kB / 1.051 GB, free: 9.137 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001416/0.8009, allocations: 1.232 MB / 1.052 GB, free: 8.27 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8009, allocations: 0 / 1.052 GB, free: 8.27 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009897/0.8019, allocations: 375.8 kB / 1.052 GB, free: 7.902 MB / 0.7637 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.002454/0.8044, allocations: 1.778 MB / 1.054 GB, free: 6.051 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.000467/0.8049, allocations: 333.8 kB / 1.055 GB, free: 5.727 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.8049, allocations: 0 / 1.055 GB, free: 5.727 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.8051, allocations: 164.5 kB / 1.055 GB, free: 5.566 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003472/0.8086, allocations: 0.8777 MB / 1.056 GB, free: 4.711 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/0.8231, allocations: 11.79 MB / 1.067 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007392/0.8239, allocations: 1.216 MB / 1.068 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0009114/0.8248, allocations: 298.7 kB / 1.069 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005001/0.8253, allocations: 463.3 kB / 1.069 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/0.8253, allocations: 0 / 1.069 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.405/3.231, allocations: 43.14 MB / 1.111 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/3.231, allocations: 235.1 kB / 1.111 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.366/6.597, allocations: 4 kB / 1.111 GB, free: 11.41 MB / 0.8262 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)