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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007919/0.0007919, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009952/0.0009952, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8602/0.8602, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001787/0.001787, allocations: 228.1 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6641/0.6641, allocations: 138.4 MB / 454.3 MB, free: 29.96 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.875e-05, allocations: 14.16 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.3778/0.3778, allocations: 189.5 MB / 0.8313 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.009621/0.3874, allocations: 11.21 MB / 0.8423 GB, free: 2.199 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007242/0.3881, allocations: 63.38 kB / 0.8423 GB, free: 2.137 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.0008441/0.389, allocations: 0.5235 MB / 0.8428 GB, free: 1.609 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.002771/0.3917, allocations: 1.951 MB / 0.8447 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.3945, allocations: 2.036 MB / 0.8467 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00196/0.3964, allocations: 2.372 MB / 0.849 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008143/0.3973, allocations: 0.8303 MB / 0.8499 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.3983, allocations: 1.146 MB / 0.851 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005296/0.3988, allocations: 0.6037 MB / 0.8516 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.422e-05/0.3989, allocations: 88 kB / 0.8516 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002899/0.4018, allocations: 2.34 MB / 0.8539 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003185/0.4021, allocations: 0.5609 MB / 0.8545 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000484/0.4026, allocations: 494.9 kB / 0.8549 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002664/0.4053, allocations: 3.179 MB / 0.8581 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.4053, allocations: 3.844 kB / 0.8581 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4053, allocations: 0 / 0.8581 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.4053, allocations: 0 / 0.8581 GB, free: 1.965 MB / 0.6823 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.001473/0.4068, allocations: 1.69 MB / 0.8597 GB, free: 240 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.4068, allocations: 9.938 kB / 0.8597 GB, free: 232 kB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/0.4069, allocations: 168.6 kB / 0.8599 GB, free: 52 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009203/0.4079, allocations: 378.7 kB / 0.8602 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009882/0.4088, allocations: 0.8907 MB / 0.8611 GB, free: 14.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.4089, allocations: 78.03 kB / 0.8612 GB, free: 14.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.978e-05/0.409, allocations: 100 kB / 0.8613 GB, free: 14.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.4105, allocations: 1.96 MB / 0.8632 GB, free: 12.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.4105, allocations: 7.938 kB / 0.8632 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/0.4106, allocations: 47.98 kB / 0.8632 GB, free: 12.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.153e-05/0.4107, allocations: 61.48 kB / 0.8633 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009276/0.4116, allocations: 1.017 MB / 0.8643 GB, free: 11.27 MB / 0.698 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.003657/0.4152, allocations: 4.873 MB / 0.8691 GB, free: 6.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003928/0.4156, allocations: 302.2 kB / 0.8693 GB, free: 5.918 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.4158, allocations: 240.5 kB / 0.8696 GB, free: 5.672 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002448/0.4161, allocations: 124.2 kB / 0.8697 GB, free: 5.551 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.4161, allocations: 42.5 kB / 0.8697 GB, free: 5.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 1.643e-06/0.4161, allocations: 0 / 0.8697 GB, free: 5.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.0008205/0.4169, allocations: 0.6745 MB / 0.8704 GB, free: 4.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.417, allocations: 136.6 kB / 0.8705 GB, free: 4.656 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.4183, allocations: 1.654 MB / 0.8721 GB, free: 2.992 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.4183, allocations: 33.7 kB / 0.8722 GB, free: 2.953 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/0.4187, allocations: 0.5582 MB / 0.8727 GB, free: 2.391 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.888e-05/0.4188, allocations: 99.11 kB / 0.8728 GB, free: 2.293 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.181e-05/0.4189, allocations: 73.64 kB / 0.8729 GB, free: 2.215 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.419, allocations: 318 kB / 0.8732 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.4191, allocations: 163.9 kB / 0.8733 GB, free: 1.738 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.4195, allocations: 445.2 kB / 0.8738 GB, free: 1.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.4198, allocations: 441.3 kB / 0.8742 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4198, allocations: 0 / 0.8742 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005511/0.4204, allocations: 0.5674 MB / 0.8747 GB, free: 196 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.4204, allocations: 9.094 kB / 0.8747 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.4204, allocations: 0 / 0.8747 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.4205, allocations: 4 kB / 0.8748 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.4206, allocations: 63.91 kB / 0.8748 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.4206, allocations: 11.06 kB / 0.8748 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.4209, allocations: 109.6 kB / 0.8749 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/0.421, allocations: 20.05 kB / 0.8749 GB, free: 15.98 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003288/0.4213, allocations: 378.1 kB / 0.8753 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.4214, allocations: 151.1 kB / 0.8755 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000578/0.422, allocations: 386.2 kB / 0.8758 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.422, allocations: 4 kB / 0.8758 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.422, allocations: 3.938 kB / 0.8758 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.422, allocations: 0 / 0.8758 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.424, allocations: 2.237 MB / 0.878 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.424, allocations: 8.812 kB / 0.878 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.453e-05/0.4241, allocations: 47.86 kB / 0.8781 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.4241, allocations: 12 kB / 0.8781 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.4242, allocations: 16 kB / 0.8781 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.4242, allocations: 7.984 kB / 0.8781 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.4242, allocations: 15.88 kB / 0.8781 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.4246, allocations: 0.6088 MB / 0.8787 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002454/0.4248, allocations: 226.9 kB / 0.8789 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.394e-05/0.4249, allocations: 16 kB / 0.8789 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.4251, allocations: 15.94 kB / 0.879 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.4251, allocations: 35.84 kB / 0.879 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.4252, allocations: 16 kB / 0.879 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009574/0.4261, allocations: 1.207 MB / 0.8802 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4261, allocations: 0 / 0.8802 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006053/0.4267, allocations: 331.4 kB / 0.8805 GB, free: 10.04 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00141/0.4281, allocations: 1.67 MB / 0.8821 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005022/0.4286, allocations: 352.5 kB / 0.8825 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4286, allocations: 4 kB / 0.8825 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.4288, allocations: 157 kB / 0.8826 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.4307, allocations: 0.919 MB / 0.8835 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009378/0.4401, allocations: 10.47 MB / 0.8937 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.4405, allocations: 0.6107 MB / 0.8943 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0005717/0.4411, allocations: 298.6 kB / 0.8946 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003568/0.4414, allocations: 460.4 kB / 0.8951 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of SimCode: time 7.01e-07/0.4414, allocations: 0 / 0.8951 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2649/0.7063, allocations: 47.88 MB / 0.9418 GB, free: 252 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.511, allocations: 8.094 kB / 0.9418 GB, free: 252 MB / 0.7605 GB " [Timeout remaining time 651] (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/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.060840195976198] Failed to read output from testmodel.py, exit status != 0: 8.612103127874434 8.621773851 8.214380363 Calling exit ...