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.001056/0.001056, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001043/0.001044, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.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.861/1.861, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.000614/0.000614, allocations: 13.16 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2605, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.7505/1.011, allocations: 218.8 MB / 1.001 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01183/1.023, allocations: 6.738 MB / 1.008 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/1.025, allocations: 43.06 kB / 1.008 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/1.026, allocations: 464.4 kB / 1.008 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004105/1.03, allocations: 1.539 MB / 1.01 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003844/1.034, allocations: 1.446 MB / 1.011 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004047/1.038, allocations: 3.747 MB / 1.015 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/1.04, allocations: 0.8051 MB / 1.016 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/1.043, allocations: 1.426 MB / 1.017 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/1.044, allocations: 0.9176 MB / 1.018 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/1.044, allocations: 52.5 kB / 1.018 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003199/1.047, allocations: 1.391 MB / 1.019 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00038/1.048, allocations: 383.4 kB / 1.02 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003562/1.048, allocations: 288.7 kB / 1.02 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002108/1.05, allocations: 1.775 MB / 1.022 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.05, allocations: 3.984 kB / 1.022 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.843e-06/1.05, allocations: 0 / 1.022 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.014e-05/1.05, allocations: 0 / 1.022 GB, free: 4.188 MB / 0.7325 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.002449/1.053, allocations: 1.487 MB / 1.023 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.053, allocations: 12.84 kB / 1.023 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001686/1.053, allocations: 129.3 kB / 1.023 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002485/1.055, allocations: 428.7 kB / 1.024 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/1.057, allocations: 0.9206 MB / 1.024 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/1.057, allocations: 58.19 kB / 1.025 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/1.057, allocations: 83.53 kB / 1.025 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/1.059, allocations: 0.867 MB / 1.025 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/1.059, allocations: 0 / 1.025 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.767e-05/1.059, allocations: 37.67 kB / 1.026 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-05/1.059, allocations: 29.25 kB / 1.026 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/1.06, allocations: 0.8264 MB / 1.026 GB, free: 1.047 MB / 0.7325 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.004525/1.065, allocations: 3.629 MB / 1.03 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/1.066, allocations: 1.096 MB / 1.031 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005818/1.067, allocations: 386.7 kB / 1.031 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006678/1.067, allocations: 424 kB / 1.032 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/1.067, allocations: 39.72 kB / 1.032 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=60): time 2.084e-06/1.067, allocations: 0 / 1.032 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of matching and sorting (n=60): time 0.001953/1.069, allocations: 0.9847 MB / 1.033 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/1.069, allocations: 59.88 kB / 1.033 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009892/1.07, allocations: 0.8188 MB / 1.034 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.711e-05/1.07, allocations: 40.42 kB / 1.034 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/1.071, allocations: 482.6 kB / 1.034 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/1.071, allocations: 213.5 kB / 1.034 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/1.071, allocations: 10.69 kB / 1.034 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.071, allocations: 328 kB / 1.035 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004782/1.072, allocations: 250 kB / 1.035 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/1.072, allocations: 380 kB / 1.035 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/1.073, allocations: 301 kB / 1.035 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.073, allocations: 0 / 1.035 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001188/1.074, allocations: 0.7503 MB / 1.036 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.263e-05/1.074, allocations: 119.4 kB / 1.036 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.074, allocations: 8.797 kB / 1.036 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/1.074, allocations: 6.812 kB / 1.036 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/1.075, allocations: 129.3 kB / 1.036 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.075, allocations: 5.344 kB / 1.036 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008807/1.076, allocations: 129 kB / 1.037 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/1.076, allocations: 24.27 kB / 1.037 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/1.076, allocations: 5.438 kB / 1.037 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001131/1.077, allocations: 0.6245 MB / 1.037 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/1.077, allocations: 0 / 1.037 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/1.077, allocations: 9.203 kB / 1.037 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/1.077, allocations: 129.1 kB / 1.037 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.016e-06/1.077, allocations: 6.844 kB / 1.037 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000795/1.078, allocations: 127.8 kB / 1.038 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/1.078, allocations: 20.75 kB / 1.038 GB, free: 8.887 MB / 0.7481 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.0005434/1.079, allocations: 377.8 kB / 1.038 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/1.079, allocations: 102.8 kB / 1.038 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/1.08, allocations: 0.7654 MB / 1.039 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/1.08, allocations: 12.77 kB / 1.039 GB, free: 8.102 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.08, allocations: 0 / 1.039 GB, free: 8.102 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001119/1.081, allocations: 0.9207 MB / 1.04 GB, free: 7.398 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003382/1.085, allocations: 2.254 MB / 1.042 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/1.085, allocations: 2.969 kB / 1.042 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006084/1.086, allocations: 141.2 kB / 1.042 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/1.086, allocations: 5.562 kB / 1.042 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.881e-05/1.086, allocations: 27.05 kB / 1.042 GB, free: 5.691 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/1.086, allocations: 9.031 kB / 1.042 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/1.086, allocations: 2.938 kB / 1.042 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/1.088, allocations: 1.286 MB / 1.043 GB, free: 4.895 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004605/1.088, allocations: 260.8 kB / 1.044 GB, free: 4.645 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/1.088, allocations: 19.98 kB / 1.044 GB, free: 4.625 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007613/1.089, allocations: 99.75 kB / 1.044 GB, free: 4.527 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/1.089, allocations: 52.27 kB / 1.044 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/1.089, allocations: 23.98 kB / 1.044 GB, free: 4.453 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007644/1.09, allocations: 0.5743 MB / 1.044 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/1.09, allocations: 0 / 1.044 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001263/1.091, allocations: 0.526 MB / 1.045 GB, free: 3.34 MB / 0.7481 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.002599/1.094, allocations: 1.984 MB / 1.047 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001777/1.096, allocations: 0.9588 MB / 1.048 GB, free: 336 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.096, allocations: 0 / 1.048 GB, free: 336 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005986/1.096, allocations: 347.1 kB / 1.048 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/1.099, allocations: 0.6128 MB / 1.049 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/1.109, allocations: 6.248 MB / 1.055 GB, free: 8.879 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007078/1.11, allocations: 1.124 MB / 1.056 GB, free: 7.723 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001148/1.111, allocations: 304.1 kB / 1.056 GB, free: 7.422 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005612/1.112, allocations: 407.3 kB / 1.056 GB, free: 7.027 MB / 0.7637 GB Notification: Performance of SimCode: time 6.01e-07/1.112, allocations: 0 / 1.056 GB, free: 7.027 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04865/1.16, allocations: 28.76 MB / 1.085 GB, free: 10.69 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/1.16, allocations: 228 kB / 1.085 GB, free: 10.45 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/3.684, allocations: 5.062 kB / 1.085 GB, free: 10.44 MB / 0.795 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/linux/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) Environment - environmentSimulation: