Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_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.BoundaryWithXi_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_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.9674/0.9674, allocations: 143.3 MB / 158.3 MB, free: 5.789 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.001926/0.001926, allocations: 177 kB / 191.5 MB, free: 5.754 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.957/1.957, allocations: 223.1 MB / 447.7 MB, free: 4.812 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.001145/0.001145, allocations: 92.33 kB / 0.5187 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002267/0.002267, allocations: 271.4 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000729/0.0007291, allocations: 12.72 kB / 0.6929 GB, free: 59.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2397, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.841/7.081, allocations: 2.502 GB / 3.276 GB, free: 74.21 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/7.081, allocations: 90.48 kB / 3.276 GB, free: 74.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.343/12.42, allocations: 1.423 GB / 4.699 GB, free: 43.19 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.437e-06/12.42, allocations: 0 / 4.699 GB, free: 43.19 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001027/12.42, allocations: 39.98 kB / 4.699 GB, free: 43.15 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002898/12.43, allocations: 1.444 MB / 4.701 GB, free: 41.65 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/12.43, allocations: 10.09 kB / 4.701 GB, free: 41.64 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002454/12.43, allocations: 164.6 kB / 4.701 GB, free: 41.47 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/12.43, allocations: 333.8 kB / 4.701 GB, free: 41.14 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/12.43, allocations: 0.9236 MB / 4.702 GB, free: 40.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/12.43, allocations: 78.03 kB / 4.702 GB, free: 40.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/12.43, allocations: 104 kB / 4.702 GB, free: 40 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/12.43, allocations: 1.409 MB / 4.704 GB, free: 38.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/12.43, allocations: 11.92 kB / 4.704 GB, free: 38.47 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.873e-05/12.43, allocations: 44 kB / 4.704 GB, free: 38.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-05/12.43, allocations: 41.88 kB / 4.704 GB, free: 38.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/12.43, allocations: 0.9245 MB / 4.705 GB, free: 37.46 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.005027/12.44, allocations: 5.278 MB / 4.71 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/12.44, allocations: 313.7 kB / 4.71 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009357/12.44, allocations: 1.083 MB / 4.711 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/12.44, allocations: 38.55 kB / 4.711 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 2.786e-06/12.44, allocations: 0 / 4.711 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.001446/12.44, allocations: 0.7318 MB / 4.712 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/12.44, allocations: 77.11 kB / 4.712 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/12.44, allocations: 1.431 MB / 4.713 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.3e-05/12.44, allocations: 37.7 kB / 4.713 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003885/12.44, allocations: 0.5464 MB / 4.714 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.755e-05/12.45, allocations: 106.4 kB / 4.714 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/12.45, allocations: 11.66 kB / 4.714 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.771e-05/12.45, allocations: 317.9 kB / 4.714 GB, free: 26.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/12.45, allocations: 155.9 kB / 4.715 GB, free: 26.83 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/12.45, allocations: 317.8 kB / 4.715 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/12.45, allocations: 191.8 kB / 4.715 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/12.45, allocations: 4 kB / 4.715 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006637/12.45, allocations: 0.5386 MB / 4.716 GB, free: 25.72 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/12.45, allocations: 4 kB / 4.716 GB, free: 25.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/12.45, allocations: 8.25 kB / 4.716 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/12.45, allocations: 7.984 kB / 4.716 GB, free: 25.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/12.45, allocations: 59.92 kB / 4.716 GB, free: 25.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/12.45, allocations: 4 kB / 4.716 GB, free: 25.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006799/12.45, allocations: 110.6 kB / 4.716 GB, free: 25.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/12.45, allocations: 31.98 kB / 4.716 GB, free: 25.5 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0004691/12.45, allocations: 385.5 kB / 4.716 GB, free: 25.11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/12.45, allocations: 138.2 kB / 4.716 GB, free: 24.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006073/12.45, allocations: 419.6 kB / 4.717 GB, free: 24.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/12.45, allocations: 4 kB / 4.717 GB, free: 24.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/12.45, allocations: 0 / 4.717 GB, free: 24.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/12.45, allocations: 3.984 kB / 4.717 GB, free: 24.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/12.45, allocations: 2.494 MB / 4.719 GB, free: 21.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/12.45, allocations: 12.12 kB / 4.719 GB, free: 21.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/12.45, allocations: 43.92 kB / 4.719 GB, free: 21.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/12.45, allocations: 11.98 kB / 4.719 GB, free: 21.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/12.45, allocations: 19.94 kB / 4.719 GB, free: 21.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/12.45, allocations: 15.89 kB / 4.719 GB, free: 21.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/12.45, allocations: 7.938 kB / 4.719 GB, free: 21.76 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007101/12.45, allocations: 0.9838 MB / 4.72 GB, free: 20.51 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005053/12.45, allocations: 307.2 kB / 4.72 GB, free: 20.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/12.45, allocations: 15.38 kB / 4.72 GB, free: 20.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/12.45, allocations: 19.98 kB / 4.72 GB, free: 20.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/12.45, allocations: 35.81 kB / 4.721 GB, free: 20.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/12.45, allocations: 20 kB / 4.721 GB, free: 20.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0013/12.46, allocations: 1.179 MB / 4.722 GB, free: 18.93 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/12.46, allocations: 0 / 4.722 GB, free: 18.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002004/12.46, allocations: 0.5074 MB / 4.722 GB, free: 18.42 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.004814/12.46, allocations: 5.117 MB / 4.727 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005582/12.46, allocations: 362.8 kB / 4.728 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/12.46, allocations: 3.938 kB / 4.728 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/12.46, allocations: 161.2 kB / 4.728 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003679/12.47, allocations: 0.8438 MB / 4.729 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/12.48, allocations: 9.44 MB / 4.738 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007554/12.48, allocations: 1.232 MB / 4.739 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001248/12.48, allocations: 290.3 kB / 4.739 GB, free: 236 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4568/12.94, allocations: 448.4 kB / 4.74 GB, free: 98.02 MB / 0.7292 GB Notification: Performance of SimCode: time 1.794e-06/12.94, allocations: 0 / 4.74 GB, free: 98.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1222/13.06, allocations: 69.52 MB / 4.808 GB, free: 97.11 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/13.06, allocations: 235.5 kB / 4.808 GB, free: 96.87 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.147/17.21, allocations: 1.094 kB / 4.808 GB, free: 96.87 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)