Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_Buildings_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.005336/0.005336, allocations: 110.5 kB / 15.7 MB, free: 5.527 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.001173/0.001173, allocations: 198.3 kB / 16.64 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.795/1.795, allocations: 292.3 MB / 0.549 GB, free: 17.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 71.91 kB / 0.6718 GB, free: 6.355 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2522, allocations: 114.6 MB / 0.7836 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.6302/0.8825, allocations: 239.9 MB / 1.018 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01183/0.8943, allocations: 7.136 MB / 1.025 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.8962, allocations: 51.69 kB / 1.025 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.8983, allocations: 0.691 MB / 1.026 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005726/0.904, allocations: 2.066 MB / 1.028 GB, free: 340 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005044/0.9091, allocations: 2.028 MB / 1.03 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004468/0.9136, allocations: 3.25 MB / 1.033 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.9153, allocations: 1.129 MB / 1.034 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004089/0.9194, allocations: 1.794 MB / 1.036 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.9213, allocations: 0.965 MB / 1.037 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.9215, allocations: 124 kB / 1.037 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004812/0.9263, allocations: 2.486 MB / 1.039 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005164/0.9269, allocations: 458.7 kB / 1.04 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0008673/0.9278, allocations: 0.7233 MB / 1.04 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004116/0.9319, allocations: 2.684 MB / 1.043 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.9319, allocations: 0 / 1.043 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9319, allocations: 3.938 kB / 1.043 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.141e-05/0.9319, allocations: 0 / 1.043 GB, free: 0.6602 MB / 0.8262 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.002902/0.9348, allocations: 1.705 MB / 1.045 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.9349, allocations: 8.031 kB / 1.045 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.9351, allocations: 130.8 kB / 1.045 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002606/0.9377, allocations: 426.6 kB / 1.045 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.9393, allocations: 0.999 MB / 1.046 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.473e-05/0.9394, allocations: 69.98 kB / 1.046 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.9395, allocations: 88 kB / 1.046 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.941, allocations: 0.8623 MB / 1.047 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.9411, allocations: 0 / 1.047 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.52e-05/0.9411, allocations: 32 kB / 1.047 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/0.9412, allocations: 30 kB / 1.047 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.9426, allocations: 0.8042 MB / 1.048 GB, free: 11.41 MB / 0.8419 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.004623/0.9472, allocations: 3.64 MB / 1.051 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.9487, allocations: 1.092 MB / 1.053 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005603/0.9493, allocations: 365.4 kB / 1.053 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006864/0.95, allocations: 412.9 kB / 1.053 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.95, allocations: 43.06 kB / 1.053 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 2.384e-06/0.95, allocations: 0 / 1.053 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.002031/0.9521, allocations: 0.9546 MB / 1.054 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.9521, allocations: 59.97 kB / 1.054 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.9531, allocations: 0.8278 MB / 1.055 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.886e-05/0.9532, allocations: 37.7 kB / 1.055 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.9536, allocations: 484.1 kB / 1.056 GB, free: 2.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.9538, allocations: 212.8 kB / 1.056 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.954, allocations: 114.2 kB / 1.056 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.9541, allocations: 326 kB / 1.056 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004826/0.9546, allocations: 251 kB / 1.056 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005894/0.9552, allocations: 380.2 kB / 1.057 GB, free: 1.672 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009981/0.9562, allocations: 0.5852 MB / 1.057 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.9562, allocations: 7.938 kB / 1.057 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001299/0.9575, allocations: 0.7359 MB / 1.058 GB, free: 328 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.9576, allocations: 4 kB / 1.058 GB, free: 324 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.9576, allocations: 6.188 kB / 1.058 GB, free: 320 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.185e-05/0.9576, allocations: 4 kB / 1.058 GB, free: 316 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/0.9582, allocations: 123.9 kB / 1.058 GB, free: 192 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.9582, allocations: 7.938 kB / 1.058 GB, free: 184 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007267/0.9589, allocations: 71.62 kB / 1.058 GB, free: 112 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.959, allocations: 23.98 kB / 1.058 GB, free: 88 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008089/0.9598, allocations: 497.1 kB / 1.059 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000553/0.9604, allocations: 364.2 kB / 1.059 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009785/0.9614, allocations: 0.5851 MB / 1.06 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.9614, allocations: 0 / 1.06 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001224/0.9626, allocations: 0.7203 MB / 1.06 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.9626, allocations: 12.11 kB / 1.06 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.9626, allocations: 0 / 1.06 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.089e-06/0.9627, allocations: 4 kB / 1.06 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005123/0.9632, allocations: 123.8 kB / 1.061 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.9632, allocations: 4 kB / 1.061 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006578/0.9638, allocations: 68.39 kB / 1.061 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.9639, allocations: 20 kB / 1.061 GB, free: 13.65 MB / 0.8575 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.000195/0.9641, allocations: 224.1 kB / 1.061 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.9643, allocations: 98.78 kB / 1.061 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.9657, allocations: 0.7376 MB / 1.062 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.9657, allocations: 8 kB / 1.062 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.9657, allocations: 0 / 1.062 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001169/0.9669, allocations: 0.9067 MB / 1.063 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.9701, allocations: 2.243 MB / 1.065 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.9702, allocations: 7.938 kB / 1.065 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006273/0.9708, allocations: 139.8 kB / 1.065 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/0.9708, allocations: 8 kB / 1.065 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.9709, allocations: 16 kB / 1.065 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/0.9709, allocations: 4.406 kB / 1.065 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.9709, allocations: 10.66 kB / 1.065 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.9728, allocations: 1.265 MB / 1.066 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003673/0.9732, allocations: 255.7 kB / 1.066 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.9733, allocations: 19.98 kB / 1.066 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006456/0.9739, allocations: 39.95 kB / 1.066 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.9741, allocations: 48.33 kB / 1.067 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.9741, allocations: 27.98 kB / 1.067 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000814/0.9749, allocations: 0.5743 MB / 1.067 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9749, allocations: 0 / 1.067 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001211/0.9762, allocations: 0.5338 MB / 1.068 GB, free: 6.18 MB / 0.8575 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 (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.002523/0.9787, allocations: 1.94 MB / 1.07 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001734/0.9804, allocations: 0.9468 MB / 1.07 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.9805, allocations: 4 kB / 1.07 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005669/0.981, allocations: 339.2 kB / 1.071 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/0.9836, allocations: 0.6041 MB / 1.071 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.9945, allocations: 7.542 MB / 1.079 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007338/0.9952, allocations: 1.128 MB / 1.08 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001199/0.9964, allocations: 298.7 kB / 1.08 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005901/0.997, allocations: 411.3 kB / 1.081 GB, free: 8.75 MB / 0.8731 GB Notification: Performance of SimCode: time 8.31e-07/0.997, allocations: 3.938 kB / 1.081 GB, free: 8.746 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06505/1.062, allocations: 29.11 MB / 1.109 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.395/10.46, allocations: 22.42 kB / 1.109 GB, free: 12.14 MB / 0.9044 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)