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.6998/0.6998, 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.001062/0.001062, allocations: 184.5 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.223/1.223, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.0008093/0.0008092, allocations: 94.31 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.001642/0.001642, allocations: 286.9 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.082e-05/3.098e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3638, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.032/5.396, allocations: 2.829 GB / 3.593 GB, free: 16.38 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/5.396, allocations: 83.95 kB / 3.593 GB, free: 16.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.551/10.95, allocations: 1.762 GB / 5.355 GB, free: 88.96 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.422e-06/10.95, allocations: 5.531 kB / 5.355 GB, free: 88.96 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002172/10.95, allocations: 58 kB / 5.355 GB, free: 88.96 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.004775/10.95, allocations: 1.849 MB / 5.357 GB, free: 88.32 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/10.95, allocations: 7.562 kB / 5.357 GB, free: 88.32 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000507/10.95, allocations: 191.4 kB / 5.357 GB, free: 88.27 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/10.95, allocations: 446 kB / 5.358 GB, free: 88.16 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002825/10.96, allocations: 1.298 MB / 5.359 GB, free: 87.85 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.499e-05/10.96, allocations: 99.47 kB / 5.359 GB, free: 87.85 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/10.96, allocations: 126 kB / 5.359 GB, free: 87.85 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002411/10.96, allocations: 1.591 MB / 5.361 GB, free: 87.52 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/10.96, allocations: 7.469 kB / 5.361 GB, free: 87.52 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/10.96, allocations: 51.12 kB / 5.361 GB, free: 87.52 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-05/10.96, allocations: 52.58 kB / 5.361 GB, free: 87.52 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/10.96, allocations: 1.074 MB / 5.362 GB, free: 87.52 MB / 0.7605 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.006371/10.97, allocations: 7.005 MB / 5.369 GB, free: 83.82 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006983/10.97, allocations: 0.5704 MB / 5.369 GB, free: 83.65 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005247/10.97, allocations: 0.5564 MB / 5.37 GB, free: 83.6 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/10.97, allocations: 2.423 MB / 5.372 GB, free: 80.97 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/10.97, allocations: 54.45 kB / 5.372 GB, free: 80.93 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=72): time 2.915e-06/10.97, allocations: 1.688 kB / 5.372 GB, free: 80.93 MB / 0.7605 GB Notification: Performance of matching and sorting (n=72): time 0.001814/10.97, allocations: 0.9939 MB / 5.373 GB, free: 80.8 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/10.97, allocations: 218.3 kB / 5.373 GB, free: 80.55 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/10.97, allocations: 1.627 MB / 5.375 GB, free: 80.34 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.037e-05/10.97, allocations: 46.3 kB / 5.375 GB, free: 80.31 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004547/10.98, allocations: 0.723 MB / 5.376 GB, free: 80.19 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/10.98, allocations: 250.4 kB / 5.376 GB, free: 80.07 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/10.98, allocations: 12.12 kB / 5.376 GB, free: 80.07 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.17e-05/10.98, allocations: 329.6 kB / 5.376 GB, free: 79.76 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/10.98, allocations: 293.4 kB / 5.377 GB, free: 79.76 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005185/10.98, allocations: 0.5777 MB / 5.377 GB, free: 79.52 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/10.98, allocations: 388 kB / 5.377 GB, free: 79.51 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/10.98, allocations: 0 / 5.377 GB, free: 79.51 MB / 0.7605 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001249/10.98, allocations: 0.9482 MB / 5.378 GB, free: 79.38 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/10.98, allocations: 12.38 kB / 5.378 GB, free: 79.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/10.98, allocations: 5.844 kB / 5.378 GB, free: 79.38 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/10.98, allocations: 5.094 kB / 5.378 GB, free: 79.38 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/10.98, allocations: 125.2 kB / 5.379 GB, free: 79.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.242e-05/10.98, allocations: 8.406 kB / 5.379 GB, free: 79.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/10.98, allocations: 146.5 kB / 5.379 GB, free: 79.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/10.98, allocations: 61.36 kB / 5.379 GB, free: 79.34 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 () * 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.0001385/10.98, allocations: 157.1 kB / 5.379 GB, free: 79.23 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/10.98, allocations: 190.7 kB / 5.379 GB, free: 79.13 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/10.98, allocations: 1.043 MB / 5.38 GB, free: 79.07 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/10.98, allocations: 12.19 kB / 5.38 GB, free: 79.07 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/10.98, allocations: 1.5 kB / 5.38 GB, free: 79.07 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/10.98, allocations: 5.031 kB / 5.38 GB, free: 79.07 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007842/10.99, allocations: 8.495 MB / 5.388 GB, free: 76.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/10.99, allocations: 27.09 kB / 5.388 GB, free: 76.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/10.99, allocations: 145.4 kB / 5.389 GB, free: 76.59 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-05/10.99, allocations: 21.47 kB / 5.389 GB, free: 76.59 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/10.99, allocations: 40.48 kB / 5.389 GB, free: 76.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.515e-05/10.99, allocations: 32.69 kB / 5.389 GB, free: 76.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/10.99, allocations: 21.44 kB / 5.389 GB, free: 76.59 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/10.99, allocations: 2.819 MB / 5.391 GB, free: 74.08 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000574/10.99, allocations: 409.3 kB / 5.392 GB, free: 73.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/10.99, allocations: 35.95 kB / 5.392 GB, free: 73.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000614/10.99, allocations: 47.23 kB / 5.392 GB, free: 73.88 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.91e-05/10.99, allocations: 98.42 kB / 5.392 GB, free: 73.87 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.039e-05/10.99, allocations: 58.08 kB / 5.392 GB, free: 73.87 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001331/10.99, allocations: 1.284 MB / 5.393 GB, free: 73.71 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.71e-07/10.99, allocations: 1.469 kB / 5.393 GB, free: 73.71 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002184/11, allocations: 0.7455 MB / 5.394 GB, free: 73.65 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 () * 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.00627/11, allocations: 10.22 MB / 5.404 GB, free: 66.09 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001036/11, allocations: 0.8111 MB / 5.405 GB, free: 66.08 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/11, allocations: 0 / 5.405 GB, free: 66.08 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000482/11, allocations: 483.7 kB / 5.405 GB, free: 66.08 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005105/11.01, allocations: 1.248 MB / 5.406 GB, free: 66.05 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004162/11.01, allocations: 3.077 MB / 5.409 GB, free: 64.88 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000734/11.01, allocations: 1.437 MB / 5.411 GB, free: 64.16 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001253/11.02, allocations: 493.4 kB / 5.411 GB, free: 64.14 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006308/11.02, allocations: 0.6553 MB / 5.412 GB, free: 64.14 MB / 0.7605 GB Notification: Performance of SimCode: time 1.283e-06/11.02, allocations: 3.172 kB / 5.412 GB, free: 64.14 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1213/11.14, allocations: 99.25 MB / 5.509 GB, free: 38.31 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001444/11.14, allocations: 195.2 kB / 5.509 GB, free: 38.09 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.384/15.52, allocations: 4 kB / 5.509 GB, free: 38.08 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)