Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8715/0.8715, allocations: 143.3 MB / 158.3 MB, free: 5.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 173 kB / 191.5 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.689/1.689, allocations: 223.1 MB / 447.7 MB, free: 4.82 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009382/0.0009381, allocations: 88.38 kB / 0.5187 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002061, allocations: 269.8 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005114/0.0005116, allocations: 17.11 kB / 0.6929 GB, free: 59.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2091, allocations: 82.79 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.809/7.018, allocations: 2.502 GB / 3.276 GB, free: 72.39 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/7.018, allocations: 87.23 kB / 3.276 GB, free: 72.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.376/12.39, allocations: 1.423 GB / 4.699 GB, free: 41.52 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.405e-06/12.39, allocations: 0 / 4.699 GB, free: 41.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.928e-05/12.39, allocations: 47.92 kB / 4.699 GB, free: 41.48 MB / 0.7292 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.002569/12.4, allocations: 1.448 MB / 4.701 GB, free: 39.97 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/12.4, allocations: 8.031 kB / 4.701 GB, free: 39.96 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002067/12.4, allocations: 172.8 kB / 4.701 GB, free: 39.79 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/12.4, allocations: 337.8 kB / 4.701 GB, free: 39.45 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/12.4, allocations: 0.9197 MB / 4.702 GB, free: 38.49 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.406e-05/12.4, allocations: 82.05 kB / 4.702 GB, free: 38.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/12.4, allocations: 104 kB / 4.702 GB, free: 38.31 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/12.4, allocations: 1.425 MB / 4.704 GB, free: 36.78 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/12.4, allocations: 8 kB / 4.704 GB, free: 36.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.767e-05/12.4, allocations: 48 kB / 4.704 GB, free: 36.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.013e-05/12.4, allocations: 45.86 kB / 4.704 GB, free: 36.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/12.4, allocations: 0.9284 MB / 4.705 GB, free: 35.75 MB / 0.7292 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.004752/12.41, allocations: 5.32 MB / 4.71 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/12.41, allocations: 317 kB / 4.71 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009011/12.41, allocations: 1.079 MB / 4.711 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/12.41, allocations: 38.56 kB / 4.711 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 2.735e-06/12.41, allocations: 0 / 4.711 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.001392/12.41, allocations: 0.7195 MB / 4.712 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/12.41, allocations: 81.11 kB / 4.712 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/12.41, allocations: 1.463 MB / 4.713 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/12.41, allocations: 39.77 kB / 4.714 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000392/12.41, allocations: 0.5505 MB / 4.714 GB, free: 25.63 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.398e-05/12.41, allocations: 98.55 kB / 4.714 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/12.41, allocations: 8 kB / 4.714 GB, free: 25.53 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.668e-05/12.41, allocations: 314 kB / 4.714 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/12.41, allocations: 147.9 kB / 4.715 GB, free: 25.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/12.41, allocations: 300.3 kB / 4.715 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/12.41, allocations: 187.8 kB / 4.715 GB, free: 24.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/12.41, allocations: 0 / 4.715 GB, free: 24.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005941/12.41, allocations: 0.5271 MB / 4.716 GB, free: 24.01 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/12.41, allocations: 10.06 kB / 4.716 GB, free: 24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/12.41, allocations: 4 kB / 4.716 GB, free: 24 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/12.41, allocations: 4 kB / 4.716 GB, free: 23.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/12.41, allocations: 59.86 kB / 4.716 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/12.41, allocations: 4 kB / 4.716 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006581/12.42, allocations: 118.5 kB / 4.716 GB, free: 23.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/12.42, allocations: 23.94 kB / 4.716 GB, free: 23.79 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004622/12.42, allocations: 381.7 kB / 4.716 GB, free: 23.41 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/12.42, allocations: 146.2 kB / 4.716 GB, free: 23.26 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005847/12.42, allocations: 417.4 kB / 4.717 GB, free: 22.83 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/12.42, allocations: 0 / 4.717 GB, free: 22.83 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/12.42, allocations: 7.953 kB / 4.717 GB, free: 22.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/12.42, allocations: 4 kB / 4.717 GB, free: 22.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/12.42, allocations: 2.506 MB / 4.719 GB, free: 20.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/12.42, allocations: 8 kB / 4.719 GB, free: 20.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/12.42, allocations: 47.92 kB / 4.719 GB, free: 20.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/12.42, allocations: 11.95 kB / 4.719 GB, free: 20.07 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/12.42, allocations: 12 kB / 4.719 GB, free: 20.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.297e-06/12.42, allocations: 15.92 kB / 4.719 GB, free: 20.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/12.42, allocations: 4 kB / 4.719 GB, free: 20.04 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007068/12.42, allocations: 0.9944 MB / 4.72 GB, free: 18.78 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004389/12.42, allocations: 303.3 kB / 4.72 GB, free: 18.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/12.42, allocations: 23.97 kB / 4.721 GB, free: 18.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/12.42, allocations: 12 kB / 4.721 GB, free: 18.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/12.42, allocations: 43.86 kB / 4.721 GB, free: 18.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/12.42, allocations: 12 kB / 4.721 GB, free: 18.38 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001215/12.42, allocations: 1.207 MB / 4.722 GB, free: 17.17 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/12.42, allocations: 0 / 4.722 GB, free: 17.17 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001858/12.42, allocations: 0.5074 MB / 4.722 GB, free: 16.66 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004702/12.43, allocations: 5.125 MB / 4.727 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000515/12.43, allocations: 346.5 kB / 4.728 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/12.43, allocations: 0 / 4.728 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/12.43, allocations: 157 kB / 4.728 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/12.43, allocations: 0.8523 MB / 4.729 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/12.44, allocations: 9.237 MB / 4.738 GB, free: 240 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5234/12.97, allocations: 1.226 MB / 4.739 GB, free: 97.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001498/12.97, allocations: 292.7 kB / 4.739 GB, free: 97.78 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006853/12.97, allocations: 462 kB / 4.74 GB, free: 97.78 MB / 0.7292 GB Notification: Performance of SimCode: time 2.495e-06/12.97, allocations: 4.516 kB / 4.74 GB, free: 97.78 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1391/13.11, allocations: 69.75 MB / 4.808 GB, free: 96.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/13.11, allocations: 226.5 kB / 4.808 GB, free: 96.61 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.238/17.35, allocations: 0 / 4.808 GB, free: 96.61 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)