Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="BuildSysPro_BuildSysPro_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.002151/0.002151, allocations: 91.61 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.00162/0.00162, 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 4.0.0+maint.om/package.mo): time 1.672/1.672, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.263/1.263, allocations: 143.4 MB / 434.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003838, allocations: 8 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2109, allocations: 83.41 MB / 0.5975 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.8505/1.061, allocations: 219 MB / 0.8114 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01304/1.074, allocations: 6.832 MB / 0.818 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002099/1.077, allocations: 47.62 kB / 0.8181 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001878/1.079, allocations: 464.9 kB / 0.8185 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00528/1.084, allocations: 1.533 MB / 0.82 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004859/1.089, allocations: 1.453 MB / 0.8214 GB, free: 6.719 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005155/1.094, allocations: 3.769 MB / 0.8251 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/1.095, allocations: 0.8064 MB / 0.8259 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003773/1.099, allocations: 1.431 MB / 0.8273 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/1.101, allocations: 0.9143 MB / 0.8282 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/1.101, allocations: 51.98 kB / 0.8282 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003877/1.105, allocations: 1.387 MB / 0.8296 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005247/1.105, allocations: 382.7 kB / 0.83 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007176/1.106, allocations: 293 kB / 0.8302 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003312/1.109, allocations: 1.878 MB / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/1.109, allocations: 0 / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.735e-06/1.109, allocations: 0 / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.988e-05/1.109, allocations: 0 / 0.8321 GB, free: 11.77 MB / 0.6544 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.003755/1.113, allocations: 1.493 MB / 0.8335 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/1.113, allocations: 8.031 kB / 0.8335 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005683/1.114, allocations: 127.3 kB / 0.8337 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/1.117, allocations: 426 kB / 0.8341 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/1.12, allocations: 0.9295 MB / 0.835 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-05/1.12, allocations: 62.69 kB / 0.835 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002656/1.12, allocations: 84 kB / 0.8351 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/1.122, allocations: 0.8663 MB / 0.836 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/1.122, allocations: 0 / 0.836 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/1.122, allocations: 36 kB / 0.836 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.634e-05/1.122, allocations: 30 kB / 0.836 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/1.124, allocations: 0.8198 MB / 0.8368 GB, free: 6.797 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.006012/1.13, allocations: 3.655 MB / 0.8404 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/1.132, allocations: 1.105 MB / 0.8415 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006467/1.133, allocations: 383.5 kB / 0.8418 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007609/1.133, allocations: 416.9 kB / 0.8422 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/1.133, allocations: 39.12 kB / 0.8423 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 4.068e-06/1.133, allocations: 0 / 0.8423 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.002389/1.136, allocations: 0.9819 MB / 0.8432 GB, free: 15.75 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/1.136, allocations: 63.95 kB / 0.8433 GB, free: 15.67 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/1.137, allocations: 0.8204 MB / 0.8441 GB, free: 14.83 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/1.138, allocations: 41.7 kB / 0.8441 GB, free: 14.78 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005433/1.138, allocations: 488.1 kB / 0.8446 GB, free: 14.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/1.138, allocations: 208.9 kB / 0.8448 GB, free: 14.09 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/1.139, allocations: 16 kB / 0.8448 GB, free: 14.07 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001975/1.139, allocations: 330 kB / 0.8451 GB, free: 13.75 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/1.139, allocations: 249 kB / 0.8454 GB, free: 13.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006897/1.14, allocations: 368.4 kB / 0.8457 GB, free: 13.11 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006173/1.141, allocations: 310.1 kB / 0.846 GB, free: 12.81 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/1.141, allocations: 3.938 kB / 0.846 GB, free: 12.81 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001545/1.142, allocations: 0.7516 MB / 0.8468 GB, free: 12.05 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/1.142, allocations: 118.7 kB / 0.8469 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.142, allocations: 0 / 0.8469 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/1.142, allocations: 12.03 kB / 0.8469 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/1.143, allocations: 124.7 kB / 0.847 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.357e-05/1.143, allocations: 4 kB / 0.847 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/1.144, allocations: 135.3 kB / 0.8471 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.361e-05/1.144, allocations: 27.98 kB / 0.8472 GB, free: 11.62 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/1.144, allocations: 9.031 kB / 0.8472 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001201/1.145, allocations: 0.6183 MB / 0.8478 GB, free: 10.99 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/1.145, allocations: 4.125 kB / 0.8478 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/1.146, allocations: 4 kB / 0.8478 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/1.146, allocations: 136.5 kB / 0.8479 GB, free: 10.85 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/1.146, allocations: 7.953 kB / 0.8479 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/1.147, allocations: 131.4 kB / 0.848 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/1.147, allocations: 20 kB / 0.8481 GB, free: 10.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006919/1.148, allocations: 388.9 kB / 0.8484 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/1.148, allocations: 106.8 kB / 0.8485 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/1.15, allocations: 0.7567 MB / 0.8493 GB, free: 9.434 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.006e-06/1.15, allocations: 4 kB / 0.8493 GB, free: 9.43 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.15, allocations: 7.453 kB / 0.8493 GB, free: 9.426 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001305/1.151, allocations: 0.9229 MB / 0.8502 GB, free: 8.422 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004358/1.156, allocations: 2.267 MB / 0.8524 GB, free: 6.016 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.156, allocations: 4 kB / 0.8524 GB, free: 6.012 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006851/1.156, allocations: 143.7 kB / 0.8525 GB, free: 5.871 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.067e-05/1.156, allocations: 4 kB / 0.8525 GB, free: 5.867 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.942e-05/1.156, allocations: 27.98 kB / 0.8526 GB, free: 5.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/1.156, allocations: 7.938 kB / 0.8526 GB, free: 5.832 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.156, allocations: 8.219 kB / 0.8526 GB, free: 5.824 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/1.159, allocations: 1.256 MB / 0.8538 GB, free: 4.512 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006736/1.159, allocations: 251.8 kB / 0.8541 GB, free: 4.246 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/1.16, allocations: 19.98 kB / 0.8541 GB, free: 4.227 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.161, allocations: 104.9 kB / 0.8542 GB, free: 4.125 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/1.161, allocations: 52.27 kB / 0.8542 GB, free: 4.074 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-05/1.161, allocations: 20 kB / 0.8542 GB, free: 4.055 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001104/1.162, allocations: 0.5784 MB / 0.8548 GB, free: 3.465 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/1.162, allocations: 4 kB / 0.8548 GB, free: 3.461 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002197/1.164, allocations: 0.5338 MB / 0.8553 GB, free: 2.926 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 (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.003212/1.167, allocations: 1.945 MB / 0.8572 GB, free: 0.9258 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.4035/1.571, allocations: 0.9593 MB / 0.8582 GB, free: 210.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/1.571, allocations: 0 / 0.8582 GB, free: 210.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008348/1.572, allocations: 352.6 kB / 0.8585 GB, free: 210.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/1.575, allocations: 0.6209 MB / 0.8591 GB, free: 210.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/1.585, allocations: 6.293 MB / 0.8653 GB, free: 208.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006411/1.586, allocations: 1.124 MB / 0.8664 GB, free: 207.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001376/1.587, allocations: 298.4 kB / 0.8666 GB, free: 207.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005975/1.588, allocations: 416.5 kB / 0.867 GB, free: 207.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.362e-06/1.588, allocations: 0.6562 kB / 0.867 GB, free: 207.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0732/1.661, allocations: 28.89 MB / 0.8952 GB, free: 204.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/1.661, allocations: 240.5 kB / 0.8955 GB, free: 204.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.078/4.739, allocations: 4 kB / 0.8955 GB, free: 204.2 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) Environment - environmentSimulation: