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/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.8405/0.8405, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001528/0.001528, allocations: 187.7 kB / 169.7 MB, free: 1.738 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.1 MB / 404.5 MB, free: 1.566 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000849/0.000849, allocations: 78.48 kB / 481.8 MB, free: 4.223 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.615e-05/3.629e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1597, allocations: 76.76 MB / 0.6282 GB, free: 9.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.346/5.506, allocations: 2.159 GB / 2.787 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/5.506, allocations: 94.84 kB / 2.787 GB, free: 168.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.757/9.263, allocations: 0.9098 GB / 3.697 GB, free: 79.59 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.863e-06/9.264, allocations: 1.094 kB / 3.697 GB, free: 79.59 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001592/9.264, allocations: 39.41 kB / 3.697 GB, free: 79.59 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.00454/9.268, allocations: 1.523 MB / 3.699 GB, free: 79.18 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/9.268, allocations: 9.688 kB / 3.699 GB, free: 79.18 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002151/9.269, allocations: 132.6 kB / 3.699 GB, free: 79.14 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003446/9.272, allocations: 415.9 kB / 3.699 GB, free: 79.07 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004397/9.276, allocations: 1.152 MB / 3.7 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/9.277, allocations: 66.25 kB / 3.701 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002658/9.277, allocations: 84.28 kB / 3.701 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003118/9.28, allocations: 0.8568 MB / 3.701 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/9.28, allocations: 2.25 kB / 3.701 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.611e-05/9.28, allocations: 31.67 kB / 3.701 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.454e-05/9.28, allocations: 27.97 kB / 3.702 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002442/9.283, allocations: 0.7761 MB / 3.702 GB, free: 78.71 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.006007/9.289, allocations: 3.593 MB / 3.706 GB, free: 77.13 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/9.29, allocations: 1.144 MB / 3.707 GB, free: 76.54 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004463/9.291, allocations: 330.6 kB / 3.707 GB, free: 76.53 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005957/9.292, allocations: 407 kB / 3.708 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/9.292, allocations: 41.66 kB / 3.708 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=59): time 3.136e-06/9.292, allocations: 0 / 3.708 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=59): time 0.002444/9.294, allocations: 0.7674 MB / 3.708 GB, free: 76.02 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/9.294, allocations: 63.66 kB / 3.708 GB, free: 75.96 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008845/9.295, allocations: 0.6749 MB / 3.709 GB, free: 75.82 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.162e-05/9.295, allocations: 40.8 kB / 3.709 GB, free: 75.79 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/9.295, allocations: 490.6 kB / 3.71 GB, free: 75.64 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/9.296, allocations: 211.2 kB / 3.71 GB, free: 75.53 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/9.296, allocations: 9.781 kB / 3.71 GB, free: 75.53 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.247e-05/9.296, allocations: 331.4 kB / 3.71 GB, free: 75.22 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/9.296, allocations: 230.8 kB / 3.71 GB, free: 75.22 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/9.297, allocations: 363.2 kB / 3.711 GB, free: 75.09 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/9.297, allocations: 287.4 kB / 3.711 GB, free: 75.09 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/9.297, allocations: 1.906 kB / 3.711 GB, free: 75.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001175/9.298, allocations: 0.6857 MB / 3.712 GB, free: 75 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/9.298, allocations: 372.1 kB / 3.712 GB, free: 74.63 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/9.298, allocations: 3.781 kB / 3.712 GB, free: 74.63 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/9.298, allocations: 7.094 kB / 3.712 GB, free: 74.63 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000687/9.299, allocations: 139.3 kB / 3.712 GB, free: 74.63 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/9.299, allocations: 3.156 kB / 3.712 GB, free: 74.63 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/9.3, allocations: 130.8 kB / 3.712 GB, free: 74.62 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.98e-05/9.3, allocations: 25.12 kB / 3.712 GB, free: 74.62 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/9.3, allocations: 6.781 kB / 3.712 GB, free: 74.62 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001006/9.301, allocations: 0.5514 MB / 3.713 GB, free: 74.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/9.301, allocations: 1.406 kB / 3.713 GB, free: 74.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/9.301, allocations: 3.172 kB / 3.713 GB, free: 74.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/9.302, allocations: 137.7 kB / 3.713 GB, free: 74.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/9.302, allocations: 7.75 kB / 3.713 GB, free: 74.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009283/9.303, allocations: 119.9 kB / 3.713 GB, free: 74.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/9.303, allocations: 21.47 kB / 3.713 GB, free: 74.59 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.0001995/9.303, allocations: 144.3 kB / 3.713 GB, free: 74.48 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/9.303, allocations: 100.6 kB / 3.713 GB, free: 74.43 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/9.305, allocations: 0.7139 MB / 3.714 GB, free: 74.36 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/9.305, allocations: 6.969 kB / 3.714 GB, free: 74.36 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/9.305, allocations: 0 / 3.714 GB, free: 74.36 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001057/9.306, allocations: 0.8763 MB / 3.715 GB, free: 73.91 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00409/9.31, allocations: 2.14 MB / 3.717 GB, free: 73.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/9.31, allocations: 3.031 kB / 3.717 GB, free: 73.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008712/9.311, allocations: 157.6 kB / 3.717 GB, free: 73.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.474e-05/9.311, allocations: 5.906 kB / 3.717 GB, free: 73.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.165e-05/9.311, allocations: 22.28 kB / 3.717 GB, free: 73.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.155e-05/9.311, allocations: 9.203 kB / 3.717 GB, free: 73.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/9.311, allocations: 3.844 kB / 3.717 GB, free: 73.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/9.313, allocations: 1.35 MB / 3.719 GB, free: 72.81 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000588/9.314, allocations: 256.7 kB / 3.719 GB, free: 72.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/9.314, allocations: 13.66 kB / 3.719 GB, free: 72.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008897/9.315, allocations: 98.62 kB / 3.719 GB, free: 72.66 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/9.315, allocations: 50.84 kB / 3.719 GB, free: 72.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.744e-05/9.315, allocations: 28.42 kB / 3.719 GB, free: 72.66 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009069/9.316, allocations: 0.535 MB / 3.719 GB, free: 72.54 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.9e-07/9.316, allocations: 0 / 3.719 GB, free: 72.54 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002696/9.319, allocations: 0.744 MB / 3.72 GB, free: 72.51 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 59 * 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.00661/9.325, allocations: 4.973 MB / 3.725 GB, free: 69.96 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001981/9.327, allocations: 0.9147 MB / 3.726 GB, free: 69.94 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/9.327, allocations: 1.031 kB / 3.726 GB, free: 69.94 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005837/9.328, allocations: 327.8 kB / 3.726 GB, free: 69.93 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/9.331, allocations: 0.5659 MB / 3.727 GB, free: 69.91 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004618/9.336, allocations: 2.012 MB / 3.729 GB, free: 69.37 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008863/9.337, allocations: 1.143 MB / 3.73 GB, free: 68.67 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001903/9.339, allocations: 390.3 kB / 3.73 GB, free: 68.66 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005897/9.339, allocations: 398.1 kB / 3.731 GB, free: 68.65 MB / 0.6667 GB Notification: Performance of SimCode: time 1.363e-06/9.339, allocations: 0 / 3.731 GB, free: 68.65 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1205/9.46, allocations: 69.98 MB / 3.799 GB, free: 66.57 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/9.46, allocations: 208.8 kB / 3.799 GB, free: 66.34 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.532/13.99, allocations: 0 / 3.799 GB, free: 66.34 MB / 0.6667 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)