Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001493/0.001493, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002114/0.002114, allocations: 289.1 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 99.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4625/0.4647, allocations: 86.97 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.6156/1.08, allocations: 239.9 MB / 1.001 GB, free: 19.49 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009969/1.09, allocations: 7.207 MB / 1.008 GB, free: 19.37 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/1.092, allocations: 51.09 kB / 1.008 GB, free: 19.37 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/1.093, allocations: 0.5106 MB / 1.009 GB, free: 19.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002833/1.096, allocations: 1.312 MB / 1.01 GB, free: 19.31 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003765/1.1, allocations: 1.693 MB / 1.012 GB, free: 19.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002309/1.102, allocations: 2.016 MB / 1.014 GB, free: 19.24 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/1.103, allocations: 0.8116 MB / 1.015 GB, free: 19.14 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003441/1.107, allocations: 1.456 MB / 1.016 GB, free: 19.12 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009715/1.108, allocations: 0.6786 MB / 1.017 GB, free: 19.12 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/1.108, allocations: 78.56 kB / 1.017 GB, free: 19.12 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/1.111, allocations: 1.82 MB / 1.018 GB, free: 19.1 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003004/1.111, allocations: 302.2 kB / 1.019 GB, free: 19.06 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004664/1.111, allocations: 496.1 kB / 1.019 GB, free: 18.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/1.114, allocations: 1.8 MB / 1.021 GB, free: 18.71 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.114, allocations: 2.562 kB / 1.021 GB, free: 18.71 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.492e-06/1.114, allocations: 0 / 1.021 GB, free: 18.71 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.167e-05/1.114, allocations: 1 kB / 1.021 GB, free: 18.71 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00218/1.116, allocations: 1.309 MB / 1.022 GB, free: 17.97 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/1.116, allocations: 7.125 kB / 1.022 GB, free: 17.97 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/1.118, allocations: 283.2 kB / 1.023 GB, free: 17.92 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/1.119, allocations: 0.7024 MB / 1.023 GB, free: 17.61 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/1.119, allocations: 38.75 kB / 1.023 GB, free: 17.61 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/1.119, allocations: 59.03 kB / 1.023 GB, free: 17.61 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/1.12, allocations: 0.6026 MB / 1.024 GB, free: 17.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/1.12, allocations: 0 / 1.024 GB, free: 17.57 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/1.12, allocations: 21.09 kB / 1.024 GB, free: 17.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/1.12, allocations: 12.23 kB / 1.024 GB, free: 17.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/1.121, allocations: 0.6115 MB / 1.025 GB, free: 17.56 MB / 0.7169 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.003061/1.124, allocations: 2.619 MB / 1.027 GB, free: 16.28 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008718/1.125, allocations: 477.7 kB / 1.028 GB, free: 16.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/1.126, allocations: 312.4 kB / 1.028 GB, free: 16.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006358/1.126, allocations: 415.8 kB / 1.028 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/1.126, allocations: 40.88 kB / 1.028 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005377/1.127, allocations: 104.4 kB / 1.028 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=45): time 2.264e-06/1.127, allocations: 0.9375 kB / 1.028 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.00255/1.129, allocations: 1.115 MB / 1.03 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.82e-05/1.129, allocations: 55.22 kB / 1.03 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006689/1.13, allocations: 0.6519 MB / 1.03 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/1.13, allocations: 37.08 kB / 1.03 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/1.13, allocations: 344.3 kB / 1.031 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.315e-05/1.13, allocations: 160.3 kB / 1.031 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/1.131, allocations: 101.6 kB / 1.031 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.483e-05/1.131, allocations: 324.5 kB / 1.031 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004586/1.131, allocations: 234.2 kB / 1.031 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/1.132, allocations: 327.2 kB / 1.032 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008713/1.133, allocations: 0.5236 MB / 1.032 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.133, allocations: 0 / 1.032 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001559/1.134, allocations: 0.7255 MB / 1.033 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/1.134, allocations: 6.844 kB / 1.033 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.134, allocations: 1.062 kB / 1.033 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004332/1.135, allocations: 98.17 kB / 1.033 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006122/1.135, allocations: 91.33 kB / 1.033 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004603/1.136, allocations: 0.6171 MB / 1.034 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000767/1.136, allocations: 37.88 kB / 1.034 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.83e-05/1.137, allocations: 26.25 kB / 1.034 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008207/1.137, allocations: 395.5 kB / 1.034 GB, free: 14 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006974/1.138, allocations: 324.1 kB / 1.034 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001379/1.139, allocations: 0.5088 MB / 1.035 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/1.14, allocations: 0 / 1.035 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001843/1.141, allocations: 0.6844 MB / 1.036 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.141, allocations: 5.281 kB / 1.036 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.141, allocations: 4.188 kB / 1.036 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000254/1.142, allocations: 60.88 kB / 1.036 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006197/1.142, allocations: 91.8 kB / 1.036 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/1.144, allocations: 1.877 MB / 1.038 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007786/1.145, allocations: 40.25 kB / 1.038 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.328e-05/1.145, allocations: 17.34 kB / 1.038 GB, free: 12.12 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002043/1.145, allocations: 210.6 kB / 1.038 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/1.145, allocations: 76.41 kB / 1.038 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/1.147, allocations: 0.7711 MB / 1.039 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/1.147, allocations: 6.938 kB / 1.039 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.147, allocations: 3.594 kB / 1.039 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/1.148, allocations: 206.7 kB / 1.039 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/1.148, allocations: 5.125 kB / 1.039 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007056/1.149, allocations: 38.3 kB / 1.039 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/1.149, allocations: 37.66 kB / 1.039 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001885/1.151, allocations: 0.7234 MB / 1.04 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00233/1.153, allocations: 1.104 MB / 1.041 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006662/1.154, allocations: 275.3 kB / 1.041 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00088/1.155, allocations: 468.1 kB / 1.041 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of Backend: time 7.12e-07/1.155, allocations: 0 / 1.041 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004047/1.159, allocations: 1.212 MB / 1.043 GB, free: 9.75 MB / 0.7169 GB Notification: Performance of SimCode: time 0.00395/1.163, allocations: 2.084 MB / 1.045 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of Templates: time 0.04353/1.206, allocations: 21.79 MB / 1.066 GB, free: 5.965 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)