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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.0007397/0.0007398, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004609/0.004609, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9509/0.9509, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.00029, allocations: 8 kB / 0.5165 GB, free: 11.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1525, allocations: 83.42 MB / 0.598 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.2863/0.4389, allocations: 14.46 MB / 0.6121 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004169/0.4431, allocations: 3.873 MB / 0.6159 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002816/0.4434, allocations: 19.66 kB / 0.6159 GB, free: 33.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.4438, allocations: 149.8 kB / 0.616 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.4449, allocations: 0.6207 MB / 0.6166 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008182/0.4457, allocations: 421.8 kB / 0.617 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.4469, allocations: 1.376 MB / 0.6184 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.4471, allocations: 240.9 kB / 0.6186 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000435/0.4476, allocations: 360.6 kB / 0.619 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.4478, allocations: 268.6 kB / 0.6192 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.4479, allocations: 11.72 kB / 0.6192 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008222/0.4487, allocations: 0.6934 MB / 0.6199 GB, free: 32.87 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.833e-05/0.4488, allocations: 68.91 kB / 0.62 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.4489, allocations: 203.8 kB / 0.6202 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006578/0.4496, allocations: 0.7067 MB / 0.6209 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4496, allocations: 3.375 kB / 0.6209 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4496, allocations: 3.938 kB / 0.6209 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.4496, allocations: 0 / 0.6209 GB, free: 32.59 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.0008019/0.4504, allocations: 0.6825 MB / 0.6215 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.4505, allocations: 8.844 kB / 0.6215 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.4505, allocations: 51.62 kB / 0.6216 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.4506, allocations: 50.75 kB / 0.6216 GB, free: 31.99 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000646/0.4512, allocations: 0.4916 MB / 0.6221 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.4513, allocations: 13.23 kB / 0.6221 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.4513, allocations: 20.72 kB / 0.6221 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.4516, allocations: 182.3 kB / 0.6223 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4516, allocations: 3.938 kB / 0.6223 GB, free: 31.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.4516, allocations: 6.156 kB / 0.6223 GB, free: 31.67 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4516, allocations: 10.84 kB / 0.6223 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.4519, allocations: 150 kB / 0.6225 GB, free: 31.66 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.0008333/0.4528, allocations: 0.8621 MB / 0.6233 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.453, allocations: 126.2 kB / 0.6234 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.4532, allocations: 79.67 kB / 0.6235 GB, free: 31.06 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/0.4534, allocations: 333.5 kB / 0.6238 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.4534, allocations: 37.59 kB / 0.6239 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.4534, allocations: 0 / 0.6239 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0004744/0.4539, allocations: 241.3 kB / 0.6241 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.4539, allocations: 58.77 kB / 0.6242 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.4542, allocations: 346.6 kB / 0.6245 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.4542, allocations: 25.7 kB / 0.6245 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.571e-05/0.4543, allocations: 197.2 kB / 0.6247 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.4543, allocations: 36.38 kB / 0.6247 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.4544, allocations: 15.81 kB / 0.6248 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.255e-05/0.4544, allocations: 348.1 kB / 0.6251 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.4546, allocations: 49.62 kB / 0.6251 GB, free: 29.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.4547, allocations: 94.02 kB / 0.6252 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.4549, allocations: 138.6 kB / 0.6254 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4549, allocations: 0 / 0.6254 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002983/0.4552, allocations: 188.8 kB / 0.6255 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/0.4553, allocations: 103.7 kB / 0.6256 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4553, allocations: 0 / 0.6256 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.4553, allocations: 0 / 0.6256 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.4554, allocations: 30.36 kB / 0.6257 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.4555, allocations: 0 / 0.6257 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.4557, allocations: 33.69 kB / 0.6257 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.4557, allocations: 12.81 kB / 0.6257 GB, free: 29.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/0.4557, allocations: 6.812 kB / 0.6257 GB, free: 29.67 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002567/0.456, allocations: 122.5 kB / 0.6258 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-06/0.456, allocations: 0 / 0.6258 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-06/0.456, allocations: 2.906 kB / 0.6258 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-05/0.4561, allocations: 29.36 kB / 0.6259 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.4561, allocations: 3.938 kB / 0.6259 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.4563, allocations: 33.19 kB / 0.6259 GB, free: 29.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.4563, allocations: 9.188 kB / 0.6259 GB, free: 29.65 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.4564, allocations: 227.4 kB / 0.6261 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.4565, allocations: 35.75 kB / 0.6262 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004259/0.4569, allocations: 237.9 kB / 0.6264 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.4569, allocations: 7.438 kB / 0.6264 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4569, allocations: 0 / 0.6264 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.4569, allocations: 0 / 0.6264 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006948/0.4576, allocations: 0.6462 MB / 0.627 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4576, allocations: 0 / 0.627 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.477e-05/0.4577, allocations: 32.38 kB / 0.6271 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.4577, allocations: 2.906 kB / 0.6271 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.4578, allocations: 8.25 kB / 0.6271 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4578, allocations: 2.312 kB / 0.6271 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4578, allocations: 3.938 kB / 0.6271 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.4581, allocations: 326.3 kB / 0.6274 GB, free: 28.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.138e-05/0.4582, allocations: 130.7 kB / 0.6275 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.4582, allocations: 4.75 kB / 0.6275 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.4585, allocations: 30.66 kB / 0.6275 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.4585, allocations: 12.52 kB / 0.6275 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.4585, allocations: 6.094 kB / 0.6276 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001719/0.4587, allocations: 252.1 kB / 0.6278 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4587, allocations: 0 / 0.6278 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004946/0.4592, allocations: 188.1 kB / 0.628 GB, free: 28.55 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008131/0.46, allocations: 1.015 MB / 0.629 GB, free: 27.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004268/0.4605, allocations: 207.2 kB / 0.6292 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4605, allocations: 0 / 0.6292 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.4606, allocations: 81.56 kB / 0.6292 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007877/0.4614, allocations: 148.8 kB / 0.6294 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.4639, allocations: 2.888 MB / 0.6322 GB, free: 25.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.4641, allocations: 0.7946 MB / 0.633 GB, free: 25.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002194/0.4644, allocations: 77.41 kB / 0.6331 GB, free: 25.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.4645, allocations: 109.6 kB / 0.6332 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.4645, allocations: 0 / 0.6332 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.4831, allocations: 9.543 MB / 0.6425 GB, free: 24.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.4833, allocations: 268.5 kB / 0.6427 GB, free: 23.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/2.439, allocations: 0 / 0.6427 GB, free: 23.86 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/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)