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.004836/0.004835, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001128/0.001128, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.925/0.925, allocations: 143 MB / 433.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.89 kB / 0.595 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3793, allocations: 82.03 MB / 0.6751 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.1692/0.5486, allocations: 161.6 MB / 0.8329 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002974/0.5516, allocations: 1.706 MB / 0.8346 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003809/0.552, allocations: 11.94 kB / 0.8346 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005884/0.5526, allocations: 166.9 kB / 0.8347 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.5539, allocations: 0.529 MB / 0.8353 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.555, allocations: 425.4 kB / 0.8357 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006627/0.5557, allocations: 0.5732 MB / 0.8362 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.5559, allocations: 180.5 kB / 0.8364 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005208/0.5565, allocations: 322.8 kB / 0.8367 GB, free: 368 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.5567, allocations: 155.2 kB / 0.8369 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.5567, allocations: 12 kB / 0.8369 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009676/0.5577, allocations: 0.6976 MB / 0.8376 GB, free: 15.5 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 9.181e-05/0.5578, allocations: 75.73 kB / 0.8376 GB, free: 15.42 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.5579, allocations: 123.3 kB / 0.8377 GB, free: 15.3 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0006746/0.5586, allocations: 0.5095 MB / 0.8382 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5586, allocations: 0 / 0.8382 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5586, allocations: 0 / 0.8382 GB, free: 14.79 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.5586, allocations: 0 / 0.8382 GB, free: 14.79 MB / 0.67 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.00077/0.5594, allocations: 0.5988 MB / 0.8388 GB, free: 14.14 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.5594, allocations: 8.031 kB / 0.8388 GB, free: 14.14 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.5595, allocations: 46.55 kB / 0.8389 GB, free: 14.08 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003213/0.5598, allocations: 59.78 kB / 0.8389 GB, free: 14.02 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.5603, allocations: 305.5 kB / 0.8392 GB, free: 13.68 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.5603, allocations: 12 kB / 0.8392 GB, free: 13.67 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.5603, allocations: 12 kB / 0.8392 GB, free: 13.66 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.5607, allocations: 200.1 kB / 0.8394 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.5607, allocations: 0 / 0.8394 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.5607, allocations: 4 kB / 0.8394 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5607, allocations: 4 kB / 0.8394 GB, free: 13.44 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.561, allocations: 131.8 kB / 0.8396 GB, free: 13.31 MB / 0.67 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.0009651/0.562, allocations: 0.7855 MB / 0.8403 GB, free: 12.46 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.5623, allocations: 86.47 kB / 0.8404 GB, free: 12.36 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.5624, allocations: 80.86 kB / 0.8405 GB, free: 12.28 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/0.5627, allocations: 186.2 kB / 0.8407 GB, free: 12.06 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.5627, allocations: 34.56 kB / 0.8407 GB, free: 12.02 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.5627, allocations: 0 / 0.8407 GB, free: 12.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.0006254/0.5634, allocations: 225.3 kB / 0.8409 GB, free: 11.79 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.5634, allocations: 51.41 kB / 0.841 GB, free: 11.73 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.5636, allocations: 267 kB / 0.8412 GB, free: 11.47 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.5637, allocations: 33.7 kB / 0.8413 GB, free: 11.43 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 8.476e-05/0.5638, allocations: 148 kB / 0.8414 GB, free: 11.28 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.5638, allocations: 35.69 kB / 0.8414 GB, free: 11.25 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.5638, allocations: 29.72 kB / 0.8415 GB, free: 11.21 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.564, allocations: 334.8 kB / 0.8418 GB, free: 10.88 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.5641, allocations: 40.83 kB / 0.8418 GB, free: 10.83 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.5643, allocations: 105.4 kB / 0.8419 GB, free: 10.71 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.5645, allocations: 119.3 kB / 0.842 GB, free: 10.58 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.5645, allocations: 4.062 kB / 0.842 GB, free: 10.58 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003219/0.5649, allocations: 157.4 kB / 0.8422 GB, free: 10.42 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.5649, allocations: 8.031 kB / 0.8422 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5649, allocations: 11.88 kB / 0.8422 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.5649, allocations: 0 / 0.8422 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.565, allocations: 19.98 kB / 0.8422 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.565, allocations: 7.938 kB / 0.8422 GB, free: 10.37 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.5652, allocations: 23.88 kB / 0.8423 GB, free: 10.35 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.5653, allocations: 7.984 kB / 0.8423 GB, free: 10.34 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001786/0.5654, allocations: 144.1 kB / 0.8424 GB, free: 10.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001421/0.5656, allocations: 93.11 kB / 0.8425 GB, free: 10.09 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000225/0.5658, allocations: 119.4 kB / 0.8426 GB, free: 9.957 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.5658, allocations: 0 / 0.8426 GB, free: 9.957 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002931/0.5661, allocations: 157.4 kB / 0.8428 GB, free: 9.797 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.5661, allocations: 14.17 kB / 0.8428 GB, free: 9.785 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-06/0.5662, allocations: 0 / 0.8428 GB, free: 9.785 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.085e-06/0.5662, allocations: 3.938 kB / 0.8428 GB, free: 9.781 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.5663, allocations: 23.92 kB / 0.8428 GB, free: 9.758 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.5663, allocations: 4 kB / 0.8428 GB, free: 9.754 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.5664, allocations: 16.02 kB / 0.8428 GB, free: 9.738 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.5665, allocations: 8 kB / 0.8428 GB, free: 9.73 MB / 0.67 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 8.82e-05/0.5666, allocations: 184.3 kB / 0.843 GB, free: 9.543 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.5666, allocations: 23.86 kB / 0.843 GB, free: 9.52 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.5669, allocations: 159.6 kB / 0.8432 GB, free: 9.352 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.567, allocations: 0 / 0.8432 GB, free: 9.352 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.567, allocations: 96 / 0.8432 GB, free: 9.352 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.567, allocations: 3.938 kB / 0.8432 GB, free: 9.348 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007952/0.5678, allocations: 0.6055 MB / 0.8438 GB, free: 8.664 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5678, allocations: 4 kB / 0.8438 GB, free: 8.66 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.5679, allocations: 19.98 kB / 0.8438 GB, free: 8.641 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.5679, allocations: 4 kB / 0.8438 GB, free: 8.637 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.5679, allocations: 8 kB / 0.8438 GB, free: 8.629 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5679, allocations: 0 / 0.8438 GB, free: 8.629 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.568, allocations: 7.938 kB / 0.8438 GB, free: 8.621 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.5683, allocations: 293.3 kB / 0.8441 GB, free: 8.297 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.5684, allocations: 113 kB / 0.8442 GB, free: 8.168 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.5684, allocations: 8 kB / 0.8442 GB, free: 8.16 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.5686, allocations: 20.22 kB / 0.8442 GB, free: 8.141 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.5687, allocations: 15.88 kB / 0.8442 GB, free: 8.125 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.5687, allocations: 11.98 kB / 0.8443 GB, free: 8.113 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001658/0.5689, allocations: 197.9 kB / 0.8444 GB, free: 7.918 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5689, allocations: 0 / 0.8444 GB, free: 7.918 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004226/0.5693, allocations: 91.83 kB / 0.8445 GB, free: 7.828 MB / 0.67 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.000817/0.5701, allocations: 0.9002 MB / 0.8454 GB, free: 6.887 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004271/0.5706, allocations: 179.7 kB / 0.8456 GB, free: 6.711 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5706, allocations: 0 / 0.8456 GB, free: 6.711 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.5707, allocations: 55.91 kB / 0.8456 GB, free: 6.656 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.5714, allocations: 122.4 kB / 0.8457 GB, free: 6.539 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.5739, allocations: 2.35 MB / 0.848 GB, free: 4.055 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.5742, allocations: 0.7635 MB / 0.8488 GB, free: 3.262 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001717/0.5743, allocations: 61.89 kB / 0.8488 GB, free: 3.199 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.626e-05/0.5744, allocations: 67.42 kB / 0.8489 GB, free: 3.133 MB / 0.67 GB Notification: Performance of SimCode: time 3.61e-07/0.5745, allocations: 0 / 0.8489 GB, free: 3.133 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.5962, allocations: 6.94 MB / 0.8557 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.21/7.807, allocations: 3.984 kB / 0.8557 GB, free: 12.38 MB / 0.6856 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)