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.001184/0.001184, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001034/0.001034, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.325/1.325, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002153/0.002153, allocations: 289 kB / 291.5 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 1.044/1.044, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 91.86 kB / 0.6821 GB, free: 6.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4189, allocations: 86.98 MB / 0.767 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.6754/1.094, allocations: 239.9 MB / 1.001 GB, free: 19.49 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0105/1.105, allocations: 7.202 MB / 1.008 GB, free: 19.38 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002065/1.107, allocations: 50.81 kB / 1.008 GB, free: 19.38 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001365/1.108, allocations: 0.5269 MB / 1.009 GB, free: 19.37 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00319/1.112, allocations: 1.374 MB / 1.01 GB, free: 19.31 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00402/1.116, allocations: 1.716 MB / 1.012 GB, free: 19.26 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002711/1.118, allocations: 2.032 MB / 1.014 GB, free: 19.24 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/1.119, allocations: 0.8074 MB / 1.015 GB, free: 19.15 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002986/1.122, allocations: 1.482 MB / 1.016 GB, free: 19.13 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/1.123, allocations: 0.6807 MB / 1.017 GB, free: 19.12 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/1.124, allocations: 78.34 kB / 1.017 GB, free: 19.12 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003368/1.127, allocations: 1.821 MB / 1.019 GB, free: 19.1 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/1.127, allocations: 307.6 kB / 1.019 GB, free: 19.06 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000523/1.128, allocations: 491.1 kB / 1.019 GB, free: 18.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002765/1.131, allocations: 1.799 MB / 1.021 GB, free: 18.72 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.131, allocations: 0 / 1.021 GB, free: 18.72 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/1.131, allocations: 0 / 1.021 GB, free: 18.72 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.18e-05/1.131, allocations: 1 kB / 1.021 GB, free: 18.72 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.002246/1.133, allocations: 1.318 MB / 1.022 GB, free: 17.96 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.133, allocations: 9.469 kB / 1.022 GB, free: 17.96 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/1.135, allocations: 279.8 kB / 1.023 GB, free: 17.92 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/1.136, allocations: 0.7019 MB / 1.023 GB, free: 17.61 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/1.136, allocations: 46.91 kB / 1.023 GB, free: 17.61 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.332e-05/1.136, allocations: 51.56 kB / 1.023 GB, free: 17.61 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/1.137, allocations: 0.6011 MB / 1.024 GB, free: 17.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/1.137, allocations: 1.812 kB / 1.024 GB, free: 17.57 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.379e-05/1.137, allocations: 19.81 kB / 1.024 GB, free: 17.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/1.137, allocations: 13.53 kB / 1.024 GB, free: 17.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/1.138, allocations: 0.6167 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.003092/1.141, allocations: 2.612 MB / 1.027 GB, free: 16.28 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008677/1.142, allocations: 477.8 kB / 1.028 GB, free: 16.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004686/1.143, allocations: 315.5 kB / 1.028 GB, free: 16.24 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005981/1.143, allocations: 405.6 kB / 1.028 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/1.143, allocations: 41.78 kB / 1.028 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005115/1.144, allocations: 106.5 kB / 1.029 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=45): time 2.244e-06/1.144, allocations: 0 / 1.029 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.002463/1.146, allocations: 1.113 MB / 1.03 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/1.146, allocations: 57.5 kB / 1.03 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006503/1.147, allocations: 0.6512 MB / 1.03 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/1.147, allocations: 35.58 kB / 1.03 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/1.147, allocations: 341.7 kB / 1.031 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.454e-05/1.147, allocations: 162.6 kB / 1.031 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/1.148, allocations: 99.97 kB / 1.031 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.822e-05/1.148, allocations: 321.9 kB / 1.031 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/1.148, allocations: 237 kB / 1.031 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000483/1.149, allocations: 328.6 kB / 1.032 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008865/1.149, allocations: 0.5259 MB / 1.032 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.149, allocations: 0 / 1.032 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001358/1.151, allocations: 0.7269 MB / 1.033 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.151, allocations: 4.75 kB / 1.033 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.151, allocations: 3.188 kB / 1.033 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004321/1.151, allocations: 95.23 kB / 1.033 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/1.152, allocations: 93.94 kB / 1.033 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003876/1.152, allocations: 0.6239 MB / 1.034 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005449/1.153, allocations: 30.98 kB / 1.034 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/1.153, allocations: 24.98 kB / 1.034 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006068/1.153, allocations: 398.6 kB / 1.034 GB, free: 14 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000477/1.154, allocations: 319.5 kB / 1.035 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008641/1.155, allocations: 0.5106 MB / 1.035 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/1.155, allocations: 0 / 1.035 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001204/1.156, allocations: 0.686 MB / 1.036 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/1.156, allocations: 10.75 kB / 1.036 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/1.156, allocations: 3.688 kB / 1.036 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001773/1.156, allocations: 66.34 kB / 1.036 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/1.157, allocations: 86.17 kB / 1.036 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/1.158, allocations: 1.874 MB / 1.038 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/1.158, allocations: 40.73 kB / 1.038 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/1.159, allocations: 19.88 kB / 1.038 GB, free: 12.01 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.0001621/1.159, allocations: 207.2 kB / 1.038 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/1.159, allocations: 76.41 kB / 1.038 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/1.16, allocations: 0.7722 MB / 1.039 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/1.16, allocations: 2.953 kB / 1.039 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.16, allocations: 0 / 1.039 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/1.161, allocations: 207.9 kB / 1.039 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.845e-05/1.161, allocations: 10.97 kB / 1.039 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/1.161, allocations: 37.58 kB / 1.039 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/1.161, allocations: 39.89 kB / 1.039 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001423/1.163, allocations: 0.7167 MB / 1.04 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001612/1.164, allocations: 1.114 MB / 1.041 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000494/1.165, allocations: 274.6 kB / 1.041 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005596/1.165, allocations: 471.9 kB / 1.042 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of Backend: time 5.31e-07/1.165, allocations: 0 / 1.042 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002827/1.168, allocations: 1.214 MB / 1.043 GB, free: 9.621 MB / 0.7169 GB Notification: Performance of SimCode: time 0.002717/1.171, allocations: 2.085 MB / 1.045 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of Templates: time 0.03371/1.205, allocations: 21.8 MB / 1.066 GB, free: 5.754 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)