Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",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.0009163/0.0009162, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006189/0.006189, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.297/1.297, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.9653/0.9653, allocations: 143.2 MB / 434.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.0003219, allocations: 12 kB / 0.5165 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1713, allocations: 83.41 MB / 0.598 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.4718/0.6432, allocations: 157.2 MB / 0.7515 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002804/0.646, allocations: 1.701 MB / 0.7531 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.6463, allocations: 8.344 kB / 0.7532 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005264/0.6468, allocations: 132.5 kB / 0.7533 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.648, allocations: 498.8 kB / 0.7538 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009917/0.649, allocations: 373.7 kB / 0.7541 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008614/0.6498, allocations: 0.7604 MB / 0.7549 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.6501, allocations: 154.7 kB / 0.755 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005966/0.6507, allocations: 290.8 kB / 0.7553 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.651, allocations: 156.4 kB / 0.7554 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.651, allocations: 7.062 kB / 0.7554 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.6521, allocations: 0.7752 MB / 0.7562 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.6522, allocations: 75.66 kB / 0.7563 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.6523, allocations: 133.1 kB / 0.7564 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006258/0.6529, allocations: 0.5257 MB / 0.7569 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6529, allocations: 4 kB / 0.7569 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.653, allocations: 0 / 0.7569 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.653, allocations: 0 / 0.7569 GB, free: 9.098 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007359/0.6537, allocations: 0.5295 MB / 0.7574 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.6538, allocations: 8.031 kB / 0.7574 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.6538, allocations: 46.55 kB / 0.7575 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.6541, allocations: 63.59 kB / 0.7575 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.6545, allocations: 297.2 kB / 0.7578 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.6545, allocations: 12 kB / 0.7578 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.6546, allocations: 12 kB / 0.7578 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.6549, allocations: 196.1 kB / 0.758 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.655, allocations: 4 kB / 0.758 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.655, allocations: 8 kB / 0.758 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.655, allocations: 4 kB / 0.7581 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.6553, allocations: 136.3 kB / 0.7582 GB, free: 7.684 MB / 0.5762 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.0009551/0.6563, allocations: 0.7887 MB / 0.759 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.6565, allocations: 90.47 kB / 0.759 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.6567, allocations: 80.88 kB / 0.7591 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/0.657, allocations: 194.2 kB / 0.7593 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.657, allocations: 31.12 kB / 0.7593 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.6571, allocations: 0 / 0.7593 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006352/0.6577, allocations: 246.3 kB / 0.7596 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.6577, allocations: 51.41 kB / 0.7596 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.658, allocations: 267 kB / 0.7599 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.658, allocations: 33.7 kB / 0.7599 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/0.6581, allocations: 140.7 kB / 0.76 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.6581, allocations: 39.39 kB / 0.7601 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.6582, allocations: 13.72 kB / 0.7601 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6583, allocations: 334.8 kB / 0.7604 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.6584, allocations: 47.91 kB / 0.7605 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.6586, allocations: 97.77 kB / 0.7605 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.6589, allocations: 135.3 kB / 0.7607 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6589, allocations: 0 / 0.7607 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003362/0.6592, allocations: 170 kB / 0.7608 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.043e-05/0.6593, allocations: 111.5 kB / 0.7609 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6593, allocations: 4 kB / 0.7609 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.6593, allocations: 0 / 0.7609 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.6594, allocations: 32.42 kB / 0.761 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.6594, allocations: 0 / 0.761 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.6596, allocations: 23.83 kB / 0.761 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.6597, allocations: 15.98 kB / 0.761 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/0.6597, allocations: 7.938 kB / 0.761 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002778/0.66, allocations: 120.5 kB / 0.7611 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-06/0.66, allocations: 0 / 0.7611 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-06/0.66, allocations: 0 / 0.7611 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.6601, allocations: 27.92 kB / 0.7612 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.6601, allocations: 4.688 kB / 0.7612 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.6603, allocations: 31.8 kB / 0.7612 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.6603, allocations: 7.984 kB / 0.7612 GB, free: 4.363 MB / 0.5762 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000135/0.6604, allocations: 217.1 kB / 0.7614 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.6605, allocations: 19.72 kB / 0.7614 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.6608, allocations: 171.3 kB / 0.7616 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.6609, allocations: 0 / 0.7616 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.6609, allocations: 11.31 kB / 0.7616 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.6609, allocations: 0 / 0.7616 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007994/0.6617, allocations: 0.5976 MB / 0.7622 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6617, allocations: 4 kB / 0.7622 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.6618, allocations: 32.19 kB / 0.7622 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6618, allocations: 0 / 0.7622 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.6618, allocations: 8 kB / 0.7622 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.6618, allocations: 4 kB / 0.7622 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6619, allocations: 3.938 kB / 0.7622 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.6622, allocations: 305.2 kB / 0.7625 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.898e-05/0.6623, allocations: 112.9 kB / 0.7626 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.6624, allocations: 11.94 kB / 0.7626 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.6625, allocations: 15.98 kB / 0.7627 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.6626, allocations: 11.92 kB / 0.7627 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.6626, allocations: 12 kB / 0.7627 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001656/0.6628, allocations: 197.9 kB / 0.7629 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6628, allocations: 0 / 0.7629 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004291/0.6632, allocations: 95.84 kB / 0.763 GB, free: 2.41 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0008696/0.6641, allocations: 0.9052 MB / 0.7639 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000445/0.6646, allocations: 179.8 kB / 0.764 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6646, allocations: 3.938 kB / 0.764 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.6647, allocations: 67.83 kB / 0.7641 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008629/0.6656, allocations: 140.5 kB / 0.7642 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.6683, allocations: 2.439 MB / 0.7666 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.6686, allocations: 0.7599 MB / 0.7673 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002187/0.6688, allocations: 71.81 kB / 0.7674 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.6689, allocations: 67.42 kB / 0.7675 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.6689, allocations: 0 / 0.7675 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.6858, allocations: 6.538 MB / 0.7739 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/0.6861, allocations: 270.8 kB / 0.7741 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.445, allocations: 3.938 kB / 0.7741 GB, free: 7.051 MB / 0.5919 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)