Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_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.BoundaryWithX_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in") translateModel(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008443/0.0008444, allocations: 99.86 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.0008373/0.0008372, allocations: 177.3 kB / 15.94 MB, free: 228 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.156/1.156, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00161/0.00161, allocations: 266.2 kB / 291.2 MB, free: 2 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.7351/0.7351, allocations: 144.6 MB / 487 MB, free: 7.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004064, allocations: 17.3 kB / 0.5683 GB, free: 38.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1293, allocations: 83.08 MB / 0.6494 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.4402/0.5695, allocations: 171.4 MB / 0.8168 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.5801, allocations: 10.57 MB / 0.8271 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.5813, allocations: 47.47 kB / 0.8272 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.5827, allocations: 0.603 MB / 0.8278 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003361/0.5861, allocations: 1.453 MB / 0.8292 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003753/0.5899, allocations: 1.678 MB / 0.8308 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001567/0.5915, allocations: 1.333 MB / 0.8321 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008969/0.5924, allocations: 0.9324 MB / 0.833 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007027/0.5931, allocations: 0.6052 MB / 0.8336 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003776/0.5935, allocations: 431.2 kB / 0.834 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.398e-05/0.5935, allocations: 38.66 kB / 0.8341 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003031/0.5966, allocations: 1.686 MB / 0.8357 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002998/0.5969, allocations: 458.4 kB / 0.8362 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.5972, allocations: 308 kB / 0.8365 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.5989, allocations: 2.093 MB / 0.8385 GB, free: 17.22 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.5989, allocations: 0 / 0.8385 GB, free: 17.22 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.599, allocations: 0 / 0.8385 GB, free: 17.22 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.599, allocations: 0 / 0.8385 GB, free: 17.22 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001464/0.6004, allocations: 1.441 MB / 0.8399 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.6005, allocations: 10.62 kB / 0.8399 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.6019, allocations: 372.8 kB / 0.8403 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.603, allocations: 0.8677 MB / 0.8411 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.6031, allocations: 74.69 kB / 0.8412 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.659e-05/0.6032, allocations: 102 kB / 0.8413 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.6048, allocations: 1.516 MB / 0.8428 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.6048, allocations: 2.906 kB / 0.8428 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.042e-05/0.6049, allocations: 47.75 kB / 0.8428 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.527e-05/0.6049, allocations: 60.2 kB / 0.8429 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.606, allocations: 1.014 MB / 0.8439 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.00464/0.6107, allocations: 5.838 MB / 0.8496 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.6111, allocations: 324 kB / 0.8499 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000295/0.6114, allocations: 374 kB / 0.8502 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.6115, allocations: 40.5 kB / 0.8503 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 1.873e-06/0.6115, allocations: 3 kB / 0.8503 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28): time 0.001032/0.6125, allocations: 0.6667 MB / 0.8509 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.6126, allocations: 131.3 kB / 0.851 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.6141, allocations: 1.666 MB / 0.8527 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.6142, allocations: 31.64 kB / 0.8527 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/0.6146, allocations: 0.5665 MB / 0.8533 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.6146, allocations: 99.08 kB / 0.8534 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.6146, allocations: 2.188 kB / 0.8534 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.6147, allocations: 323.1 kB / 0.8537 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.6149, allocations: 154.4 kB / 0.8538 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.6151, allocations: 265.7 kB / 0.8541 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.6153, allocations: 192.2 kB / 0.8542 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.6153, allocations: 2.812 kB / 0.8543 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005541/0.6159, allocations: 0.5445 MB / 0.8548 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.6159, allocations: 11.8 kB / 0.8548 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6159, allocations: 1.969 kB / 0.8548 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.616, allocations: 2.875 kB / 0.8548 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.6162, allocations: 54.23 kB / 0.8548 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.6162, allocations: 2.25 kB / 0.8549 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/0.6167, allocations: 118.2 kB / 0.855 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.6167, allocations: 22.38 kB / 0.855 GB, free: 8.648 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0003578/0.6171, allocations: 376 kB / 0.8553 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.6173, allocations: 144 kB / 0.8555 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004781/0.6177, allocations: 385.3 kB / 0.8558 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6177, allocations: 7.188 kB / 0.8559 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.6178, allocations: 2.594 kB / 0.8559 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.6178, allocations: 0 / 0.8559 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/0.6206, allocations: 2.507 MB / 0.8583 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.6206, allocations: 5.188 kB / 0.8583 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.6208, allocations: 52.42 kB / 0.8584 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.6208, allocations: 8.562 kB / 0.8584 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.6208, allocations: 16.25 kB / 0.8584 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/0.6209, allocations: 14.3 kB / 0.8584 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.6209, allocations: 8.688 kB / 0.8584 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007691/0.6216, allocations: 0.9837 MB / 0.8594 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004311/0.6221, allocations: 311.7 kB / 0.8597 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.6222, allocations: 16.22 kB / 0.8597 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.6226, allocations: 15.67 kB / 0.8597 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.6227, allocations: 42.52 kB / 0.8597 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.6227, allocations: 17.02 kB / 0.8598 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001286/0.624, allocations: 1.198 MB / 0.8609 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.624, allocations: 3.312 kB / 0.8609 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001105/0.6251, allocations: 322.5 kB / 0.8612 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.001265/0.6264, allocations: 0.506 MB / 0.8617 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004571/0.6269, allocations: 340.3 kB / 0.8621 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6269, allocations: 2.062 kB / 0.8621 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.627, allocations: 166.2 kB / 0.8622 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003194/0.6302, allocations: 0.8306 MB / 0.863 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.633, allocations: 2.301 MB / 0.8653 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007755/0.6337, allocations: 1.235 MB / 0.8665 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000845/0.6346, allocations: 294.8 kB / 0.8668 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.6348, allocations: 80.33 kB / 0.8668 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/0.6348, allocations: 0 / 0.8668 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of Templates: time 0.03851/0.6733, allocations: 28.44 MB / 0.8946 GB, free: 8.73 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) Environment - environmentSimulation: