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.8819/0.8819, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.00117/0.00117, allocations: 184.8 kB / 182.2 MB, free: 9.434 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.445/1.445, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.001096/0.001096, allocations: 88.11 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001738/0.001738, allocations: 284.5 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.077e-05/2.093e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4158, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.611/6.027, allocations: 2.501 GB / 3.259 GB, free: 103.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/6.027, allocations: 83.89 kB / 3.259 GB, free: 103 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.14/11.17, allocations: 1.404 GB / 4.663 GB, free: 34.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.004e-06/11.17, allocations: 0 / 4.663 GB, free: 34.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000102/11.17, allocations: 39.98 kB / 4.663 GB, free: 34.86 MB / 0.7136 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.002557/11.17, allocations: 1.297 MB / 4.665 GB, free: 33.51 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/11.17, allocations: 16.03 kB / 4.665 GB, free: 33.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/11.17, allocations: 337.8 kB / 4.665 GB, free: 33.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/11.17, allocations: 0.9197 MB / 4.666 GB, free: 32.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/11.17, allocations: 36 kB / 4.666 GB, free: 32.17 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/11.17, allocations: 60 kB / 4.666 GB, free: 32.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001179/11.17, allocations: 0.8396 MB / 4.667 GB, free: 31.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/11.18, allocations: 1.234 MB / 4.668 GB, free: 29.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/11.18, allocations: 4 kB / 4.668 GB, free: 29.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/11.18, allocations: 4 kB / 4.668 GB, free: 29.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.387e-05/11.18, allocations: 49.8 kB / 4.668 GB, free: 29.88 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.004149/11.18, allocations: 4.92 MB / 4.673 GB, free: 24.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/11.18, allocations: 261.2 kB / 4.673 GB, free: 24.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/11.18, allocations: 211 kB / 4.673 GB, free: 24.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007654/11.18, allocations: 0.8973 MB / 4.674 GB, free: 23.13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/11.18, allocations: 34.56 kB / 4.674 GB, free: 23.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=28): time 4.529e-06/11.18, allocations: 0 / 4.674 GB, free: 23.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28): time 0.001372/11.18, allocations: 0.4969 MB / 4.675 GB, free: 22.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/11.18, allocations: 84.98 kB / 4.675 GB, free: 22.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005912/11.18, allocations: 0.5551 MB / 4.675 GB, free: 21.92 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/11.18, allocations: 25.7 kB / 4.675 GB, free: 21.89 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000359/11.18, allocations: 0.5962 MB / 4.676 GB, free: 21.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.69e-05/11.18, allocations: 94.58 kB / 4.676 GB, free: 21.19 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/11.18, allocations: 0 / 4.676 GB, free: 21.19 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.441e-05/11.18, allocations: 322 kB / 4.676 GB, free: 20.87 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/11.18, allocations: 143.9 kB / 4.677 GB, free: 20.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/11.18, allocations: 306.1 kB / 4.677 GB, free: 20.37 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/11.18, allocations: 219.7 kB / 4.677 GB, free: 20.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/11.18, allocations: 0 / 4.677 GB, free: 20.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006437/11.19, allocations: 0.4903 MB / 4.678 GB, free: 19.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/11.19, allocations: 8 kB / 4.678 GB, free: 19.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/11.19, allocations: 0 / 4.678 GB, free: 19.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/11.19, allocations: 4.25 kB / 4.678 GB, free: 19.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/11.19, allocations: 71.91 kB / 4.678 GB, free: 19.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/11.19, allocations: 4 kB / 4.678 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/11.19, allocations: 19.84 kB / 4.678 GB, free: 19.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-05/11.19, allocations: 27.98 kB / 4.678 GB, free: 19.53 MB / 0.7136 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 () * 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 9.997e-05/11.19, allocations: 120.8 kB / 4.678 GB, free: 19.4 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005877/11.19, allocations: 429.8 kB / 4.678 GB, free: 18.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.354e-05/11.19, allocations: 75.16 kB / 4.678 GB, free: 18.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004602/11.19, allocations: 292.4 kB / 4.679 GB, free: 18.61 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/11.19, allocations: 4 kB / 4.679 GB, free: 18.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/11.19, allocations: 0 / 4.679 GB, free: 18.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/11.19, allocations: 0 / 4.679 GB, free: 18.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/11.19, allocations: 2.312 MB / 4.681 GB, free: 16.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/11.19, allocations: 4.812 kB / 4.681 GB, free: 16.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/11.19, allocations: 55.86 kB / 4.681 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/11.19, allocations: 12 kB / 4.681 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/11.19, allocations: 11.98 kB / 4.681 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/11.19, allocations: 8 kB / 4.681 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/11.19, allocations: 14.75 kB / 4.681 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005482/11.19, allocations: 0.8278 MB / 4.682 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/11.19, allocations: 204 kB / 4.682 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.762e-05/11.19, allocations: 11.98 kB / 4.682 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/11.19, allocations: 12 kB / 4.682 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/11.19, allocations: 39.86 kB / 4.682 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/11.19, allocations: 20 kB / 4.682 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004238/11.19, allocations: 467.1 kB / 4.682 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.8e-07/11.19, allocations: 0 / 4.682 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001611/11.19, allocations: 0.4985 MB / 4.683 GB, free: 13.7 MB / 0.7136 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 () * 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.004411/11.2, allocations: 5.365 MB / 4.688 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004624/11.2, allocations: 327.5 kB / 4.688 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/11.2, allocations: 4 kB / 4.688 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/11.2, allocations: 145.1 kB / 4.689 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/11.2, allocations: 442.4 kB / 4.689 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/11.2, allocations: 1.766 MB / 4.691 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006264/11.21, allocations: 1.229 MB / 4.692 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005986/11.21, allocations: 192.7 kB / 4.692 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/11.21, allocations: 419.3 kB / 4.693 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of SimCode: time 1.513e-06/11.21, allocations: 0 / 4.693 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6095/11.82, allocations: 37.4 MB / 4.729 GB, free: 108.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/11.82, allocations: 183.8 kB / 4.729 GB, free: 107.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.533/15.35, allocations: 2.375 kB / 4.729 GB, free: 107.9 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)