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.0007503/0.0007549, allocations: 92.7 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008207/0.0008208, allocations: 172 kB / 16.58 MB, free: 6.848 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.225/1.225, allocations: 223.3 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6345/0.6345, allocations: 113.7 MB / 405.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003023, allocations: 8.781 kB / 493.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1284, allocations: 77.12 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.452/0.5804, allocations: 218.8 MB / 0.7706 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.5915, allocations: 6.805 MB / 0.7772 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001676/0.5932, allocations: 47.69 kB / 0.7772 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.5949, allocations: 464.9 kB / 0.7777 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004253/0.5992, allocations: 1.54 MB / 0.7792 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003896/0.6031, allocations: 1.452 MB / 0.7806 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004409/0.6075, allocations: 3.772 MB / 0.7843 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.609, allocations: 0.8058 MB / 0.7851 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003193/0.6122, allocations: 1.424 MB / 0.7865 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.6139, allocations: 0.9104 MB / 0.7874 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002617/0.6142, allocations: 52 kB / 0.7874 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/0.6176, allocations: 1.387 MB / 0.7888 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00056/0.6182, allocations: 382.7 kB / 0.7891 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005396/0.6187, allocations: 293 kB / 0.7894 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.6212, allocations: 1.789 MB / 0.7912 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6212, allocations: 0 / 0.7912 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.096e-06/0.6212, allocations: 4 kB / 0.7912 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.168e-05/0.6213, allocations: 0 / 0.7912 GB, free: 10.77 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.002683/0.624, allocations: 1.476 MB / 0.7926 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.624, allocations: 16.03 kB / 0.7926 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002352/0.6243, allocations: 130.8 kB / 0.7927 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002502/0.6268, allocations: 421.9 kB / 0.7931 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.6284, allocations: 0.9342 MB / 0.7941 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.6285, allocations: 62 kB / 0.7941 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.6286, allocations: 88 kB / 0.7942 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.6302, allocations: 0.8585 MB / 0.795 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.6302, allocations: 4 kB / 0.795 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.449e-05/0.6303, allocations: 35.98 kB / 0.7951 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.839e-05/0.6304, allocations: 37.98 kB / 0.7951 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.6318, allocations: 0.8198 MB / 0.7959 GB, free: 5.785 MB / 0.6075 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.004587/0.6364, allocations: 3.647 MB / 0.7995 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.6379, allocations: 1.107 MB / 0.8006 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005853/0.6385, allocations: 371.1 kB / 0.8009 GB, free: 272 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006859/0.6392, allocations: 420.9 kB / 0.8013 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.6392, allocations: 43.12 kB / 0.8013 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 3.116e-06/0.6393, allocations: 0 / 0.8013 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.001995/0.6413, allocations: 0.9858 MB / 0.8023 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.6413, allocations: 55.97 kB / 0.8024 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.6424, allocations: 0.836 MB / 0.8032 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.441e-05/0.6425, allocations: 37.7 kB / 0.8032 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003724/0.6429, allocations: 484.1 kB / 0.8037 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.6431, allocations: 220.8 kB / 0.8039 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.6431, allocations: 8 kB / 0.8039 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6432, allocations: 334 kB / 0.8042 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/0.6437, allocations: 249 kB / 0.8045 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005319/0.6442, allocations: 371.5 kB / 0.8048 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/0.6448, allocations: 306 kB / 0.8051 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.6448, allocations: 0 / 0.8051 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001234/0.646, allocations: 0.74 MB / 0.8058 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.089e-05/0.6461, allocations: 126.6 kB / 0.8059 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.6461, allocations: 0 / 0.8059 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.6461, allocations: 7.938 kB / 0.806 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005253/0.6467, allocations: 135.9 kB / 0.8061 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.6467, allocations: 4 kB / 0.8061 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008378/0.6475, allocations: 135.4 kB / 0.8062 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.6476, allocations: 20.7 kB / 0.8062 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.6476, allocations: 7.938 kB / 0.8062 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001044/0.6487, allocations: 0.6222 MB / 0.8068 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.6487, allocations: 0 / 0.8068 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/0.6487, allocations: 8.125 kB / 0.8069 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.6492, allocations: 127.8 kB / 0.807 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.6492, allocations: 4 kB / 0.807 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008124/0.65, allocations: 139.3 kB / 0.8071 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.6501, allocations: 20 kB / 0.8071 GB, free: 9.691 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.0004804/0.6506, allocations: 393.4 kB / 0.8075 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.6507, allocations: 98.78 kB / 0.8076 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.6521, allocations: 0.7704 MB / 0.8084 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.6521, allocations: 8 kB / 0.8084 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.6521, allocations: 0 / 0.8084 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001082/0.6532, allocations: 0.919 MB / 0.8093 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003201/0.6564, allocations: 2.275 MB / 0.8115 GB, free: 5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.6564, allocations: 0 / 0.8115 GB, free: 5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006052/0.657, allocations: 143.8 kB / 0.8116 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/0.6571, allocations: 8 kB / 0.8116 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.6571, allocations: 16 kB / 0.8116 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.6571, allocations: 11.94 kB / 0.8117 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6571, allocations: 0 / 0.8117 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.6589, allocations: 1.26 MB / 0.8129 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003934/0.6593, allocations: 263.8 kB / 0.8131 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.6595, allocations: 19.98 kB / 0.8132 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007425/0.6602, allocations: 99.84 kB / 0.8133 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.116e-05/0.6603, allocations: 52.2 kB / 0.8133 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/0.6604, allocations: 31.98 kB / 0.8133 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007293/0.6611, allocations: 0.5705 MB / 0.8139 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6611, allocations: 0 / 0.8139 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001217/0.6623, allocations: 0.5338 MB / 0.8144 GB, free: 1.914 MB / 0.6231 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 (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.2822/0.9445, allocations: 1.934 MB / 0.8163 GB, free: 122.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001996/0.9466, allocations: 0.9605 MB / 0.8172 GB, free: 122.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.9466, allocations: 1.219 kB / 0.8172 GB, free: 122.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006361/0.9472, allocations: 353 kB / 0.8176 GB, free: 122.2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/0.9501, allocations: 0.6285 MB / 0.8182 GB, free: 122.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.9609, allocations: 6.291 MB / 0.8243 GB, free: 120 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007661/0.9617, allocations: 1.128 MB / 0.8254 GB, free: 119.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001412/0.9631, allocations: 294.5 kB / 0.8257 GB, free: 119.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005535/0.9636, allocations: 414.1 kB / 0.8261 GB, free: 119.3 MB / 0.6231 GB Notification: Performance of SimCode: time 9.22e-07/0.9636, allocations: 0 / 0.8261 GB, free: 119.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0447/1.008, allocations: 28.81 MB / 0.8542 GB, free: 107.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001274/1.009, allocations: 230.3 kB / 0.8545 GB, free: 107 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/3.152, allocations: 0 / 0.8545 GB, free: 107 MB / 0.6231 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/linux/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) Environment - environmentSimulation: