Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.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.HydraulicDiameter,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",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.0009624/0.0009623, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001007/0.001007, allocations: 177.3 kB / 15.95 MB, free: 216 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.418/1.418, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.087/1.087, allocations: 143.3 MB / 434.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004997/0.0004998, allocations: 12 kB / 0.5159 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.226, allocations: 83.42 MB / 0.5974 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.4116/0.6377, allocations: 12.61 MB / 0.6097 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004448/0.6422, allocations: 3.337 MB / 0.6129 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000381/0.6426, allocations: 15.72 kB / 0.6129 GB, free: 35.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.6432, allocations: 181.6 kB / 0.6131 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.6449, allocations: 0.6619 MB / 0.6138 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.6463, allocations: 0.5422 MB / 0.6143 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001068/0.6473, allocations: 0.7265 MB / 0.615 GB, free: 35 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003528/0.6477, allocations: 229.6 kB / 0.6152 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005103/0.6482, allocations: 330.9 kB / 0.6155 GB, free: 34.92 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.6485, allocations: 180.6 kB / 0.6157 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.6485, allocations: 11.78 kB / 0.6157 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008382/0.6493, allocations: 0.5044 MB / 0.6162 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.344e-05/0.6494, allocations: 63.8 kB / 0.6163 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.799e-05/0.6495, allocations: 89.92 kB / 0.6164 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005187/0.65, allocations: 465.5 kB / 0.6168 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.65, allocations: 0 / 0.6168 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.65, allocations: 0 / 0.6168 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.6501, allocations: 0 / 0.6168 GB, free: 34.75 MB / 0.4981 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.0009066/0.651, allocations: 0.6787 MB / 0.6175 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.651, allocations: 8.688 kB / 0.6175 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/0.6511, allocations: 48.22 kB / 0.6175 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.677e-05/0.6512, allocations: 47.53 kB / 0.6176 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000737/0.6519, allocations: 415.2 kB / 0.618 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.6519, allocations: 18.7 kB / 0.618 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.652, allocations: 19.58 kB / 0.618 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.6524, allocations: 184.7 kB / 0.6182 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.6524, allocations: 3.953 kB / 0.6182 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.6524, allocations: 6.812 kB / 0.6182 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.6524, allocations: 5.719 kB / 0.6182 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.6527, allocations: 152 kB / 0.6183 GB, free: 33.8 MB / 0.4981 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.001081/0.6538, allocations: 0.885 MB / 0.6192 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.6541, allocations: 134 kB / 0.6193 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002654/0.6544, allocations: 334 kB / 0.6196 GB, free: 32.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.6545, allocations: 34.56 kB / 0.6197 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.163e-06/0.6545, allocations: 0 / 0.6197 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005849/0.6551, allocations: 241.6 kB / 0.6199 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.6551, allocations: 51.41 kB / 0.62 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004053/0.6555, allocations: 369.2 kB / 0.6203 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.6555, allocations: 25.7 kB / 0.6203 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.6557, allocations: 196.1 kB / 0.6205 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.6557, allocations: 47.77 kB / 0.6206 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-06/0.6557, allocations: 4 kB / 0.6206 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.6559, allocations: 341.6 kB / 0.6209 GB, free: 31.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.656, allocations: 51.5 kB / 0.6209 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.6562, allocations: 91.02 kB / 0.621 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.6563, allocations: 59.31 kB / 0.6211 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6563, allocations: 0 / 0.6211 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003529/0.6567, allocations: 195.2 kB / 0.6213 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.679e-05/0.6568, allocations: 183.2 kB / 0.6214 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.6568, allocations: 0 / 0.6214 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.6568, allocations: 4 kB / 0.6215 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.6569, allocations: 27.39 kB / 0.6215 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.657, allocations: 3.938 kB / 0.6215 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.6572, allocations: 28.97 kB / 0.6215 GB, free: 31.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.6572, allocations: 9.984 kB / 0.6215 GB, free: 31.37 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.6573, allocations: 7.031 kB / 0.6215 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000305/0.6576, allocations: 121.4 kB / 0.6216 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6576, allocations: 3.594 kB / 0.6216 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-06/0.6576, allocations: 0 / 0.6216 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.6577, allocations: 27.8 kB / 0.6217 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.6577, allocations: 2.969 kB / 0.6217 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.6579, allocations: 38.3 kB / 0.6217 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.658, allocations: 2.875 kB / 0.6217 GB, free: 31.32 MB / 0.4981 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.0001848/0.6582, allocations: 226.6 kB / 0.6219 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.6582, allocations: 38.05 kB / 0.622 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005345/0.6588, allocations: 234 kB / 0.6222 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.6588, allocations: 3.656 kB / 0.6222 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6588, allocations: 0 / 0.6222 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6588, allocations: 4 kB / 0.6222 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009106/0.6597, allocations: 0.6546 MB / 0.6228 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.6597, allocations: 4.969 kB / 0.6228 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.6599, allocations: 33.31 kB / 0.6229 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.6599, allocations: 2.906 kB / 0.6229 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.6599, allocations: 4 kB / 0.6229 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.6599, allocations: 6.844 kB / 0.6229 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.6599, allocations: 0 / 0.6229 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004874/0.6604, allocations: 369.8 kB / 0.6232 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.6606, allocations: 132.7 kB / 0.6234 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.6606, allocations: 4 kB / 0.6234 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.6609, allocations: 26.3 kB / 0.6234 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.6609, allocations: 20.92 kB / 0.6234 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.661, allocations: 9.594 kB / 0.6234 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000293/0.6613, allocations: 262.8 kB / 0.6237 GB, free: 29.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6613, allocations: 0 / 0.6237 GB, free: 29.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006863/0.662, allocations: 197.2 kB / 0.6239 GB, free: 29.92 MB / 0.4981 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.001281/0.6632, allocations: 1.263 MB / 0.6251 GB, free: 28.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000512/0.6638, allocations: 205.4 kB / 0.6253 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6638, allocations: 0 / 0.6253 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.664, allocations: 89.98 kB / 0.6254 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007273/0.6647, allocations: 135.5 kB / 0.6255 GB, free: 28.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.6674, allocations: 1.985 MB / 0.6274 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.6678, allocations: 0.8019 MB / 0.6282 GB, free: 26.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002709/0.668, allocations: 74.16 kB / 0.6283 GB, free: 26.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.6682, allocations: 116.4 kB / 0.6284 GB, free: 26.86 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.6682, allocations: 0 / 0.6284 GB, free: 26.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.6942, allocations: 10.07 MB / 0.6382 GB, free: 26.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/0.6944, allocations: 245.2 kB / 0.6385 GB, free: 25.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/2.743, allocations: 0 / 0.6385 GB, free: 25.83 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) Environment - environmentSimulation: