Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002662/0.002662, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.675/2.675, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00303/0.00303, allocations: 67.89 kB / 1.107 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9196/0.9226, allocations: 168.7 MB / 1.272 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01458/0.9372, allocations: 15.29 MB / 1.286 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006328/0.9435, allocations: 3.92 MB / 1.29 GB, free: 10.05 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006789/0.9442, allocations: 21.53 kB / 1.29 GB, free: 10.05 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007708/0.945, allocations: 201 kB / 1.29 GB, free: 9.922 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002312/0.9473, allocations: 0.7065 MB / 1.291 GB, free: 9.527 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.9488, allocations: 488.6 kB / 1.292 GB, free: 9.301 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001767/0.9506, allocations: 1.083 MB / 1.293 GB, free: 8.824 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004346/0.951, allocations: 233.3 kB / 1.293 GB, free: 8.719 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007815/0.9518, allocations: 417.9 kB / 1.293 GB, free: 8.543 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003906/0.9522, allocations: 283.2 kB / 1.294 GB, free: 8.418 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/0.9522, allocations: 20.91 kB / 1.294 GB, free: 8.418 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.9537, allocations: 0.7188 MB / 1.294 GB, free: 8.188 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.9538, allocations: 77.2 kB / 1.294 GB, free: 8.141 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.954, allocations: 190 kB / 1.295 GB, free: 8.031 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.9551, allocations: 0.7167 MB / 1.295 GB, free: 7.773 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.9551, allocations: 1.062 kB / 1.295 GB, free: 7.773 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9551, allocations: 0 / 1.295 GB, free: 7.773 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.964e-05/0.9551, allocations: 4 kB / 1.295 GB, free: 7.77 MB / 1.014 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.001176/0.9563, allocations: 0.772 MB / 1.296 GB, free: 7.133 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.9564, allocations: 9.609 kB / 1.296 GB, free: 7.133 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.478e-05/0.9564, allocations: 52.53 kB / 1.296 GB, free: 7.082 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.281e-05/0.9565, allocations: 44.64 kB / 1.296 GB, free: 7.062 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009997/0.9575, allocations: 0.5095 MB / 1.297 GB, free: 6.707 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.9575, allocations: 15.67 kB / 1.297 GB, free: 6.703 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.9576, allocations: 18.56 kB / 1.297 GB, free: 6.695 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.9579, allocations: 180.2 kB / 1.297 GB, free: 6.617 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.9579, allocations: 0 / 1.297 GB, free: 6.617 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.958, allocations: 8.562 kB / 1.297 GB, free: 6.609 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.958, allocations: 8.625 kB / 1.297 GB, free: 6.605 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.9583, allocations: 135 kB / 1.297 GB, free: 6.57 MB / 1.014 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.001198/0.9595, allocations: 0.8627 MB / 1.298 GB, free: 5.887 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.9597, allocations: 109.1 kB / 1.298 GB, free: 5.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.9599, allocations: 66.84 kB / 1.298 GB, free: 5.816 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000335/0.9602, allocations: 339.6 kB / 1.298 GB, free: 5.434 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.9603, allocations: 34.5 kB / 1.298 GB, free: 5.391 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.9603, allocations: 6.594 kB / 1.298 GB, free: 5.387 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.0005622/0.9608, allocations: 220.1 kB / 1.299 GB, free: 5.293 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.9609, allocations: 53.23 kB / 1.299 GB, free: 5.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.9613, allocations: 350.1 kB / 1.299 GB, free: 5.051 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.9613, allocations: 29.7 kB / 1.299 GB, free: 5.016 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.9614, allocations: 198.2 kB / 1.299 GB, free: 4.852 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.9615, allocations: 50.27 kB / 1.299 GB, free: 4.809 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.294e-05/0.9615, allocations: 34.66 kB / 1.299 GB, free: 4.785 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.9617, allocations: 340.3 kB / 1.3 GB, free: 4.461 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.9619, allocations: 53.64 kB / 1.3 GB, free: 4.441 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.962, allocations: 99.89 kB / 1.3 GB, free: 4.375 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.9623, allocations: 116.5 kB / 1.3 GB, free: 4.328 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9623, allocations: 0 / 1.3 GB, free: 4.328 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003816/0.9627, allocations: 177 kB / 1.3 GB, free: 4.246 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.9627, allocations: 9.781 kB / 1.3 GB, free: 4.242 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.9627, allocations: 0 / 1.3 GB, free: 4.242 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.9627, allocations: 1.969 kB / 1.3 GB, free: 4.242 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.9629, allocations: 31.56 kB / 1.3 GB, free: 4.234 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.9629, allocations: 2.125 kB / 1.3 GB, free: 4.234 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.9631, allocations: 22.94 kB / 1.3 GB, free: 4.227 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.9631, allocations: 4.484 kB / 1.3 GB, free: 4.227 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002419/0.9633, allocations: 156.4 kB / 1.3 GB, free: 4.121 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001726/0.9635, allocations: 85.47 kB / 1.3 GB, free: 4.066 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002712/0.9638, allocations: 119.3 kB / 1.3 GB, free: 4.016 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.9638, allocations: 0 / 1.3 GB, free: 4.016 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003495/0.9641, allocations: 170.1 kB / 1.301 GB, free: 3.938 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.9641, allocations: 7.156 kB / 1.301 GB, free: 3.938 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.9641, allocations: 3.938 kB / 1.301 GB, free: 3.934 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-06/0.9642, allocations: 7.938 kB / 1.301 GB, free: 3.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.9643, allocations: 24.81 kB / 1.301 GB, free: 3.926 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.9643, allocations: 3.375 kB / 1.301 GB, free: 3.926 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.9644, allocations: 12.31 kB / 1.301 GB, free: 3.926 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.9644, allocations: 9.25 kB / 1.301 GB, free: 3.922 MB / 1.014 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.0001268/0.9646, allocations: 191.6 kB / 1.301 GB, free: 3.73 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.455e-05/0.9646, allocations: 42.31 kB / 1.301 GB, free: 3.707 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005186/0.9652, allocations: 229.9 kB / 1.301 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.9652, allocations: 2.125 kB / 1.301 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.9652, allocations: 0 / 1.301 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.9652, allocations: 10.12 kB / 1.301 GB, free: 3.598 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.9662, allocations: 0.6379 MB / 1.302 GB, free: 3.145 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.9662, allocations: 1.188 kB / 1.302 GB, free: 3.145 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.9663, allocations: 24.23 kB / 1.302 GB, free: 3.145 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.9663, allocations: 5.906 kB / 1.302 GB, free: 3.141 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.9664, allocations: 2.703 kB / 1.302 GB, free: 3.141 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.9664, allocations: 2.062 kB / 1.302 GB, free: 3.141 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.9664, allocations: 1.672 kB / 1.302 GB, free: 3.141 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005715/0.9669, allocations: 319.8 kB / 1.302 GB, free: 2.922 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.9671, allocations: 130.9 kB / 1.302 GB, free: 2.797 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.9671, allocations: 2.562 kB / 1.302 GB, free: 2.797 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.9673, allocations: 16.3 kB / 1.302 GB, free: 2.793 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.9674, allocations: 17.58 kB / 1.302 GB, free: 2.785 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.9674, allocations: 9.547 kB / 1.302 GB, free: 2.781 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003151/0.9677, allocations: 250.1 kB / 1.302 GB, free: 2.648 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.9677, allocations: 1.281 kB / 1.302 GB, free: 2.648 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006892/0.9684, allocations: 188.1 kB / 1.303 GB, free: 2.605 MB / 1.014 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.001369/0.9698, allocations: 1.006 MB / 1.304 GB, free: 1.793 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005284/0.9703, allocations: 179.3 kB / 1.304 GB, free: 1.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9703, allocations: 1.469 kB / 1.304 GB, free: 1.75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.9705, allocations: 77.38 kB / 1.304 GB, free: 1.727 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008466/0.9713, allocations: 158.3 kB / 1.304 GB, free: 1.672 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.975, allocations: 2.741 MB / 1.307 GB, free: 15.89 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.9755, allocations: 0.8006 MB / 1.307 GB, free: 15.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002578/0.9757, allocations: 73.5 kB / 1.308 GB, free: 15.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.9759, allocations: 113.5 kB / 1.308 GB, free: 15.08 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.9759, allocations: 1.25 kB / 1.308 GB, free: 15.08 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03996/1.016, allocations: 10.11 MB / 1.318 GB, free: 13.99 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.682/9.698, allocations: 11.27 kB / 1.318 GB, free: 13.98 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.43781236500945] Failed to read output from testmodel.py, exit status != 0: 9.775666786008514 9.800639363 8.840438071 Calling exit ...