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.001359/0.001359, allocations: 107.8 kB / 16.41 MB, free: 6.488 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.001487/0.001487, allocations: 199.1 kB / 17.34 MB, free: 5.762 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.348/1.348, 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.7066/0.7066, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 70.73 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1479, allocations: 76.18 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.6502/0.7982, allocations: 239.8 MB / 0.8658 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01205/0.8103, allocations: 7.218 MB / 0.8728 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002263/0.8126, allocations: 55.62 kB / 0.8729 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002425/0.8151, allocations: 0.6987 MB / 0.8736 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006246/0.8214, allocations: 2.075 MB / 0.8756 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005846/0.8272, allocations: 2.032 MB / 0.8776 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005062/0.8323, allocations: 3.273 MB / 0.8808 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/0.8344, allocations: 1.135 MB / 0.8819 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004462/0.8389, allocations: 1.818 MB / 0.8837 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00229/0.8412, allocations: 0.9727 MB / 0.8846 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004952/0.8417, allocations: 120 kB / 0.8847 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005755/0.8475, allocations: 2.486 MB / 0.8872 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009119/0.8484, allocations: 466.7 kB / 0.8876 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00205/0.8505, allocations: 0.7233 MB / 0.8883 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006482/0.857, allocations: 2.68 MB / 0.8909 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.857, allocations: 0 / 0.8909 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.675e-06/0.857, allocations: 0 / 0.8909 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.239e-05/0.8571, allocations: 0 / 0.8909 GB, free: 2.984 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.004604/0.8617, allocations: 1.705 MB / 0.8926 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.8618, allocations: 8.031 kB / 0.8926 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002822/0.862, allocations: 130.8 kB / 0.8927 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/0.865, allocations: 429.9 kB / 0.8931 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/0.8672, allocations: 1.011 MB / 0.8941 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.816e-05/0.8672, allocations: 66 kB / 0.8942 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/0.8674, allocations: 87.89 kB / 0.8943 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.8692, allocations: 0.8739 MB / 0.8951 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.8692, allocations: 0 / 0.8951 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/0.8693, allocations: 32 kB / 0.8952 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/0.8693, allocations: 26 kB / 0.8952 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.8708, allocations: 0.8081 MB / 0.896 GB, free: 13.71 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.005047/0.8759, allocations: 3.643 MB / 0.8995 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.8774, allocations: 1.096 MB / 0.9006 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005665/0.878, allocations: 366.9 kB / 0.901 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006751/0.8787, allocations: 412.9 kB / 0.9013 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.8787, allocations: 39.06 kB / 0.9014 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.285e-06/0.8787, allocations: 0 / 0.9014 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.002083/0.8808, allocations: 0.9585 MB / 0.9023 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.8809, allocations: 55.97 kB / 0.9024 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.882, allocations: 0.8361 MB / 0.9032 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.082e-05/0.882, allocations: 37.7 kB / 0.9032 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000421/0.8824, allocations: 488.1 kB / 0.9037 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.8827, allocations: 216.8 kB / 0.9039 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.8829, allocations: 110.2 kB / 0.904 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.883, allocations: 330 kB / 0.9043 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/0.8835, allocations: 254.9 kB / 0.9046 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005695/0.8841, allocations: 363.5 kB / 0.9049 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.8851, allocations: 0.593 MB / 0.9055 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.8851, allocations: 0 / 0.9055 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001347/0.8865, allocations: 0.7398 MB / 0.9062 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.8865, allocations: 4 kB / 0.9062 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.8865, allocations: 0 / 0.9062 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.8865, allocations: 4 kB / 0.9062 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/0.8871, allocations: 132.4 kB / 0.9063 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.8871, allocations: 4 kB / 0.9063 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007289/0.8879, allocations: 67.5 kB / 0.9064 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.578e-05/0.8879, allocations: 31.98 kB / 0.9064 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007601/0.8887, allocations: 493 kB / 0.9069 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005377/0.8892, allocations: 364.1 kB / 0.9073 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001088/0.8903, allocations: 0.5781 MB / 0.9078 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.8903, allocations: 0 / 0.9078 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001293/0.8916, allocations: 0.7281 MB / 0.9085 GB, free: 164 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.8917, allocations: 5.562 kB / 0.9085 GB, free: 160 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.8917, allocations: 128 / 0.9085 GB, free: 160 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.8917, allocations: 11.98 kB / 0.9086 GB, free: 148 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/0.8922, allocations: 123.8 kB / 0.9087 GB, free: 24 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.8923, allocations: 6.453 kB / 0.9087 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007365/0.893, allocations: 64.53 kB / 0.9087 GB, free: 15.95 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.8931, allocations: 27.94 kB / 0.9088 GB, free: 15.93 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.0002266/0.8933, allocations: 215.6 kB / 0.909 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.8935, allocations: 106.7 kB / 0.9091 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.8949, allocations: 0.7393 MB / 0.9098 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.895, allocations: 4 kB / 0.9098 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.895, allocations: 0 / 0.9098 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001183/0.8962, allocations: 0.9072 MB / 0.9107 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003513/0.8997, allocations: 2.247 MB / 0.9129 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.8997, allocations: 4 kB / 0.9129 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006377/0.9004, allocations: 135.8 kB / 0.913 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.9004, allocations: 4 kB / 0.913 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.137e-05/0.9004, allocations: 20 kB / 0.913 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.824e-06/0.9004, allocations: 4 kB / 0.913 GB, free: 11.31 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.9005, allocations: 7.938 kB / 0.913 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.9024, allocations: 1.234 MB / 0.9142 GB, free: 10.01 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/0.9029, allocations: 263.7 kB / 0.9145 GB, free: 9.73 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.903, allocations: 20 kB / 0.9145 GB, free: 9.711 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006804/0.9037, allocations: 39.95 kB / 0.9146 GB, free: 9.672 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.9038, allocations: 44.33 kB / 0.9146 GB, free: 9.629 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/0.9039, allocations: 23.98 kB / 0.9146 GB, free: 9.605 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007779/0.9046, allocations: 0.59 MB / 0.9152 GB, free: 9.004 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9046, allocations: 0 / 0.9152 GB, free: 9.004 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001281/0.9059, allocations: 0.5377 MB / 0.9157 GB, free: 8.465 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.002597/0.9085, allocations: 1.903 MB / 0.9176 GB, free: 6.504 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.9103, allocations: 0.9508 MB / 0.9185 GB, free: 5.551 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.9104, allocations: 0 / 0.9185 GB, free: 5.551 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005901/0.911, allocations: 343.3 kB / 0.9188 GB, free: 5.215 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/0.9136, allocations: 0.6047 MB / 0.9194 GB, free: 4.617 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.9254, allocations: 7.593 MB / 0.9268 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008609/0.9263, allocations: 1.128 MB / 0.9279 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001013/0.9273, allocations: 304.1 kB / 0.9282 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005537/0.9279, allocations: 411.3 kB / 0.9286 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of SimCode: time 7.62e-07/0.9279, allocations: 0 / 0.9286 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06014/0.988, allocations: 29.85 MB / 0.9578 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.113/10.1, allocations: 6.969 kB / 0.9578 GB, free: 13.48 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)