Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 183 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5127/0.5127, allocations: 91.98 MB / 108.5 MB, free: 13.1 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 223.1 MB / 354.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 103.1 kB / 427.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003743, allocations: 19.98 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1902, allocations: 72.3 MB / 0.5689 GB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.31/1.5, allocations: 365.4 MB / 0.9258 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/1.5, allocations: 90.02 kB / 0.9259 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.8263/2.327, allocations: 172.1 MB / 1.094 GB, free: 173.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.246e-06/2.327, allocations: 0 / 1.094 GB, free: 173.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.732e-05/2.327, allocations: 15.11 kB / 1.094 GB, free: 173.4 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00183/2.329, allocations: 0.7618 MB / 1.095 GB, free: 172.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/2.329, allocations: 11.59 kB / 1.095 GB, free: 172.8 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.91e-05/2.329, allocations: 50.3 kB / 1.095 GB, free: 172.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/2.329, allocations: 49.62 kB / 1.095 GB, free: 172.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03371/2.363, allocations: 14.72 MB / 1.109 GB, free: 167.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/2.363, allocations: 12.2 kB / 1.109 GB, free: 167.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/2.363, allocations: 25.22 kB / 1.109 GB, free: 167.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/2.363, allocations: 176 kB / 1.109 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/2.363, allocations: 0 / 1.109 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/2.363, allocations: 7.25 kB / 1.109 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/2.363, allocations: 9.125 kB / 1.109 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003245/2.364, allocations: 134.2 kB / 1.11 GB, free: 167.5 MB / 0.6042 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.00133/2.365, allocations: 0.8446 MB / 1.11 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/2.365, allocations: 112.9 kB / 1.11 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002604/2.366, allocations: 335.1 kB / 1.111 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/2.366, allocations: 44.91 kB / 1.111 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 2.424e-06/2.366, allocations: 0 / 1.111 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0005818/2.366, allocations: 215.1 kB / 1.111 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/2.366, allocations: 59.08 kB / 1.111 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/2.367, allocations: 289.5 kB / 1.111 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/2.367, allocations: 29.83 kB / 1.111 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/2.367, allocations: 191.8 kB / 1.112 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/2.367, allocations: 46.98 kB / 1.112 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/2.367, allocations: 0 / 1.112 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.551e-05/2.367, allocations: 344.3 kB / 1.112 GB, free: 165.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/2.367, allocations: 45.27 kB / 1.112 GB, free: 165.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/2.367, allocations: 109.7 kB / 1.112 GB, free: 165.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/2.367, allocations: 49.59 kB / 1.112 GB, free: 165.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/2.367, allocations: 0 / 1.112 GB, free: 165.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003552/2.368, allocations: 175.8 kB / 1.112 GB, free: 165.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.401e-05/2.368, allocations: 191 kB / 1.112 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/2.368, allocations: 0 / 1.112 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/2.368, allocations: 7.281 kB / 1.112 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/2.368, allocations: 23.17 kB / 1.113 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/2.368, allocations: 3.969 kB / 1.113 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/2.368, allocations: 38.12 kB / 1.113 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/2.368, allocations: 3.906 kB / 1.113 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/2.368, allocations: 3.875 kB / 1.113 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002748/2.369, allocations: 112 kB / 1.113 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/2.369, allocations: 2.75 kB / 1.113 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-06/2.369, allocations: 3.656 kB / 1.113 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/2.369, allocations: 34.27 kB / 1.113 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/2.369, allocations: 0 / 1.113 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/2.369, allocations: 27.06 kB / 1.113 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/2.369, allocations: 3.938 kB / 1.113 GB, free: 164.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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.0001698/2.369, allocations: 232.7 kB / 1.113 GB, free: 164.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/2.369, allocations: 39.19 kB / 1.113 GB, free: 164.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004399/2.37, allocations: 225.2 kB / 1.113 GB, free: 164.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/2.37, allocations: 3.812 kB / 1.113 GB, free: 164.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/2.37, allocations: 3.438 kB / 1.113 GB, free: 164.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/2.37, allocations: 0 / 1.113 GB, free: 164.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008016/2.371, allocations: 0.6111 MB / 1.114 GB, free: 164 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/2.371, allocations: 6.094 kB / 1.114 GB, free: 164 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/2.371, allocations: 31.45 kB / 1.114 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/2.371, allocations: 3.875 kB / 1.114 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/2.371, allocations: 0 / 1.114 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/2.371, allocations: 7.188 kB / 1.114 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/2.371, allocations: 3.953 kB / 1.114 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/2.371, allocations: 355.6 kB / 1.114 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/2.371, allocations: 126.1 kB / 1.114 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/2.371, allocations: 7.906 kB / 1.114 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/2.372, allocations: 25.78 kB / 1.114 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/2.372, allocations: 17.86 kB / 1.114 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/2.372, allocations: 3.938 kB / 1.114 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001871/2.372, allocations: 230.2 kB / 1.115 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.21e-07/2.372, allocations: 0 / 1.115 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006438/2.372, allocations: 166.7 kB / 1.115 GB, free: 163.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001182/2.374, allocations: 1.264 MB / 1.116 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004643/2.374, allocations: 211.6 kB / 1.116 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/2.374, allocations: 0 / 1.116 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/2.374, allocations: 77.3 kB / 1.116 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006908/2.375, allocations: 142.6 kB / 1.116 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/2.378, allocations: 1.851 MB / 1.118 GB, free: 160.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/2.378, allocations: 0.8021 MB / 1.119 GB, free: 160 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002792/2.378, allocations: 65.36 kB / 1.119 GB, free: 160 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/2.378, allocations: 116.9 kB / 1.119 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/2.378, allocations: 0 / 1.119 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/2.405, allocations: 10.08 MB / 1.129 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003127/2.405, allocations: 225.2 kB / 1.129 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/4.964, allocations: 4.062 kB / 1.129 GB, free: 154.1 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)