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.001485/0.001485, allocations: 106.7 kB / 16.41 MB, free: 6.453 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.001325/0.001325, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.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.8309/0.8309, allocations: 143 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.33 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1486, allocations: 82.03 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.5885/0.7371, allocations: 240.1 MB / 0.9108 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01082/0.748, allocations: 7.231 MB / 0.9178 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.7496, allocations: 51.69 kB / 0.9179 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.7516, allocations: 0.6988 MB / 0.9186 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005134/0.7568, allocations: 2.068 MB / 0.9206 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004711/0.7615, allocations: 2.032 MB / 0.9226 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004247/0.7658, allocations: 3.265 MB / 0.9258 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001756/0.7675, allocations: 1.142 MB / 0.9269 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003833/0.7714, allocations: 1.814 MB / 0.9286 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.7735, allocations: 0.9695 MB / 0.9296 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003283/0.7738, allocations: 127.9 kB / 0.9297 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004647/0.7784, allocations: 2.486 MB / 0.9321 GB, free: 7.527 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006121/0.7791, allocations: 462.7 kB / 0.9326 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.7803, allocations: 0.7194 MB / 0.9333 GB, free: 6.352 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004856/0.7852, allocations: 2.778 MB / 0.936 GB, free: 3.566 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.7852, allocations: 0 / 0.936 GB, free: 3.566 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7852, allocations: 3.938 kB / 0.936 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.363e-05/0.7853, allocations: 4 kB / 0.936 GB, free: 3.559 MB / 0.7012 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.00318/0.7884, allocations: 1.713 MB / 0.9377 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.7885, allocations: 8.031 kB / 0.9377 GB, free: 1.781 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/0.7911, allocations: 422 kB / 0.9381 GB, free: 1.367 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.793, allocations: 1.026 MB / 0.9391 GB, free: 304 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.79e-05/0.7931, allocations: 66 kB / 0.9392 GB, free: 240 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.7932, allocations: 80 kB / 0.9392 GB, free: 160 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.7947, allocations: 0.8631 MB / 0.9401 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.7948, allocations: 0 / 0.9401 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.153e-05/0.7949, allocations: 32 kB / 0.9401 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.7949, allocations: 30 kB / 0.9401 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.7963, allocations: 0.8158 MB / 0.9409 GB, free: 14.41 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.004728/0.801, allocations: 3.644 MB / 0.9445 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.8025, allocations: 1.097 MB / 0.9456 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005541/0.8031, allocations: 362.4 kB / 0.9459 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000668/0.8038, allocations: 416.8 kB / 0.9463 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.8038, allocations: 35.12 kB / 0.9463 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 2.224e-06/0.8038, allocations: 4 kB / 0.9463 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.002028/0.8058, allocations: 0.9546 MB / 0.9473 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.8059, allocations: 63.91 kB / 0.9473 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.8069, allocations: 0.84 MB / 0.9482 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.032e-05/0.807, allocations: 37.7 kB / 0.9482 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/0.8073, allocations: 480.1 kB / 0.9486 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.8075, allocations: 220.8 kB / 0.9489 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.8077, allocations: 110.2 kB / 0.949 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.8078, allocations: 330 kB / 0.9493 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004683/0.8083, allocations: 259 kB / 0.9495 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005433/0.8089, allocations: 359.5 kB / 0.9499 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009823/0.8099, allocations: 0.5891 MB / 0.9504 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.8099, allocations: 4 kB / 0.9504 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001295/0.8112, allocations: 0.7397 MB / 0.9512 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.8112, allocations: 4 kB / 0.9512 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.8112, allocations: 1.266 kB / 0.9512 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.8112, allocations: 11.94 kB / 0.9512 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005523/0.8118, allocations: 131.9 kB / 0.9513 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.8118, allocations: 4 kB / 0.9513 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007337/0.8126, allocations: 71.47 kB / 0.9514 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.848e-05/0.8126, allocations: 24 kB / 0.9514 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007502/0.8134, allocations: 497.7 kB / 0.9519 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000516/0.8139, allocations: 369.1 kB / 0.9522 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009421/0.8149, allocations: 0.5774 MB / 0.9528 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.8149, allocations: 0 / 0.9528 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001214/0.8161, allocations: 0.7243 MB / 0.9535 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.8161, allocations: 7.938 kB / 0.9535 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.8161, allocations: 0 / 0.9535 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.8161, allocations: 4 kB / 0.9535 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.8167, allocations: 123.8 kB / 0.9536 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.8167, allocations: 5.562 kB / 0.9536 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007118/0.8174, allocations: 67.67 kB / 0.9537 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.8175, allocations: 24 kB / 0.9537 GB, free: 0.625 MB / 0.7169 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.0001803/0.8177, allocations: 216.1 kB / 0.9539 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.8178, allocations: 106.7 kB / 0.954 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.8192, allocations: 0.7393 MB / 0.9548 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.8192, allocations: 4 kB / 0.9548 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.8192, allocations: 0 / 0.9548 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/0.8203, allocations: 0.9034 MB / 0.9556 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/0.8236, allocations: 2.243 MB / 0.9578 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.8237, allocations: 7.938 kB / 0.9578 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006179/0.8243, allocations: 136.2 kB / 0.958 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.8243, allocations: 8.094 kB / 0.958 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/0.8244, allocations: 27.92 kB / 0.958 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.8244, allocations: 7.938 kB / 0.958 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.8244, allocations: 4 kB / 0.958 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.8262, allocations: 1.226 MB / 0.9592 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/0.8267, allocations: 263.7 kB / 0.9595 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.8268, allocations: 19.98 kB / 0.9595 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006644/0.8275, allocations: 43.95 kB / 0.9595 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.8276, allocations: 48.27 kB / 0.9596 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.8277, allocations: 23.98 kB / 0.9596 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000768/0.8285, allocations: 0.5823 MB / 0.9602 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8285, allocations: 0 / 0.9602 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001273/0.8297, allocations: 0.5338 MB / 0.9607 GB, free: 9.164 MB / 0.7325 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.0004941/0.8303, allocations: 252.6 kB / 0.9609 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001711/0.832, allocations: 0.9427 MB / 0.9618 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.832, allocations: 4.5 kB / 0.9618 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005551/0.8326, allocations: 342.2 kB / 0.9622 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.8349, allocations: 0.5973 MB / 0.9628 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.8382, allocations: 2.188 MB / 0.9649 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006979/0.8389, allocations: 1.127 MB / 0.966 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/0.8391, allocations: 87.42 kB / 0.9661 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.8392, allocations: 0 / 0.9661 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of Templates: time 0.02364/0.8628, allocations: 17.22 MB / 0.9829 GB, free: 2.492 MB / 0.7481 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)