Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.769/2.769, allocations: 287.5 MB / 302.4 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001313/0.001313, allocations: 189 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.223/2.223, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009314/0.0009311, allocations: 95.39 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004832, allocations: 12.34 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2147, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 1.032/1.247, allocations: 218.8 MB / 1.192 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01681/1.264, allocations: 6.749 MB / 1.199 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002185/1.266, allocations: 42.41 kB / 1.199 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002652/1.269, allocations: 461.4 kB / 1.199 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.008062/1.277, allocations: 1.532 MB / 1.201 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.006575/1.283, allocations: 1.453 MB / 1.202 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006953/1.29, allocations: 3.746 MB / 1.206 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002127/1.293, allocations: 0.8064 MB / 1.207 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005149/1.298, allocations: 1.429 MB / 1.208 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002617/1.3, allocations: 0.9094 MB / 1.209 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004049/1.301, allocations: 49.38 kB / 1.209 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005964/1.307, allocations: 1.395 MB / 1.21 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0009902/1.308, allocations: 383.6 kB / 1.211 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0007653/1.309, allocations: 286.5 kB / 1.211 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004677/1.313, allocations: 1.783 MB / 1.213 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.313, allocations: 0 / 1.213 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.286e-06/1.313, allocations: 0 / 1.213 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.851e-05/1.314, allocations: 0 / 1.213 GB, free: 10.38 MB / 0.7448 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.005041/1.319, allocations: 1.485 MB / 1.214 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/1.319, allocations: 8.25 kB / 1.214 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005762/1.319, allocations: 133.2 kB / 1.214 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004217/1.324, allocations: 423.7 kB / 1.215 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002884/1.326, allocations: 0.9222 MB / 1.216 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.242e-05/1.327, allocations: 65.91 kB / 1.216 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/1.327, allocations: 78.38 kB / 1.216 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/1.329, allocations: 0.8757 MB / 1.217 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/1.329, allocations: 0 / 1.217 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/1.33, allocations: 31.91 kB / 1.217 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.181e-05/1.33, allocations: 30.58 kB / 1.217 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/1.332, allocations: 0.8283 MB / 1.217 GB, free: 7.16 MB / 0.7448 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.008382/1.341, allocations: 3.635 MB / 1.221 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/1.343, allocations: 1.1 MB / 1.222 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/1.344, allocations: 378.4 kB / 1.222 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/1.346, allocations: 420.9 kB / 1.223 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/1.346, allocations: 39.12 kB / 1.223 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=60): time 4.067e-06/1.346, allocations: 0 / 1.223 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60): time 0.003701/1.349, allocations: 0.9857 MB / 1.224 GB, free: 132 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/1.349, allocations: 59.97 kB / 1.224 GB, free: 60 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/1.351, allocations: 0.82 MB / 1.225 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/1.351, allocations: 41.7 kB / 1.225 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005498/1.352, allocations: 476.1 kB / 1.225 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000334/1.352, allocations: 220.9 kB / 1.225 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/1.352, allocations: 8 kB / 1.225 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000179/1.353, allocations: 334 kB / 1.226 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008905/1.354, allocations: 249 kB / 1.226 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/1.355, allocations: 380.2 kB / 1.226 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009744/1.356, allocations: 298.1 kB / 1.227 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/1.356, allocations: 3.953 kB / 1.227 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002558/1.358, allocations: 0.7437 MB / 1.227 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/1.358, allocations: 130.8 kB / 1.227 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.358, allocations: 0 / 1.227 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.243e-05/1.358, allocations: 4 kB / 1.227 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/1.36, allocations: 131.8 kB / 1.228 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/1.36, allocations: 0 / 1.228 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/1.362, allocations: 125 kB / 1.228 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/1.362, allocations: 23.98 kB / 1.228 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.362, allocations: 4 kB / 1.228 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002068/1.364, allocations: 0.6222 MB / 1.228 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/1.364, allocations: 7.953 kB / 1.228 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/1.364, allocations: 4 kB / 1.228 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/1.365, allocations: 131.8 kB / 1.228 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/1.365, allocations: 4 kB / 1.228 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/1.367, allocations: 127.4 kB / 1.229 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.642e-05/1.367, allocations: 20 kB / 1.229 GB, free: 11.1 MB / 0.7605 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.000832/1.368, allocations: 380.9 kB / 1.229 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/1.368, allocations: 98.78 kB / 1.229 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/1.37, allocations: 0.775 MB / 1.23 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/1.37, allocations: 4 kB / 1.23 GB, free: 9.832 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/1.371, allocations: 3.938 kB / 1.23 GB, free: 9.828 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002012/1.373, allocations: 0.9306 MB / 1.231 GB, free: 8.809 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005869/1.378, allocations: 2.256 MB / 1.233 GB, free: 6.414 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.378, allocations: 0 / 1.233 GB, free: 6.414 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/1.38, allocations: 143.8 kB / 1.233 GB, free: 6.273 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.621e-05/1.38, allocations: 8 kB / 1.233 GB, free: 6.266 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/1.38, allocations: 16 kB / 1.233 GB, free: 6.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-05/1.38, allocations: 7.984 kB / 1.233 GB, free: 6.242 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/1.38, allocations: 7.953 kB / 1.233 GB, free: 6.234 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003501/1.383, allocations: 1.292 MB / 1.234 GB, free: 4.887 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007443/1.384, allocations: 255.8 kB / 1.235 GB, free: 4.617 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/1.384, allocations: 16 kB / 1.235 GB, free: 4.602 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/1.386, allocations: 107.7 kB / 1.235 GB, free: 4.496 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/1.386, allocations: 44.34 kB / 1.235 GB, free: 4.453 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.939e-05/1.386, allocations: 23.98 kB / 1.235 GB, free: 4.43 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001294/1.387, allocations: 0.5704 MB / 1.235 GB, free: 3.848 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.11e-07/1.388, allocations: 0 / 1.235 GB, free: 3.848 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002035/1.39, allocations: 0.5417 MB / 1.236 GB, free: 3.305 MB / 0.7605 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.004351/1.394, allocations: 1.953 MB / 1.238 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003079/1.397, allocations: 0.9585 MB / 1.239 GB, free: 344 kB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.397, allocations: 4 kB / 1.239 GB, free: 340 kB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/1.398, allocations: 359.2 kB / 1.239 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005573/1.404, allocations: 0.6199 MB / 1.24 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/1.421, allocations: 6.25 MB / 1.246 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/1.422, allocations: 1.116 MB / 1.247 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002061/1.424, allocations: 300.1 kB / 1.247 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009345/1.425, allocations: 411.3 kB / 1.248 GB, free: 7.023 MB / 0.7761 GB Notification: Performance of SimCode: time 3.487e-06/1.425, allocations: 0 / 1.248 GB, free: 7.023 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08938/1.514, allocations: 28.77 MB / 1.276 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003769/1.515, allocations: 233.9 kB / 1.276 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.731/5.245, allocations: 0 / 1.276 GB, free: 10.37 MB / 0.8073 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)