Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_dev_IDEAS_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.0009983/0.0009984, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001075/0.001075, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8465/0.8465, allocations: 135.2 MB / 426.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.000283, allocations: 11.98 kB / 0.5069 GB, free: 5.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 82.31 MB / 0.5873 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.4158/0.5496, allocations: 196.6 MB / 0.7792 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009412/0.559, allocations: 7.22 MB / 0.7863 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.5601, allocations: 39.69 kB / 0.7863 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.5616, allocations: 0.6688 MB / 0.787 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004131/0.5658, allocations: 1.94 MB / 0.7889 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003482/0.5693, allocations: 1.618 MB / 0.7904 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002378/0.5716, allocations: 1.872 MB / 0.7923 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008982/0.5726, allocations: 0.8335 MB / 0.7931 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00237/0.5749, allocations: 1.421 MB / 0.7945 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006539/0.5756, allocations: 0.6146 MB / 0.7951 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.124e-05/0.5757, allocations: 52 kB / 0.7951 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.5777, allocations: 1.053 MB / 0.7962 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002848/0.578, allocations: 358.9 kB / 0.7965 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.5782, allocations: 285.1 kB / 0.7968 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.5796, allocations: 1.61 MB / 0.7983 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.5796, allocations: 0 / 0.7983 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5797, allocations: 0 / 0.7983 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.5797, allocations: 0 / 0.7983 GB, free: 4.18 MB / 0.6075 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.001976/0.5817, allocations: 1.443 MB / 0.7998 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.5817, allocations: 8.031 kB / 0.7998 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.5818, allocations: 122.8 kB / 0.7999 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002301/0.5841, allocations: 449.9 kB / 0.8003 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.5855, allocations: 0.9141 MB / 0.8012 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.5855, allocations: 58 kB / 0.8013 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.5857, allocations: 87.98 kB / 0.8013 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.5869, allocations: 0.8701 MB / 0.8022 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.587, allocations: 3.906 kB / 0.8022 GB, free: 128 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-05/0.587, allocations: 28 kB / 0.8022 GB, free: 100 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.5871, allocations: 30 kB / 0.8022 GB, free: 72 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.5884, allocations: 0.8198 MB / 0.803 GB, free: 15.25 MB / 0.6231 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.003808/0.5922, allocations: 3.635 MB / 0.8066 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.5934, allocations: 1.121 MB / 0.8077 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003477/0.5938, allocations: 149.6 kB / 0.8078 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.5938, allocations: 39.12 kB / 0.8079 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 1.924e-06/0.5938, allocations: 0 / 0.8079 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.001766/0.5956, allocations: 0.9896 MB / 0.8088 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.5956, allocations: 59.97 kB / 0.8089 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008531/0.5965, allocations: 0.8321 MB / 0.8097 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.5966, allocations: 37.7 kB / 0.8097 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.5969, allocations: 484.1 kB / 0.8102 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.597, allocations: 220.8 kB / 0.8104 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.597, allocations: 12 kB / 0.8104 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.5971, allocations: 322 kB / 0.8107 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.5976, allocations: 260.9 kB / 0.811 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/0.5981, allocations: 376.2 kB / 0.8113 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004657/0.5985, allocations: 298.1 kB / 0.8116 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5985, allocations: 3.938 kB / 0.8116 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001111/0.5997, allocations: 0.7399 MB / 0.8124 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.5998, allocations: 455.3 kB / 0.8128 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5998, allocations: 0 / 0.8128 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.5998, allocations: 4 kB / 0.8128 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/0.6003, allocations: 135.8 kB / 0.8129 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.6004, allocations: 4 kB / 0.8129 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007593/0.6011, allocations: 131.3 kB / 0.813 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.6012, allocations: 23.98 kB / 0.8131 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.6012, allocations: 4 kB / 0.8131 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009862/0.6022, allocations: 0.6144 MB / 0.8137 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-06/0.6022, allocations: 5.125 kB / 0.8137 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/0.6022, allocations: 4 kB / 0.8137 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.6027, allocations: 135.9 kB / 0.8138 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.6027, allocations: 4 kB / 0.8138 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007164/0.6034, allocations: 123.4 kB / 0.8139 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.6035, allocations: 20 kB / 0.814 GB, free: 3.512 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003458/0.6038, allocations: 383 kB / 0.8143 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.604, allocations: 102.7 kB / 0.8144 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.6052, allocations: 0.7582 MB / 0.8152 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.6052, allocations: 8 kB / 0.8152 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6052, allocations: 3.984 kB / 0.8152 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00101/0.6062, allocations: 0.9228 MB / 0.8161 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.6091, allocations: 2.259 MB / 0.8183 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.6091, allocations: 4 kB / 0.8183 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005869/0.6097, allocations: 148.2 kB / 0.8184 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.6097, allocations: 11.95 kB / 0.8184 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/0.6098, allocations: 21.05 kB / 0.8185 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.6098, allocations: 8 kB / 0.8185 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6098, allocations: 4 kB / 0.8185 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.6115, allocations: 1.437 MB / 0.8199 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003439/0.6118, allocations: 259.7 kB / 0.8201 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.6119, allocations: 23.92 kB / 0.8201 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007152/0.6127, allocations: 100.7 kB / 0.8202 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/0.6128, allocations: 48.33 kB / 0.8203 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.6128, allocations: 27.94 kB / 0.8203 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006207/0.6134, allocations: 0.5744 MB / 0.8209 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6134, allocations: 0 / 0.8209 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001013/0.6144, allocations: 0.5376 MB / 0.8214 GB, free: 11.5 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002414/0.6169, allocations: 3.017 MB / 0.8243 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001464/0.6183, allocations: 0.9624 MB / 0.8253 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6184, allocations: 0 / 0.8253 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005039/0.6189, allocations: 355.3 kB / 0.8256 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.6213, allocations: 0.6124 MB / 0.8262 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008219/0.6296, allocations: 6.797 MB / 0.8329 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.6302, allocations: 1.151 MB / 0.834 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009157/0.6311, allocations: 296.1 kB / 0.8343 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004664/0.6316, allocations: 411.3 kB / 0.8347 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of SimCode: time 4.71e-07/0.6316, allocations: 3.938 kB / 0.8347 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.442/2.074, allocations: 28.81 MB / 0.8628 GB, free: 1.164 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/2.074, allocations: 222.8 kB / 0.863 GB, free: 0.918 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.853/5.927, allocations: 0 / 0.863 GB, free: 0.918 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) Environment - environmentSimulation: