Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 102.3 kB / 16.4 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.001295/0.001295, allocations: 195.9 kB / 17.34 MB, free: 5.738 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7298/0.7298, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 61.69 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1515, allocations: 76.18 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.5661/0.7176, allocations: 239.8 MB / 0.8658 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01182/0.7294, allocations: 7.224 MB / 0.8728 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.7313, allocations: 55.62 kB / 0.8729 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.7332, allocations: 0.6988 MB / 0.8736 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004899/0.7382, allocations: 2.064 MB / 0.8756 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004491/0.7427, allocations: 2.048 MB / 0.8776 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003994/0.7467, allocations: 3.277 MB / 0.8808 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001877/0.7486, allocations: 1.129 MB / 0.8819 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004175/0.7528, allocations: 1.818 MB / 0.8837 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002073/0.7549, allocations: 0.9706 MB / 0.8846 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003429/0.7552, allocations: 120 kB / 0.8847 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004664/0.7599, allocations: 2.494 MB / 0.8872 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006888/0.7606, allocations: 458.7 kB / 0.8876 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001369/0.762, allocations: 0.7232 MB / 0.8883 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005118/0.7671, allocations: 2.672 MB / 0.8909 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.7671, allocations: 0 / 0.8909 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7671, allocations: 3.938 kB / 0.8909 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.282e-05/0.7672, allocations: 0 / 0.8909 GB, free: 2.941 MB / 0.6387 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.003652/0.7709, allocations: 1.711 MB / 0.8926 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.7709, allocations: 8.031 kB / 0.8926 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002036/0.7711, allocations: 130.8 kB / 0.8927 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002833/0.774, allocations: 429.9 kB / 0.8931 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.7759, allocations: 1.018 MB / 0.8941 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.453e-05/0.776, allocations: 58 kB / 0.8942 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.7762, allocations: 91.91 kB / 0.8943 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.7777, allocations: 0.8624 MB / 0.8951 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.7778, allocations: 4 kB / 0.8951 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.666e-05/0.7779, allocations: 32 kB / 0.8952 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.82e-05/0.7779, allocations: 30 kB / 0.8952 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.7795, allocations: 0.808 MB / 0.896 GB, free: 13.66 MB / 0.6544 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.005367/0.7849, allocations: 3.635 MB / 0.8995 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.7864, allocations: 1.091 MB / 0.9006 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000591/0.787, allocations: 374.9 kB / 0.9009 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007462/0.7878, allocations: 404.9 kB / 0.9013 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.7878, allocations: 51.05 kB / 0.9014 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.796e-06/0.7878, allocations: 0 / 0.9014 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.002187/0.79, allocations: 0.9468 MB / 0.9023 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.7901, allocations: 63.95 kB / 0.9024 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.7913, allocations: 0.836 MB / 0.9032 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/0.7914, allocations: 37.7 kB / 0.9032 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.7917, allocations: 492.1 kB / 0.9037 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.792, allocations: 212.8 kB / 0.9039 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.7921, allocations: 114.2 kB / 0.904 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.7923, allocations: 322 kB / 0.9043 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.7928, allocations: 258.9 kB / 0.9046 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005654/0.7933, allocations: 367.5 kB / 0.9049 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.7945, allocations: 0.5891 MB / 0.9055 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.7945, allocations: 0 / 0.9055 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001398/0.7959, allocations: 0.7409 MB / 0.9062 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.7959, allocations: 4 kB / 0.9062 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.796, allocations: 4 kB / 0.9062 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.796, allocations: 4 kB / 0.9062 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/0.7966, allocations: 123.8 kB / 0.9063 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.7966, allocations: 4 kB / 0.9063 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007853/0.7974, allocations: 79.52 kB / 0.9064 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.837e-05/0.7975, allocations: 23.98 kB / 0.9064 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008329/0.7983, allocations: 497 kB / 0.9069 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005535/0.7989, allocations: 363.5 kB / 0.9073 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009759/0.7998, allocations: 0.5773 MB / 0.9078 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.7999, allocations: 0 / 0.9078 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001358/0.8012, allocations: 0.7204 MB / 0.9085 GB, free: 124 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.8012, allocations: 4.125 kB / 0.9085 GB, free: 120 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.8013, allocations: 8.875 kB / 0.9085 GB, free: 112 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/0.8013, allocations: 7.938 kB / 0.9085 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005795/0.8019, allocations: 127.8 kB / 0.9087 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.8019, allocations: 4 kB / 0.9087 GB, free: 15.97 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007802/0.8027, allocations: 59.56 kB / 0.9087 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/0.8027, allocations: 23.98 kB / 0.9087 GB, free: 15.89 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.0002087/0.803, allocations: 219.6 kB / 0.909 GB, free: 15.67 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.8032, allocations: 102.7 kB / 0.9091 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.8046, allocations: 0.7449 MB / 0.9098 GB, free: 14.83 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.8046, allocations: 8 kB / 0.9098 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.8046, allocations: 0 / 0.9098 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001159/0.8058, allocations: 0.8995 MB / 0.9107 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/0.8092, allocations: 2.247 MB / 0.9129 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.8092, allocations: 7.984 kB / 0.9129 GB, free: 11.44 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006694/0.8099, allocations: 127.8 kB / 0.913 GB, free: 11.31 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.8099, allocations: 8 kB / 0.913 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.81, allocations: 23.98 kB / 0.913 GB, free: 11.28 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.81, allocations: 7.938 kB / 0.913 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.81, allocations: 4.375 kB / 0.913 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.8119, allocations: 1.238 MB / 0.9142 GB, free: 9.973 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/0.8123, allocations: 263.7 kB / 0.9145 GB, free: 9.695 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.8124, allocations: 12 kB / 0.9145 GB, free: 9.684 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006597/0.8131, allocations: 40.14 kB / 0.9145 GB, free: 9.645 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.765e-05/0.8132, allocations: 52.27 kB / 0.9146 GB, free: 9.594 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.472e-05/0.8132, allocations: 31.92 kB / 0.9146 GB, free: 9.562 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000813/0.8141, allocations: 0.5823 MB / 0.9152 GB, free: 8.969 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8141, allocations: 0 / 0.9152 GB, free: 8.969 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001214/0.8153, allocations: 0.5299 MB / 0.9157 GB, free: 8.438 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.002456/0.8177, allocations: 1.913 MB / 0.9176 GB, free: 6.469 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.8195, allocations: 0.9506 MB / 0.9185 GB, free: 5.516 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.8195, allocations: 0 / 0.9185 GB, free: 5.516 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005622/0.8201, allocations: 343.2 kB / 0.9188 GB, free: 5.18 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/0.8225, allocations: 0.6043 MB / 0.9194 GB, free: 4.59 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.8334, allocations: 7.59 MB / 0.9268 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007822/0.8343, allocations: 1.128 MB / 0.9279 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009597/0.8352, allocations: 296.1 kB / 0.9282 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005521/0.8358, allocations: 415.2 kB / 0.9286 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of SimCode: time 1.002e-06/0.8358, allocations: 0 / 0.9286 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05705/0.8929, allocations: 29.85 MB / 0.9578 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.203/10.1, allocations: 11.17 kB / 0.9578 GB, free: 13.45 MB / 0.7169 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)