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.6823/0.6823, allocations: 141.7 MB / 154.3 MB, free: 15.47 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.0009485/0.0009485, allocations: 191.9 kB / 187.3 MB, free: 11.87 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.21/1.21, 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.0007717/0.0007717, allocations: 95.47 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001621/0.001621, allocations: 282.6 kB / 0.5939 GB, free: 7.938 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.843e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3414, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.614/4.955, allocations: 2.502 GB / 3.266 GB, free: 33.86 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001868/4.955, allocations: 89.66 kB / 3.267 GB, free: 33.81 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.471/9.427, allocations: 1.423 GB / 4.69 GB, free: 120 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.482e-06/9.427, allocations: 0 / 4.69 GB, free: 120 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.165e-05/9.427, allocations: 40.44 kB / 4.69 GB, free: 120 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.001768/9.429, allocations: 1.305 MB / 4.691 GB, free: 119.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/9.429, allocations: 10.09 kB / 4.691 GB, free: 119.5 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001514/9.429, allocations: 166.9 kB / 4.691 GB, free: 119.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/9.43, allocations: 345.4 kB / 4.692 GB, free: 119.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/9.432, allocations: 0.9299 MB / 4.693 GB, free: 119.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.567e-05/9.432, allocations: 82.72 kB / 4.693 GB, free: 119.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/9.432, allocations: 103.9 kB / 4.693 GB, free: 119.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/9.434, allocations: 1.406 MB / 4.694 GB, free: 118.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/9.434, allocations: 3.594 kB / 4.694 GB, free: 118.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.899e-05/9.434, allocations: 44.44 kB / 4.694 GB, free: 118.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-05/9.434, allocations: 49.3 kB / 4.694 GB, free: 118.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/9.435, allocations: 0.9131 MB / 4.695 GB, free: 118.9 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.003774/9.439, allocations: 5.306 MB / 4.7 GB, free: 116.1 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/9.439, allocations: 313.3 kB / 4.701 GB, free: 116.1 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/9.439, allocations: 242.8 kB / 4.701 GB, free: 116.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006986/9.44, allocations: 1.087 MB / 4.702 GB, free: 114.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/9.44, allocations: 39.5 kB / 4.702 GB, free: 114.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 2.345e-06/9.44, allocations: 0 / 4.702 GB, free: 114.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.001027/9.441, allocations: 0.5606 MB / 4.703 GB, free: 114.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/9.441, allocations: 85.27 kB / 4.703 GB, free: 114.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/9.442, allocations: 1.445 MB / 4.704 GB, free: 114.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/9.443, allocations: 33.42 kB / 4.704 GB, free: 114.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/9.443, allocations: 0.5495 MB / 4.705 GB, free: 114.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.789e-05/9.443, allocations: 105.1 kB / 4.705 GB, free: 114.4 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/9.443, allocations: 6.594 kB / 4.705 GB, free: 114.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.121e-05/9.443, allocations: 323.5 kB / 4.705 GB, free: 114.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/9.443, allocations: 146.9 kB / 4.705 GB, free: 114.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/9.443, allocations: 293.3 kB / 4.705 GB, free: 113.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/9.444, allocations: 180.8 kB / 4.706 GB, free: 113.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/9.444, allocations: 0 / 4.706 GB, free: 113.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005852/9.444, allocations: 0.5244 MB / 4.706 GB, free: 113.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/9.444, allocations: 6.859 kB / 4.706 GB, free: 113.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/9.444, allocations: 4.188 kB / 4.706 GB, free: 113.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/9.444, allocations: 4 kB / 4.706 GB, free: 113.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/9.445, allocations: 56.58 kB / 4.706 GB, free: 113.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/9.445, allocations: 3.266 kB / 4.706 GB, free: 113.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005381/9.445, allocations: 119.2 kB / 4.706 GB, free: 113.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.08e-05/9.445, allocations: 26.52 kB / 4.706 GB, free: 113.8 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 () * 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 8.581e-05/9.445, allocations: 128.1 kB / 4.706 GB, free: 113.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/9.445, allocations: 134.8 kB / 4.707 GB, free: 113.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007262/9.446, allocations: 427.8 kB / 4.707 GB, free: 113.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/9.446, allocations: 2.906 kB / 4.707 GB, free: 113.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/9.446, allocations: 1.25 kB / 4.707 GB, free: 113.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/9.446, allocations: 1.25 kB / 4.707 GB, free: 113.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/9.449, allocations: 2.496 MB / 4.709 GB, free: 112.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/9.449, allocations: 6.047 kB / 4.709 GB, free: 112.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/9.449, allocations: 51.05 kB / 4.709 GB, free: 112.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/9.449, allocations: 14.09 kB / 4.71 GB, free: 112.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/9.449, allocations: 9.016 kB / 4.71 GB, free: 112.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/9.449, allocations: 12.59 kB / 4.71 GB, free: 112.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/9.449, allocations: 9.719 kB / 4.71 GB, free: 112.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006234/9.45, allocations: 0.9958 MB / 4.711 GB, free: 111.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003518/9.45, allocations: 308 kB / 4.711 GB, free: 111.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/9.45, allocations: 18.7 kB / 4.711 GB, free: 111.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/9.451, allocations: 18.66 kB / 4.711 GB, free: 111.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/9.451, allocations: 37.94 kB / 4.711 GB, free: 111.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/9.451, allocations: 20.08 kB / 4.711 GB, free: 111.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001153/9.452, allocations: 1.183 MB / 4.712 GB, free: 111.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.81e-07/9.452, allocations: 0 / 4.712 GB, free: 111.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001353/9.453, allocations: 0.5081 MB / 4.713 GB, free: 111.5 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.003622/9.457, allocations: 5.133 MB / 4.718 GB, free: 108.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00044/9.457, allocations: 340 kB / 4.718 GB, free: 108.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/9.457, allocations: 2.625 kB / 4.718 GB, free: 108.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/9.458, allocations: 162.3 kB / 4.718 GB, free: 108.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003336/9.461, allocations: 0.8358 MB / 4.719 GB, free: 108.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/9.464, allocations: 1.976 MB / 4.721 GB, free: 107.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/9.464, allocations: 1.238 MB / 4.722 GB, free: 106.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008481/9.465, allocations: 291.7 kB / 4.722 GB, free: 106.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/9.465, allocations: 464.6 kB / 4.723 GB, free: 106.7 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/9.466, allocations: 0 / 4.723 GB, free: 106.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08805/9.554, allocations: 74.73 MB / 4.796 GB, free: 100.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001349/9.554, allocations: 199.7 kB / 4.796 GB, free: 100.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.75/13.3, allocations: 0 / 4.796 GB, free: 100.7 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)