Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_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.001393/0.001393, allocations: 99.55 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.001643/0.001644, 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 2.381/2.381, 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/package.mo): time 0.8854/0.8854, allocations: 132.3 MB / 423.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003452, allocations: 12.97 kB / 0.5033 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5127/0.513, allocations: 81.57 MB / 0.583 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.264/0.7771, allocations: 196.6 MB / 0.7749 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01263/0.7898, allocations: 7.241 MB / 0.782 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002119/0.792, allocations: 39.69 kB / 0.782 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002817/0.7948, allocations: 0.6727 MB / 0.7827 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006945/0.8018, allocations: 1.936 MB / 0.7846 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004915/0.8067, allocations: 1.614 MB / 0.7862 GB, free: 52 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004264/0.811, allocations: 1.874 MB / 0.788 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.8128, allocations: 0.8278 MB / 0.7888 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004026/0.8168, allocations: 1.417 MB / 0.7902 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.8179, allocations: 0.6186 MB / 0.7908 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.818, allocations: 52 kB / 0.7908 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.8209, allocations: 1.057 MB / 0.7919 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003997/0.8214, allocations: 351 kB / 0.7922 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003512/0.8217, allocations: 293 kB / 0.7925 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001973/0.8237, allocations: 1.613 MB / 0.7941 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8237, allocations: 0 / 0.7941 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8237, allocations: 3.938 kB / 0.7941 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.058e-05/0.8237, allocations: 0 / 0.7941 GB, free: 7.914 MB / 0.6231 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.002535/0.8263, allocations: 1.429 MB / 0.7955 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.8263, allocations: 8.031 kB / 0.7955 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/0.8265, allocations: 130.8 kB / 0.7956 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002641/0.8292, allocations: 445.9 kB / 0.796 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.8309, allocations: 0.9141 MB / 0.7969 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.733e-05/0.831, allocations: 58 kB / 0.797 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.8311, allocations: 84 kB / 0.797 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.833, allocations: 0.8702 MB / 0.7979 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.8331, allocations: 3.906 kB / 0.7979 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.8332, allocations: 31.98 kB / 0.7979 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.888e-05/0.8333, allocations: 33.94 kB / 0.798 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002583/0.8359, allocations: 0.8275 MB / 0.7988 GB, free: 2.98 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.009163/0.8451, allocations: 3.627 MB / 0.8023 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.8474, allocations: 1.113 MB / 0.8034 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006579/0.8481, allocations: 149.6 kB / 0.8035 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/0.8481, allocations: 39.12 kB / 0.8036 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 5.761e-06/0.8481, allocations: 0 / 0.8036 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.003458/0.8516, allocations: 0.9896 MB / 0.8045 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.548e-05/0.8517, allocations: 59.97 kB / 0.8046 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.8536, allocations: 0.8321 MB / 0.8054 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002657/0.8539, allocations: 37.7 kB / 0.8054 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009015/0.8548, allocations: 484.1 kB / 0.8059 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003958/0.8552, allocations: 220.7 kB / 0.8061 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.8552, allocations: 12 kB / 0.8061 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002419/0.8555, allocations: 322 kB / 0.8064 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008101/0.8563, allocations: 257 kB / 0.8067 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.8575, allocations: 376.2 kB / 0.807 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008627/0.8583, allocations: 306 kB / 0.8073 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.8584, allocations: 0 / 0.8073 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002317/0.8607, allocations: 0.7399 MB / 0.8081 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003556/0.8611, allocations: 455.3 kB / 0.8085 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.8611, allocations: 0 / 0.8085 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.8611, allocations: 4 kB / 0.8085 GB, free: 8.445 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008576/0.862, allocations: 135.8 kB / 0.8086 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.862, allocations: 7.953 kB / 0.8086 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.8635, allocations: 128.8 kB / 0.8087 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/0.8636, allocations: 20 kB / 0.8088 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.8636, allocations: 4 kB / 0.8088 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001936/0.8656, allocations: 0.6183 MB / 0.8094 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.8656, allocations: 4 kB / 0.8094 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-05/0.8657, allocations: 4 kB / 0.8094 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007402/0.8664, allocations: 139.9 kB / 0.8095 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.8664, allocations: 4 kB / 0.8095 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.8679, allocations: 119.4 kB / 0.8096 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.348e-05/0.868, allocations: 20 kB / 0.8097 GB, free: 7.25 MB / 0.6387 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.000772/0.8688, allocations: 384.9 kB / 0.81 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003739/0.8691, allocations: 98.78 kB / 0.8101 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/0.8716, allocations: 0.7626 MB / 0.8109 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.8716, allocations: 8 kB / 0.8109 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.8717, allocations: 0 / 0.8109 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00205/0.8737, allocations: 0.9228 MB / 0.8118 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006122/0.8799, allocations: 2.267 MB / 0.814 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.8799, allocations: 4 kB / 0.814 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009871/0.8809, allocations: 148.2 kB / 0.8141 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.661e-05/0.8809, allocations: 8 kB / 0.8141 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.166e-05/0.881, allocations: 19.98 kB / 0.8142 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.411e-05/0.881, allocations: 8 kB / 0.8142 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/0.881, allocations: 4 kB / 0.8142 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004168/0.8852, allocations: 1.441 MB / 0.8156 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008919/0.8861, allocations: 263.7 kB / 0.8158 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/0.8864, allocations: 15.98 kB / 0.8158 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.8878, allocations: 103.8 kB / 0.8159 GB, free: 428 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002579/0.888, allocations: 52.27 kB / 0.816 GB, free: 376 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-05/0.8881, allocations: 24 kB / 0.816 GB, free: 352 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.4008/1.289, allocations: 0.5712 MB / 0.8166 GB, free: 43.75 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6.71e-07/1.289, allocations: 0 / 0.8166 GB, free: 43.75 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002151/1.291, allocations: 0.5327 MB / 0.8171 GB, free: 43.75 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.003266/1.294, allocations: 3.004 MB / 0.82 GB, free: 41.93 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002009/1.296, allocations: 0.9587 MB / 0.821 GB, free: 41.92 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/1.296, allocations: 1.281 kB / 0.821 GB, free: 41.92 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006425/1.297, allocations: 351.6 kB / 0.8213 GB, free: 41.92 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/1.3, allocations: 0.6141 MB / 0.8219 GB, free: 41.92 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/1.311, allocations: 6.808 MB / 0.8285 GB, free: 39.13 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/1.311, allocations: 1.145 MB / 0.8297 GB, free: 38.41 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001301/1.313, allocations: 301.4 kB / 0.8299 GB, free: 38.35 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004573/1.313, allocations: 413.5 kB / 0.8303 GB, free: 38.34 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/1.313, allocations: 0 / 0.8303 GB, free: 38.34 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6361/1.949, allocations: 28.81 MB / 0.8585 GB, free: 32.06 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/1.95, allocations: 209 kB / 0.8587 GB, free: 31.82 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.844/5.793, allocations: 0 / 0.8587 GB, free: 31.82 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) Environment - environmentSimulation: