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.7134/0.7134, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009326/0.0009328, allocations: 181.5 kB / 187.3 MB, free: 11.88 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.191/1.191, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0008573/0.0008572, allocations: 95.88 kB / 0.5124 GB, free: 24.26 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001656/0.001656, allocations: 274 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.908e-05, allocations: 12 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3159, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.28/4.596, allocations: 2.502 GB / 3.266 GB, free: 84.82 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/4.597, allocations: 87.95 kB / 3.267 GB, free: 84.74 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.598/9.194, allocations: 1.423 GB / 4.69 GB, free: 112.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.433e-06/9.194, allocations: 0.8125 kB / 4.69 GB, free: 112.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001031/9.194, allocations: 40.38 kB / 4.69 GB, free: 112.4 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.002213/9.197, allocations: 1.296 MB / 4.691 GB, free: 112 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/9.197, allocations: 10.75 kB / 4.691 GB, free: 112 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001986/9.197, allocations: 163.1 kB / 4.691 GB, free: 112 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/9.199, allocations: 343 kB / 4.692 GB, free: 111.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/9.2, allocations: 0.9184 MB / 4.693 GB, free: 111.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.66e-05/9.2, allocations: 81.83 kB / 4.693 GB, free: 111.6 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/9.201, allocations: 102.1 kB / 4.693 GB, free: 111.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/9.203, allocations: 1.39 MB / 4.694 GB, free: 111.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/9.203, allocations: 7.625 kB / 4.694 GB, free: 111.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-05/9.203, allocations: 46.06 kB / 4.694 GB, free: 111.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.549e-05/9.203, allocations: 51.41 kB / 4.694 GB, free: 111.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/9.204, allocations: 0.9047 MB / 4.695 GB, free: 111.3 MB / 0.7292 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.004055/9.208, allocations: 5.276 MB / 4.7 GB, free: 108.6 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004458/9.209, allocations: 312.3 kB / 4.701 GB, free: 108.6 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/9.209, allocations: 245.1 kB / 4.701 GB, free: 108.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007101/9.21, allocations: 1.082 MB / 4.702 GB, free: 107.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/9.21, allocations: 37.34 kB / 4.702 GB, free: 107.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 2.284e-06/9.21, allocations: 0 / 4.702 GB, free: 107.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.001031/9.211, allocations: 0.563 MB / 4.703 GB, free: 107.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/9.211, allocations: 80.67 kB / 4.703 GB, free: 107.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/9.212, allocations: 1.422 MB / 4.704 GB, free: 107 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/9.212, allocations: 32.77 kB / 4.704 GB, free: 107 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/9.213, allocations: 0.5459 MB / 4.705 GB, free: 106.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/9.213, allocations: 104.2 kB / 4.705 GB, free: 106.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/9.213, allocations: 5.344 kB / 4.705 GB, free: 106.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.495e-05/9.213, allocations: 316.2 kB / 4.705 GB, free: 106.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/9.213, allocations: 148.4 kB / 4.705 GB, free: 106.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/9.213, allocations: 312 kB / 4.705 GB, free: 106.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/9.213, allocations: 197.3 kB / 4.706 GB, free: 106.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/9.213, allocations: 3.188 kB / 4.706 GB, free: 106.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005923/9.214, allocations: 0.5421 MB / 4.706 GB, free: 106.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/9.214, allocations: 7.844 kB / 4.706 GB, free: 106.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/9.214, allocations: 0 / 4.706 GB, free: 106.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/9.214, allocations: 7.25 kB / 4.706 GB, free: 106.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/9.214, allocations: 55.86 kB / 4.706 GB, free: 106.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/9.214, allocations: 6.562 kB / 4.706 GB, free: 106.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005275/9.215, allocations: 122 kB / 4.706 GB, free: 106.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.126e-05/9.215, allocations: 33.7 kB / 4.706 GB, free: 106.2 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 () * 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 7.894e-05/9.215, allocations: 128.4 kB / 4.706 GB, free: 106.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/9.215, allocations: 134.4 kB / 4.707 GB, free: 106.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005401/9.216, allocations: 425.8 kB / 4.707 GB, free: 106 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/9.216, allocations: 7.25 kB / 4.707 GB, free: 106 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/9.216, allocations: 3.938 kB / 4.707 GB, free: 106 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/9.216, allocations: 7.25 kB / 4.707 GB, free: 106 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/9.218, allocations: 2.481 MB / 4.709 GB, free: 105.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/9.218, allocations: 7.188 kB / 4.709 GB, free: 105.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/9.218, allocations: 47.27 kB / 4.709 GB, free: 105.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/9.218, allocations: 15.59 kB / 4.709 GB, free: 105.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/9.218, allocations: 13.28 kB / 4.709 GB, free: 105.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/9.218, allocations: 10.5 kB / 4.71 GB, free: 105.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/9.218, allocations: 11.22 kB / 4.71 GB, free: 105.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005838/9.219, allocations: 0.9947 MB / 4.71 GB, free: 104.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/9.219, allocations: 298.2 kB / 4.711 GB, free: 104.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/9.219, allocations: 14.34 kB / 4.711 GB, free: 104.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/9.22, allocations: 31.53 kB / 4.711 GB, free: 104.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/9.22, allocations: 30.06 kB / 4.711 GB, free: 104.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/9.22, allocations: 20.75 kB / 4.711 GB, free: 104.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001105/9.221, allocations: 1.164 MB / 4.712 GB, free: 104 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/9.221, allocations: 3.156 kB / 4.712 GB, free: 104 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001443/9.222, allocations: 0.503 MB / 4.712 GB, free: 104 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 () * 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.003617/9.226, allocations: 5.128 MB / 4.718 GB, free: 100.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004189/9.227, allocations: 344.8 kB / 4.718 GB, free: 100.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/9.227, allocations: 0 / 4.718 GB, free: 100.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/9.227, allocations: 155.9 kB / 4.718 GB, free: 100.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003184/9.23, allocations: 0.8453 MB / 4.719 GB, free: 100.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/9.232, allocations: 1.949 MB / 4.721 GB, free: 100 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/9.233, allocations: 1.221 MB / 4.722 GB, free: 99.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0007491/9.234, allocations: 305.4 kB / 4.722 GB, free: 99.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/9.234, allocations: 456 kB / 4.723 GB, free: 99.3 MB / 0.7292 GB Notification: Performance of SimCode: time 6.72e-07/9.234, allocations: 0 / 4.723 GB, free: 99.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09679/9.331, allocations: 74.53 MB / 4.795 GB, free: 98.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/9.331, allocations: 199.9 kB / 4.796 GB, free: 98.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.735/13.07, allocations: 0 / 4.796 GB, free: 98.05 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)