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.001176/0.001176, allocations: 111.9 kB / 16.38 MB, free: 6.484 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.001019/0.001019, allocations: 190.2 kB / 17.31 MB, free: 5.785 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002101/0.002101, allocations: 289.5 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9297/0.9297, allocations: 169.3 MB / 0.4989 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 92.09 kB / 0.682 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4542/0.4559, allocations: 86.98 MB / 0.767 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6565/1.112, allocations: 214 MB / 0.976 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01207/1.125, allocations: 12.16 MB / 0.9879 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/1.126, allocations: 45.34 kB / 0.9879 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/1.127, allocations: 0.5094 MB / 0.9884 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004042/1.131, allocations: 1.884 MB / 0.9903 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00392/1.135, allocations: 1.906 MB / 0.9921 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002645/1.138, allocations: 2.353 MB / 0.9944 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/1.139, allocations: 1.233 MB / 0.9956 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/1.14, allocations: 0.8227 MB / 0.9964 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006601/1.141, allocations: 0.655 MB / 0.9971 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/1.141, allocations: 93.11 kB / 0.9972 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004541/1.146, allocations: 2.698 MB / 0.9998 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004729/1.146, allocations: 0.5435 MB / 1 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007858/1.147, allocations: 0.7369 MB / 1.001 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004339/1.151, allocations: 3.133 MB / 1.004 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/1.151, allocations: 0 / 1.004 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.442e-06/1.151, allocations: 0.8438 kB / 1.004 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.863e-05/1.151, allocations: 0 / 1.004 GB, free: 1.051 MB / 0.7169 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.002024/1.153, allocations: 1.751 MB / 1.006 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/1.153, allocations: 8.5 kB / 1.006 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/1.155, allocations: 374 kB / 1.006 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/1.156, allocations: 0.9634 MB / 1.007 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/1.156, allocations: 82.23 kB / 1.007 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/1.157, allocations: 99.91 kB / 1.007 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/1.158, allocations: 1.536 MB / 1.009 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/1.158, allocations: 3.094 kB / 1.009 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/1.158, allocations: 53.31 kB / 1.009 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.808e-05/1.159, allocations: 59.3 kB / 1.009 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/1.16, allocations: 1.027 MB / 1.01 GB, free: 15.38 MB / 0.7325 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.005417/1.165, allocations: 5.843 MB / 1.016 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005643/1.166, allocations: 318.7 kB / 1.016 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/1.166, allocations: 251.2 kB / 1.016 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006787/1.167, allocations: 0.7108 MB / 1.017 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/1.167, allocations: 40.22 kB / 1.017 GB, free: 11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 2.114e-06/1.167, allocations: 4.875 kB / 1.017 GB, free: 11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.00119/1.168, allocations: 0.6755 MB / 1.018 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/1.168, allocations: 136.1 kB / 1.018 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/1.17, allocations: 1.683 MB / 1.019 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/1.17, allocations: 32.55 kB / 1.019 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003893/1.17, allocations: 0.5554 MB / 1.02 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.885e-05/1.17, allocations: 100.4 kB / 1.02 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.794e-05/1.17, allocations: 61.8 kB / 1.02 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.17, allocations: 318.8 kB / 1.02 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/1.171, allocations: 160.7 kB / 1.021 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/1.171, allocations: 267 kB / 1.021 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/1.171, allocations: 409.8 kB / 1.021 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/1.171, allocations: 3.688 kB / 1.021 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006497/1.172, allocations: 0.5427 MB / 1.022 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.172, allocations: 8.719 kB / 1.022 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/1.172, allocations: 2.594 kB / 1.022 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/1.172, allocations: 6.281 kB / 1.022 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/1.172, allocations: 57.61 kB / 1.022 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/1.172, allocations: 5.422 kB / 1.022 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005051/1.173, allocations: 106 kB / 1.022 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/1.173, allocations: 28.75 kB / 1.022 GB, free: 9.699 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003825/1.173, allocations: 377.9 kB / 1.022 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/1.173, allocations: 143.3 kB / 1.022 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004964/1.174, allocations: 380.8 kB / 1.023 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.174, allocations: 3.562 kB / 1.023 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/1.174, allocations: 0 / 1.023 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.174, allocations: 3 kB / 1.023 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/1.177, allocations: 2.523 MB / 1.025 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.177, allocations: 4.719 kB / 1.025 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/1.177, allocations: 54.38 kB / 1.025 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/1.177, allocations: 7.531 kB / 1.025 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/1.177, allocations: 12.12 kB / 1.025 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/1.177, allocations: 12.25 kB / 1.025 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/1.177, allocations: 13.73 kB / 1.025 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006191/1.178, allocations: 0.6229 MB / 1.026 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003648/1.178, allocations: 294 kB / 1.026 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/1.178, allocations: 19.53 kB / 1.026 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/1.179, allocations: 10.72 kB / 1.026 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/1.179, allocations: 42.62 kB / 1.026 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/1.179, allocations: 13.81 kB / 1.026 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001298/1.18, allocations: 1.227 MB / 1.027 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.51e-07/1.18, allocations: 7.125 kB / 1.028 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009902/1.181, allocations: 322.2 kB / 1.028 GB, free: 7.781 MB / 0.7325 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.001322/1.182, allocations: 0.6106 MB / 1.028 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004967/1.183, allocations: 351.3 kB / 1.029 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.183, allocations: 4.375 kB / 1.029 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/1.183, allocations: 154.5 kB / 1.029 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00339/1.187, allocations: 0.923 MB / 1.03 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/1.189, allocations: 2.179 MB / 1.032 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007247/1.19, allocations: 1.196 MB / 1.033 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/1.19, allocations: 89.42 kB / 1.033 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of SimCode: time 8.21e-07/1.19, allocations: 0 / 1.033 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of Templates: time 0.03633/1.227, allocations: 24.79 MB / 1.057 GB, free: 4.703 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.makefile (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)