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: translateModel(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in") translateModel(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008371/0.0008371, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009035/0.0009035, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001589/0.001589, allocations: 270.8 kB / 291.2 MB, free: 2.02 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7309/0.7309, allocations: 144.6 MB / 487 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003883, allocations: 12.88 kB / 0.5683 GB, free: 38.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1304, allocations: 83.08 MB / 0.6494 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.4407/0.5712, allocations: 171.4 MB / 0.8168 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01179/0.583, allocations: 10.57 MB / 0.8271 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009782/0.584, allocations: 45.97 kB / 0.8272 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.5854, allocations: 0.5991 MB / 0.8278 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003022/0.5884, allocations: 1.458 MB / 0.8292 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003491/0.5919, allocations: 1.674 MB / 0.8308 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001343/0.5933, allocations: 1.345 MB / 0.8321 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008473/0.5941, allocations: 0.9066 MB / 0.833 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007025/0.5948, allocations: 0.6179 MB / 0.8336 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003799/0.5952, allocations: 437.2 kB / 0.834 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.319e-05/0.5953, allocations: 38.59 kB / 0.8341 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002872/0.5982, allocations: 1.679 MB / 0.8357 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.5985, allocations: 455.2 kB / 0.8362 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.5987, allocations: 308.6 kB / 0.8364 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.6004, allocations: 2.076 MB / 0.8385 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.6004, allocations: 4 kB / 0.8385 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6005, allocations: 0 / 0.8385 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.6005, allocations: 0 / 0.8385 GB, free: 1.215 MB / 0.5606 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.001536/0.602, allocations: 1.438 MB / 0.8399 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.602, allocations: 9.578 kB / 0.8399 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.6034, allocations: 373 kB / 0.8402 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.6045, allocations: 0.8543 MB / 0.8411 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.428e-05/0.6046, allocations: 80.38 kB / 0.8412 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.556e-05/0.6047, allocations: 98.09 kB / 0.8413 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.6062, allocations: 1.494 MB / 0.8427 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.6062, allocations: 5.25 kB / 0.8427 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-05/0.6063, allocations: 43.53 kB / 0.8428 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.857e-05/0.6064, allocations: 65.09 kB / 0.8428 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.6075, allocations: 0.9993 MB / 0.8438 GB, free: 15.2 MB / 0.5762 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.004606/0.6121, allocations: 5.813 MB / 0.8495 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.6125, allocations: 317.1 kB / 0.8498 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002874/0.6128, allocations: 374.6 kB / 0.8501 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.6128, allocations: 36.84 kB / 0.8502 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 2.254e-06/0.6128, allocations: 0 / 0.8502 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28): time 0.0009959/0.6138, allocations: 0.6722 MB / 0.8508 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.6139, allocations: 138.7 kB / 0.851 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.6154, allocations: 1.641 MB / 0.8526 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.6154, allocations: 34.38 kB / 0.8526 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.6158, allocations: 0.554 MB / 0.8531 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.881e-05/0.6159, allocations: 92.28 kB / 0.8532 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/0.6159, allocations: 3.375 kB / 0.8532 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/0.616, allocations: 317.4 kB / 0.8535 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.6161, allocations: 161.2 kB / 0.8537 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.6164, allocations: 287.4 kB / 0.854 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.6166, allocations: 203 kB / 0.8541 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6166, allocations: 0 / 0.8541 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005674/0.6172, allocations: 0.558 MB / 0.8547 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.6172, allocations: 5.969 kB / 0.8547 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.6172, allocations: 6.406 kB / 0.8547 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.6172, allocations: 5.719 kB / 0.8547 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.6174, allocations: 64.2 kB / 0.8548 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.6175, allocations: 5.062 kB / 0.8548 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/0.6179, allocations: 117.6 kB / 0.8549 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.6179, allocations: 24.2 kB / 0.8549 GB, free: 8.645 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003449/0.6183, allocations: 379.6 kB / 0.8553 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.6185, allocations: 133.8 kB / 0.8554 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004294/0.6189, allocations: 379 kB / 0.8558 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6189, allocations: 5.688 kB / 0.8558 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6189, allocations: 3.953 kB / 0.8558 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.6189, allocations: 3.984 kB / 0.8558 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.6215, allocations: 2.49 MB / 0.8582 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.6215, allocations: 9.953 kB / 0.8582 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.6217, allocations: 51.95 kB / 0.8583 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-06/0.6217, allocations: 12.48 kB / 0.8583 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.6218, allocations: 8.062 kB / 0.8583 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.6218, allocations: 16.25 kB / 0.8583 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.6218, allocations: 10.56 kB / 0.8583 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006917/0.6225, allocations: 0.9852 MB / 0.8593 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004203/0.6229, allocations: 301.2 kB / 0.8596 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.6231, allocations: 18.64 kB / 0.8596 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/0.6234, allocations: 19.59 kB / 0.8596 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.6235, allocations: 42.2 kB / 0.8596 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.6235, allocations: 15.84 kB / 0.8597 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001316/0.6248, allocations: 1.186 MB / 0.8608 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6248, allocations: 0 / 0.8608 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009401/0.6258, allocations: 322.7 kB / 0.8611 GB, free: 5.414 MB / 0.5762 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 (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.001273/0.6271, allocations: 0.4976 MB / 0.8616 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004986/0.6276, allocations: 348.1 kB / 0.8619 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6276, allocations: 0 / 0.8619 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.6278, allocations: 159 kB / 0.8621 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/0.6308, allocations: 0.8464 MB / 0.8629 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.6331, allocations: 2.28 MB / 0.8651 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006504/0.6337, allocations: 1.223 MB / 0.8663 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006779/0.6344, allocations: 291.8 kB / 0.8666 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.6346, allocations: 82.61 kB / 0.8667 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.6346, allocations: 4 kB / 0.8667 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of Templates: time 0.03943/0.674, allocations: 28.37 MB / 0.8944 GB, free: 8.848 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.makefile Environment - environmentSimulation: (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 & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) Environment - environmentSimulation: