Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.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.Boundary,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.Boundary,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary",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.9174/0.9174, allocations: 143.3 MB / 158.3 MB, free: 5.785 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.001336/0.001336, allocations: 175.5 kB / 191.5 MB, free: 5.762 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.732/1.732, allocations: 223.1 MB / 447.7 MB, free: 4.746 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.0008878/0.0008878, allocations: 92.27 kB / 0.5187 GB, free: 1.102 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001827/0.001827, allocations: 265.6 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004409, allocations: 19.19 kB / 0.6929 GB, free: 59.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2103, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.571/7.781, allocations: 2.829 GB / 3.603 GB, free: 85.09 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/7.782, allocations: 87.95 kB / 3.603 GB, free: 85 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.859/14.64, allocations: 1.762 GB / 5.365 GB, free: 7.594 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.304e-06/14.64, allocations: 11.28 kB / 5.365 GB, free: 7.586 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001871/14.64, allocations: 59.97 kB / 5.365 GB, free: 7.527 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.005748/14.65, allocations: 2.074 MB / 5.367 GB, free: 5.422 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/14.65, allocations: 12.03 kB / 5.367 GB, free: 5.41 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003216/14.65, allocations: 186 kB / 5.367 GB, free: 5.219 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002458/14.65, allocations: 441 kB / 5.368 GB, free: 4.785 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002741/14.65, allocations: 1.305 MB / 5.369 GB, free: 3.43 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-05/14.65, allocations: 98.44 kB / 5.369 GB, free: 3.332 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/14.65, allocations: 132 kB / 5.369 GB, free: 3.203 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/14.65, allocations: 1.592 MB / 5.371 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/14.65, allocations: 7.938 kB / 5.371 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/14.65, allocations: 52 kB / 5.371 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.081e-05/14.66, allocations: 49.11 kB / 5.371 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/14.66, allocations: 1.111 MB / 5.372 GB, free: 288 kB / 0.7605 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.6525/15.31, allocations: 6.994 MB / 5.379 GB, free: 78.9 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009629/15.31, allocations: 0.5688 MB / 5.379 GB, free: 78.74 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001841/15.31, allocations: 2.424 MB / 5.382 GB, free: 76.11 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/15.31, allocations: 53.45 kB / 5.382 GB, free: 76.07 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=72): time 4.118e-06/15.31, allocations: 0 / 5.382 GB, free: 76.07 MB / 0.7605 GB Notification: Performance of matching and sorting (n=72): time 0.003077/15.32, allocations: 1.324 MB / 5.383 GB, free: 75.94 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.125e-05/15.32, allocations: 224.7 kB / 5.383 GB, free: 75.69 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002788/15.32, allocations: 1.646 MB / 5.385 GB, free: 75.5 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001552/15.32, allocations: 44.41 kB / 5.385 GB, free: 75.46 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006995/15.32, allocations: 0.7329 MB / 5.386 GB, free: 75.35 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/15.32, allocations: 246.1 kB / 5.386 GB, free: 75.22 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/15.32, allocations: 11.78 kB / 5.386 GB, free: 75.22 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.631e-05/15.32, allocations: 329.7 kB / 5.386 GB, free: 74.92 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/15.32, allocations: 296.8 kB / 5.386 GB, free: 74.92 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007101/15.32, allocations: 0.5804 MB / 5.387 GB, free: 74.68 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/15.32, allocations: 378.3 kB / 5.387 GB, free: 74.68 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/15.32, allocations: 3.781 kB / 5.387 GB, free: 74.68 MB / 0.7605 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001682/15.32, allocations: 0.9636 MB / 5.388 GB, free: 74.55 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/15.32, allocations: 10.48 kB / 5.388 GB, free: 74.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/15.32, allocations: 7.844 kB / 5.388 GB, free: 74.55 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/15.32, allocations: 7.016 kB / 5.388 GB, free: 74.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/15.32, allocations: 125.3 kB / 5.388 GB, free: 74.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/15.32, allocations: 10.91 kB / 5.388 GB, free: 74.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/15.32, allocations: 141.6 kB / 5.389 GB, free: 74.51 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/15.32, allocations: 65.09 kB / 5.389 GB, free: 74.51 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.001007/15.33, allocations: 458.5 kB / 5.389 GB, free: 74.39 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005452/15.33, allocations: 186.8 kB / 5.389 GB, free: 74.3 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/15.33, allocations: 1.051 MB / 5.39 GB, free: 74.23 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.341e-05/15.33, allocations: 10.92 kB / 5.39 GB, free: 74.23 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/15.33, allocations: 7.594 kB / 5.39 GB, free: 74.23 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/15.33, allocations: 6.141 kB / 5.39 GB, free: 74.23 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/15.34, allocations: 8.51 MB / 5.399 GB, free: 71.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.789e-05/15.34, allocations: 16.52 kB / 5.399 GB, free: 71.75 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/15.34, allocations: 146.9 kB / 5.399 GB, free: 71.75 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.14e-05/15.34, allocations: 25.8 kB / 5.399 GB, free: 71.75 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.315e-05/15.34, allocations: 38.27 kB / 5.399 GB, free: 71.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.068e-05/15.34, allocations: 31.52 kB / 5.399 GB, free: 71.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.016e-05/15.34, allocations: 23.69 kB / 5.399 GB, free: 71.75 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/15.35, allocations: 2.821 MB / 5.402 GB, free: 69.26 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/15.35, allocations: 414 kB / 5.402 GB, free: 69.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/15.35, allocations: 32.84 kB / 5.402 GB, free: 69.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007517/15.35, allocations: 45.45 kB / 5.402 GB, free: 69.06 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/15.35, allocations: 105.1 kB / 5.402 GB, free: 69.05 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.093e-05/15.35, allocations: 56.47 kB / 5.402 GB, free: 69.05 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00194/15.35, allocations: 1.3 MB / 5.403 GB, free: 68.9 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/15.35, allocations: 0 / 5.403 GB, free: 68.9 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003451/15.35, allocations: 0.7498 MB / 5.404 GB, free: 68.89 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01051/15.36, allocations: 10.23 MB / 5.414 GB, free: 61.38 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001924/15.37, allocations: 0.8131 MB / 5.415 GB, free: 61.38 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.731e-05/15.37, allocations: 3.188 kB / 5.415 GB, free: 61.38 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008621/15.37, allocations: 488.5 kB / 5.415 GB, free: 61.38 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006662/15.37, allocations: 1.255 MB / 5.417 GB, free: 61.36 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01844/15.39, allocations: 13.42 MB / 5.43 GB, free: 54.49 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/15.39, allocations: 1.442 MB / 5.431 GB, free: 53.78 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002/15.39, allocations: 495.3 kB / 5.432 GB, free: 53.76 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008296/15.4, allocations: 0.6539 MB / 5.432 GB, free: 53.75 MB / 0.7605 GB Notification: Performance of SimCode: time 1.743e-06/15.4, allocations: 0 / 5.432 GB, free: 53.75 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1591/15.55, allocations: 93.09 MB / 5.523 GB, free: 51.63 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/15.55, allocations: 225.8 kB / 5.523 GB, free: 51.39 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.237/20.79, allocations: 0 / 5.523 GB, free: 51.39 MB / 0.7605 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe 2>&1)