Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008887/0.0008885, allocations: 92.39 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000943/0.0009429, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9805/0.9805, allocations: 143.2 MB / 435.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003385, allocations: 8 kB / 0.517 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1798, allocations: 83.41 MB / 0.5985 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.6094/0.7892, allocations: 234.7 MB / 0.8277 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0114/0.8007, allocations: 7.23 MB / 0.8347 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.8024, allocations: 47.69 kB / 0.8348 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.8042, allocations: 0.575 MB / 0.8354 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005337/0.8095, allocations: 1.957 MB / 0.8373 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004721/0.8143, allocations: 1.869 MB / 0.8391 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005424/0.8197, allocations: 4.428 MB / 0.8434 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.8212, allocations: 0.9108 MB / 0.8443 GB, free: 160 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00405/0.8252, allocations: 1.564 MB / 0.8458 GB, free: 14.59 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002071/0.8273, allocations: 0.9665 MB / 0.8468 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.8275, allocations: 52 kB / 0.8468 GB, free: 13.57 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005174/0.8327, allocations: 2.833 MB / 0.8496 GB, free: 10.73 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005226/0.8333, allocations: 370.8 kB / 0.8499 GB, free: 10.37 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009734/0.8342, allocations: 0.6585 MB / 0.8506 GB, free: 9.699 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00326/0.8375, allocations: 2.038 MB / 0.8526 GB, free: 7.656 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.8375, allocations: 4 kB / 0.8526 GB, free: 7.652 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8376, allocations: 0 / 0.8526 GB, free: 7.652 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.366e-05/0.8376, allocations: 0 / 0.8526 GB, free: 7.652 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002853/0.8404, allocations: 1.483 MB / 0.854 GB, free: 6.117 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.8405, allocations: 8.031 kB / 0.854 GB, free: 6.109 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002775/0.8433, allocations: 422 kB / 0.8544 GB, free: 5.695 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/0.8451, allocations: 0.9638 MB / 0.8554 GB, free: 4.688 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.8452, allocations: 58 kB / 0.8554 GB, free: 4.633 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.8453, allocations: 87.98 kB / 0.8555 GB, free: 4.547 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.847, allocations: 0.8818 MB / 0.8564 GB, free: 3.66 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.847, allocations: 4 kB / 0.8564 GB, free: 3.656 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.652e-05/0.8471, allocations: 28 kB / 0.8564 GB, free: 3.629 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/0.8472, allocations: 30 kB / 0.8564 GB, free: 3.598 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.8488, allocations: 0.8276 MB / 0.8572 GB, free: 2.77 MB / 0.67 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.3141/1.163, allocations: 3.652 MB / 0.8608 GB, free: 210.9 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/1.164, allocations: 1.102 MB / 0.8619 GB, free: 210.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/1.165, allocations: 382.3 kB / 0.8623 GB, free: 210.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005886/1.165, allocations: 426.6 kB / 0.8627 GB, free: 209.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/1.165, allocations: 39.53 kB / 0.8627 GB, free: 209.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 3.567e-06/1.165, allocations: 0 / 0.8627 GB, free: 209.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.001882/1.167, allocations: 0.9896 MB / 0.8637 GB, free: 209.8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/1.167, allocations: 57.84 kB / 0.8637 GB, free: 209.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009211/1.168, allocations: 0.8384 MB / 0.8645 GB, free: 209.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.104e-05/1.168, allocations: 41.89 kB / 0.8646 GB, free: 209.6 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/1.169, allocations: 479.7 kB / 0.865 GB, free: 209.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/1.169, allocations: 213.3 kB / 0.8652 GB, free: 209.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/1.169, allocations: 52.97 kB / 0.8653 GB, free: 209.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.871e-05/1.169, allocations: 329.9 kB / 0.8656 GB, free: 209 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/1.169, allocations: 258.1 kB / 0.8659 GB, free: 209 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/1.17, allocations: 379.6 kB / 0.8662 GB, free: 208.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/1.171, allocations: 0.6098 MB / 0.8668 GB, free: 208.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.171, allocations: 0 / 0.8668 GB, free: 208.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001247/1.172, allocations: 0.7589 MB / 0.8676 GB, free: 208.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.327e-05/1.172, allocations: 122.9 kB / 0.8677 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/1.172, allocations: 1.781 kB / 0.8677 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/1.172, allocations: 6.469 kB / 0.8677 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/1.173, allocations: 132.4 kB / 0.8678 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.173, allocations: 7.047 kB / 0.8678 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009242/1.174, allocations: 138.4 kB / 0.8679 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.765e-05/1.174, allocations: 20.98 kB / 0.868 GB, free: 208.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.234e-06/1.174, allocations: 3.656 kB / 0.868 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009994/1.175, allocations: 0.6326 MB / 0.8686 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/1.175, allocations: 3 kB / 0.8686 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.1e-06/1.175, allocations: 6.75 kB / 0.8686 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/1.175, allocations: 129.4 kB / 0.8687 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/1.175, allocations: 5.344 kB / 0.8687 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008551/1.176, allocations: 136.2 kB / 0.8689 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/1.176, allocations: 22.72 kB / 0.8689 GB, free: 208.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * 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.0005054/1.177, allocations: 386.5 kB / 0.8692 GB, free: 208.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/1.177, allocations: 99.44 kB / 0.8693 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/1.178, allocations: 0.7651 MB / 0.8701 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.178, allocations: 12.78 kB / 0.8701 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.178, allocations: 4.438 kB / 0.8701 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009804/1.179, allocations: 0.9192 MB / 0.871 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/1.182, allocations: 2.266 MB / 0.8732 GB, free: 206.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.182, allocations: 6.281 kB / 0.8732 GB, free: 206.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005868/1.183, allocations: 144.4 kB / 0.8734 GB, free: 206.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/1.183, allocations: 9.281 kB / 0.8734 GB, free: 206.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/1.183, allocations: 20.41 kB / 0.8734 GB, free: 206.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/1.183, allocations: 5.438 kB / 0.8734 GB, free: 206.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.183, allocations: 8.906 kB / 0.8734 GB, free: 206.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/1.184, allocations: 1.252 MB / 0.8746 GB, free: 205.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003074/1.185, allocations: 266.8 kB / 0.8749 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/1.185, allocations: 20.5 kB / 0.8749 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007691/1.185, allocations: 95.64 kB / 0.875 GB, free: 205.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/1.186, allocations: 48.55 kB / 0.875 GB, free: 205.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/1.186, allocations: 24.41 kB / 0.8751 GB, free: 205.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006448/1.186, allocations: 0.5912 MB / 0.8756 GB, free: 205.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/1.186, allocations: 0 / 0.8756 GB, free: 205.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00113/1.187, allocations: 0.5378 MB / 0.8762 GB, free: 205.3 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * 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.0004825/1.188, allocations: 246 kB / 0.8764 GB, free: 205.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001593/1.19, allocations: 0.9704 MB / 0.8773 GB, free: 204.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.19, allocations: 0 / 0.8773 GB, free: 204.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005145/1.19, allocations: 359.1 kB / 0.8777 GB, free: 204.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00331/1.193, allocations: 0.617 MB / 0.8783 GB, free: 204.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/1.197, allocations: 2.734 MB / 0.881 GB, free: 202.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/1.197, allocations: 1.119 MB / 0.882 GB, free: 202.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/1.197, allocations: 86.67 kB / 0.8821 GB, free: 202.2 MB / 0.67 GB Notification: Performance of SimCode: time 7.21e-07/1.197, allocations: 0 / 0.8821 GB, free: 202.2 MB / 0.67 GB Notification: Performance of Templates: time 0.02864/1.226, allocations: 17.09 MB / 0.8988 GB, free: 200.5 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)