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.002124/0.002124, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001422/0.001422, allocations: 168.7 kB / 15.95 MB, free: 200 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.631/1.631, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.265/1.265, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003674, allocations: 12 kB / 0.5161 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2075, allocations: 83.42 MB / 0.5975 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.6104/0.8179, allocations: 13.75 MB / 0.611 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007533/0.8256, allocations: 3.632 MB / 0.6145 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006809/0.8263, allocations: 15.41 kB / 0.6145 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006941/0.827, allocations: 136.3 kB / 0.6147 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00213/0.8292, allocations: 0.5591 MB / 0.6152 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.8308, allocations: 401.1 kB / 0.6156 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002072/0.8329, allocations: 1.19 MB / 0.6167 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005022/0.8334, allocations: 226.2 kB / 0.617 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008767/0.8343, allocations: 354.5 kB / 0.6173 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004083/0.8347, allocations: 249 kB / 0.6175 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.7e-05/0.8348, allocations: 11.56 kB / 0.6176 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.8366, allocations: 0.6346 MB / 0.6182 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.8367, allocations: 62.44 kB / 0.6182 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.8369, allocations: 90.05 kB / 0.6183 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009625/0.8378, allocations: 0.4989 MB / 0.6188 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.8379, allocations: 7.938 kB / 0.6188 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.877e-06/0.8379, allocations: 0 / 0.6188 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.8379, allocations: 0 / 0.6188 GB, free: 34.1 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.00136/0.8393, allocations: 0.6772 MB / 0.6195 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.8393, allocations: 11.12 kB / 0.6195 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.58e-05/0.8394, allocations: 52.86 kB / 0.6195 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.559e-05/0.8395, allocations: 47.31 kB / 0.6196 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.8407, allocations: 489.2 kB / 0.62 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.8407, allocations: 18.45 kB / 0.6201 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.372e-05/0.8408, allocations: 18.22 kB / 0.6201 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/0.8413, allocations: 185.8 kB / 0.6203 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.8413, allocations: 0 / 0.6203 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.8413, allocations: 11.03 kB / 0.6203 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.8414, allocations: 2.75 kB / 0.6203 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000334/0.8417, allocations: 149.2 kB / 0.6204 GB, free: 33.09 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.001319/0.843, allocations: 0.8667 MB / 0.6213 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.8433, allocations: 129.3 kB / 0.6214 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.8435, allocations: 71.5 kB / 0.6215 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004575/0.844, allocations: 340.8 kB / 0.6218 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.844, allocations: 34.41 kB / 0.6218 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.8441, allocations: 4 kB / 0.6218 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006385/0.8447, allocations: 228.2 kB / 0.622 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.8448, allocations: 55.34 kB / 0.6221 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.8451, allocations: 347.6 kB / 0.6224 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.8452, allocations: 32.67 kB / 0.6224 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.8453, allocations: 194.9 kB / 0.6226 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.8454, allocations: 36.56 kB / 0.6227 GB, free: 31.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/0.8454, allocations: 0 / 0.6227 GB, free: 31.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.8455, allocations: 349.7 kB / 0.623 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.8457, allocations: 50.81 kB / 0.623 GB, free: 31.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.8459, allocations: 84.17 kB / 0.6231 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.846, allocations: 62.41 kB / 0.6232 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.846, allocations: 0 / 0.6232 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003575/0.8464, allocations: 187.4 kB / 0.6234 GB, free: 30.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-05/0.8465, allocations: 106.7 kB / 0.6235 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.8465, allocations: 0 / 0.6235 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.8465, allocations: 0 / 0.6235 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.8467, allocations: 25.12 kB / 0.6235 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.8467, allocations: 2.812 kB / 0.6235 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.8469, allocations: 38.89 kB / 0.6235 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.847, allocations: 9.172 kB / 0.6235 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.847, allocations: 10.8 kB / 0.6236 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003063/0.8473, allocations: 120.3 kB / 0.6237 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/0.8473, allocations: 0 / 0.6237 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.789e-06/0.8473, allocations: 7.031 kB / 0.6237 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.8475, allocations: 31.98 kB / 0.6237 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-06/0.8475, allocations: 0 / 0.6237 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.8477, allocations: 25.45 kB / 0.6237 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.8477, allocations: 9.781 kB / 0.6237 GB, free: 30.68 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.0001884/0.8479, allocations: 223.2 kB / 0.6239 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.8479, allocations: 36.73 kB / 0.624 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000567/0.8485, allocations: 238.7 kB / 0.6242 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.8485, allocations: 3 kB / 0.6242 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.8486, allocations: 7.406 kB / 0.6242 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.8486, allocations: 0 / 0.6242 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009212/0.8495, allocations: 0.651 MB / 0.6249 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.8495, allocations: 3.25 kB / 0.6249 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.8496, allocations: 30.02 kB / 0.6249 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.8496, allocations: 0 / 0.6249 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.8497, allocations: 6.969 kB / 0.6249 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.8497, allocations: 2.781 kB / 0.6249 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8497, allocations: 0 / 0.6249 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.8501, allocations: 327.3 kB / 0.6252 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.8503, allocations: 136.9 kB / 0.6253 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.8503, allocations: 2.781 kB / 0.6253 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.8505, allocations: 26.66 kB / 0.6254 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.8506, allocations: 12.47 kB / 0.6254 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.8506, allocations: 4.047 kB / 0.6254 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002687/0.8509, allocations: 252.2 kB / 0.6256 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8509, allocations: 0 / 0.6256 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007527/0.8517, allocations: 189.6 kB / 0.6258 GB, free: 29.35 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.001308/0.853, allocations: 1.007 MB / 0.6268 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005806/0.8536, allocations: 201.6 kB / 0.627 GB, free: 28.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8536, allocations: 0 / 0.627 GB, free: 28.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.8538, allocations: 79.8 kB / 0.6271 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008812/0.8547, allocations: 154 kB / 0.6272 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.8576, allocations: 1.777 MB / 0.6289 GB, free: 27.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.858, allocations: 0.7926 MB / 0.6297 GB, free: 26.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003037/0.8583, allocations: 72.7 kB / 0.6298 GB, free: 26.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.8584, allocations: 117.7 kB / 0.6299 GB, free: 26.7 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/0.8584, allocations: 0 / 0.6299 GB, free: 26.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.8893, allocations: 9.629 MB / 0.6393 GB, free: 25.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003004/0.8897, allocations: 252 kB / 0.6395 GB, free: 25.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/3.213, allocations: 3.938 kB / 0.6395 GB, free: 25.68 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: