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.00152/0.00152, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001456/0.001456, allocations: 183 kB / 17.34 MB, free: 5.766 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002174/0.002174, allocations: 296.6 kB / 291.5 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9301/0.9301, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 91.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4663, allocations: 86.97 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6153/1.082, allocations: 214.1 MB / 0.9761 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01216/1.094, allocations: 12.15 MB / 0.9879 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/1.095, allocations: 45.19 kB / 0.988 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001157/1.097, allocations: 0.5118 MB / 0.9885 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004077/1.101, allocations: 1.878 MB / 0.9903 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004501/1.105, allocations: 1.907 MB / 0.9922 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002877/1.108, allocations: 2.355 MB / 0.9945 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/1.11, allocations: 1.229 MB / 0.9957 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/1.111, allocations: 0.8357 MB / 0.9965 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007578/1.112, allocations: 0.6539 MB / 0.9971 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/1.112, allocations: 92.03 kB / 0.9972 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004792/1.117, allocations: 2.704 MB / 0.9999 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004819/1.117, allocations: 0.5399 MB / 1 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007943/1.118, allocations: 0.7369 MB / 1.001 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004619/1.123, allocations: 3.143 MB / 1.004 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.123, allocations: 0 / 1.004 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/1.123, allocations: 0.9375 kB / 1.004 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.376e-05/1.123, allocations: 0 / 1.004 GB, free: 1.07 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.002361/1.125, allocations: 1.753 MB / 1.006 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.125, allocations: 8.438 kB / 1.006 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/1.127, allocations: 373.2 kB / 1.006 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/1.128, allocations: 0.9593 MB / 1.007 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/1.128, allocations: 79.09 kB / 1.007 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/1.128, allocations: 105.7 kB / 1.007 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/1.13, allocations: 1.538 MB / 1.009 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/1.13, allocations: 7.906 kB / 1.009 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.756e-05/1.13, allocations: 48.39 kB / 1.009 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.819e-05/1.13, allocations: 63 kB / 1.009 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/1.132, allocations: 1.029 MB / 1.01 GB, free: 15.39 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.005622/1.137, allocations: 5.838 MB / 1.016 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005661/1.138, allocations: 320.2 kB / 1.016 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/1.138, allocations: 250.6 kB / 1.016 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006997/1.139, allocations: 0.7121 MB / 1.017 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/1.139, allocations: 40.66 kB / 1.017 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 2.084e-06/1.139, allocations: 0 / 1.017 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.001229/1.14, allocations: 0.6815 MB / 1.018 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/1.14, allocations: 132 kB / 1.018 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/1.142, allocations: 1.685 MB / 1.019 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/1.142, allocations: 33.45 kB / 1.019 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004361/1.142, allocations: 0.5574 MB / 1.02 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.39e-05/1.143, allocations: 95.34 kB / 1.02 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/1.143, allocations: 66.27 kB / 1.02 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.143, allocations: 319.7 kB / 1.02 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/1.143, allocations: 160.4 kB / 1.021 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/1.143, allocations: 266.6 kB / 1.021 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004486/1.144, allocations: 408.8 kB / 1.021 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.144, allocations: 2.656 kB / 1.021 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006672/1.144, allocations: 0.5447 MB / 1.022 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/1.144, allocations: 8.781 kB / 1.022 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.144, allocations: 1.969 kB / 1.022 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/1.145, allocations: 7.188 kB / 1.022 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/1.145, allocations: 51.81 kB / 1.022 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.145, allocations: 8.312 kB / 1.022 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005397/1.145, allocations: 107.7 kB / 1.022 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/1.145, allocations: 20.22 kB / 1.022 GB, free: 9.719 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.0004017/1.146, allocations: 380 kB / 1.022 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/1.146, allocations: 142.8 kB / 1.022 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/1.146, allocations: 381.3 kB / 1.023 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.147, allocations: 4.219 kB / 1.023 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/1.147, allocations: 2.719 kB / 1.023 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.147, allocations: 0.7812 kB / 1.023 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/1.15, allocations: 2.519 MB / 1.025 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.15, allocations: 5.062 kB / 1.025 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/1.15, allocations: 52.78 kB / 1.025 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/1.15, allocations: 14.09 kB / 1.025 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/1.15, allocations: 16.78 kB / 1.025 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/1.15, allocations: 15.73 kB / 1.025 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.15, allocations: 9.688 kB / 1.025 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006415/1.15, allocations: 0.6226 MB / 1.026 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003595/1.151, allocations: 292.6 kB / 1.026 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/1.151, allocations: 18.97 kB / 1.026 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/1.151, allocations: 11.12 kB / 1.026 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/1.151, allocations: 38.75 kB / 1.026 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/1.151, allocations: 22.42 kB / 1.026 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001334/1.153, allocations: 1.224 MB / 1.028 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.153, allocations: 0 / 1.028 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009722/1.154, allocations: 325.3 kB / 1.028 GB, free: 7.793 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.001361/1.155, allocations: 0.6107 MB / 1.028 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005114/1.156, allocations: 358.1 kB / 1.029 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.156, allocations: 0 / 1.029 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001772/1.156, allocations: 156.2 kB / 1.029 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003576/1.159, allocations: 0.9264 MB / 1.03 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/1.162, allocations: 2.179 MB / 1.032 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007659/1.163, allocations: 1.198 MB / 1.033 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/1.163, allocations: 85.2 kB / 1.033 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/1.163, allocations: 7.938 kB / 1.033 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of Templates: time 0.03438/1.198, allocations: 24.92 MB / 1.058 GB, free: 4.566 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)