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.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 198.5 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00204/0.00204, allocations: 290.9 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8965/0.8965, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 99.81 kB / 0.5953 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.129, allocations: 86.98 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.4303/0.5593, allocations: 214 MB / 0.8893 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01292/0.5723, allocations: 12.16 MB / 0.9012 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.5735, allocations: 48.25 kB / 0.9012 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.5746, allocations: 0.4991 MB / 0.9017 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003894/0.5785, allocations: 1.886 MB / 0.9036 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003789/0.5823, allocations: 1.9 MB / 0.9054 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002169/0.5845, allocations: 2.376 MB / 0.9077 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.5858, allocations: 1.202 MB / 0.9089 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.5868, allocations: 0.8211 MB / 0.9097 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006361/0.5875, allocations: 0.6612 MB / 0.9104 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.5876, allocations: 91.94 kB / 0.9105 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004653/0.5923, allocations: 2.848 MB / 0.9132 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004155/0.5927, allocations: 0.5376 MB / 0.9138 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006162/0.5933, allocations: 0.7231 MB / 0.9145 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003444/0.5968, allocations: 3.156 MB / 0.9175 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.5968, allocations: 0 / 0.9175 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5968, allocations: 0 / 0.9175 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.671e-05/0.5968, allocations: 0 / 0.9175 GB, free: 4.316 MB / 0.6231 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.001881/0.5987, allocations: 1.729 MB / 0.9192 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.5987, allocations: 8.031 kB / 0.9192 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001776/0.5989, allocations: 180.5 kB / 0.9194 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.6005, allocations: 369.8 kB / 0.9198 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.6016, allocations: 0.8878 MB / 0.9206 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.789e-05/0.6017, allocations: 74.03 kB / 0.9207 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.6018, allocations: 100 kB / 0.9208 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.6036, allocations: 1.509 MB / 0.9223 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.6037, allocations: 0 / 0.9223 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.242e-05/0.6038, allocations: 48 kB / 0.9223 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.568e-05/0.6038, allocations: 65.47 kB / 0.9224 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.6051, allocations: 1.017 MB / 0.9234 GB, free: 14.11 MB / 0.6387 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.005366/0.6105, allocations: 5.931 MB / 0.9292 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004997/0.611, allocations: 314.3 kB / 0.9295 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.6113, allocations: 251.3 kB / 0.9297 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006094/0.6119, allocations: 0.712 MB / 0.9304 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.612, allocations: 50.44 kB / 0.9304 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=28): time 1.373e-06/0.612, allocations: 0 / 0.9304 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28): time 0.001151/0.6131, allocations: 0.6597 MB / 0.9311 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.6132, allocations: 136.5 kB / 0.9312 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.6149, allocations: 1.662 MB / 0.9328 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.615, allocations: 37.83 kB / 0.9329 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004383/0.6154, allocations: 0.5463 MB / 0.9334 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/0.6155, allocations: 90.66 kB / 0.9335 GB, free: 3.172 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.6156, allocations: 69.59 kB / 0.9336 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.6157, allocations: 325.9 kB / 0.9339 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.6159, allocations: 155.9 kB / 0.934 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.6162, allocations: 302.6 kB / 0.9343 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.6167, allocations: 433.9 kB / 0.9347 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.6167, allocations: 4 kB / 0.9347 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007046/0.6174, allocations: 0.5588 MB / 0.9353 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.6175, allocations: 4 kB / 0.9353 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.6175, allocations: 7.938 kB / 0.9353 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.6175, allocations: 4 kB / 0.9353 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.6177, allocations: 55.92 kB / 0.9353 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.6177, allocations: 12.12 kB / 0.9354 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004229/0.6182, allocations: 106.5 kB / 0.9355 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.6182, allocations: 20 kB / 0.9355 GB, free: 1.051 MB / 0.6387 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.0003912/0.6186, allocations: 386.4 kB / 0.9358 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.6188, allocations: 138.2 kB / 0.936 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005116/0.6193, allocations: 377.1 kB / 0.9363 GB, free: 140 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6194, allocations: 4 kB / 0.9363 GB, free: 136 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.6194, allocations: 0 / 0.9363 GB, free: 136 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.6194, allocations: 7.984 kB / 0.9364 GB, free: 128 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.6226, allocations: 2.603 MB / 0.9389 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.6226, allocations: 8.812 kB / 0.9389 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.6228, allocations: 51.91 kB / 0.939 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.6228, allocations: 12 kB / 0.939 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.6229, allocations: 19.94 kB / 0.939 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.6229, allocations: 7.938 kB / 0.939 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.6229, allocations: 8 kB / 0.939 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.6235, allocations: 0.6197 MB / 0.9396 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003453/0.6238, allocations: 299 kB / 0.9399 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.624, allocations: 12 kB / 0.9399 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.6244, allocations: 12 kB / 0.9399 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.6244, allocations: 39.84 kB / 0.9399 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.6245, allocations: 16 kB / 0.94 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001321/0.6258, allocations: 1.207 MB / 0.9411 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6258, allocations: 3.938 kB / 0.9411 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008379/0.6266, allocations: 339.8 kB / 0.9415 GB, free: 10.59 MB / 0.6544 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.002209/0.6288, allocations: 1.689 MB / 0.9431 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004872/0.6293, allocations: 367.4 kB / 0.9435 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6294, allocations: 0 / 0.9435 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.6296, allocations: 161.5 kB / 0.9436 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003507/0.6331, allocations: 0.9148 MB / 0.9445 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/0.645, allocations: 11.41 MB / 0.9557 GB, free: 11.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007423/0.6458, allocations: 1.201 MB / 0.9568 GB, free: 10.17 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008852/0.6467, allocations: 298.6 kB / 0.9571 GB, free: 9.871 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005143/0.6472, allocations: 455.3 kB / 0.9576 GB, free: 9.426 MB / 0.67 GB Notification: Performance of SimCode: time 6.61e-07/0.6472, allocations: 0 / 0.9576 GB, free: 9.426 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06516/0.7124, allocations: 42.91 MB / 0.9995 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.56, allocations: 4.062 kB / 0.9995 GB, free: 15.07 MB / 0.7169 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/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)