Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.001584/0.001584, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001405/0.001405, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.456/1.456, allocations: 225.6 MB / 249.4 MB, free: 3.148 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.737/2.737, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] 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.CheckValve,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 71.88 kB / 1.107 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 168.7 MB / 1.272 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02508/1.052, allocations: 21.09 MB / 1.292 GB, free: 8.707 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00953/1.062, allocations: 4.982 MB / 1.297 GB, free: 5.176 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/1.063, allocations: 20.25 kB / 1.297 GB, free: 5.168 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009829/1.064, allocations: 287 kB / 1.297 GB, free: 4.988 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002755/1.067, allocations: 0.8502 MB / 1.298 GB, free: 4.492 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002294/1.069, allocations: 0.7135 MB / 1.299 GB, free: 4.141 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002246/1.071, allocations: 1.387 MB / 1.3 GB, free: 3.516 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006964/1.072, allocations: 362.1 kB / 1.3 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/1.073, allocations: 0.5864 MB / 1.301 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007119/1.074, allocations: 455.8 kB / 1.301 GB, free: 2.922 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.601e-05/1.074, allocations: 41.44 kB / 1.302 GB, free: 2.918 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/1.075, allocations: 0.6533 MB / 1.302 GB, free: 2.695 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001739/1.075, allocations: 126.5 kB / 1.302 GB, free: 2.621 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003215/1.076, allocations: 287.2 kB / 1.303 GB, free: 2.457 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001493/1.077, allocations: 0.8526 MB / 1.303 GB, free: 2.125 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.077, allocations: 0 / 1.303 GB, free: 2.125 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.422e-06/1.077, allocations: 0.5 kB / 1.303 GB, free: 2.125 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.066e-05/1.077, allocations: 0 / 1.303 GB, free: 2.125 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002068/1.079, allocations: 0.9473 MB / 1.304 GB, free: 1.414 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/1.079, allocations: 10.28 kB / 1.304 GB, free: 1.414 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.411e-05/1.08, allocations: 71.48 kB / 1.304 GB, free: 1.352 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/1.08, allocations: 67.55 kB / 1.304 GB, free: 1.316 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009441/1.081, allocations: 482.6 kB / 1.305 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/1.081, allocations: 26.88 kB / 1.305 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.219e-05/1.081, allocations: 40.14 kB / 1.305 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006924/1.081, allocations: 306 kB / 1.305 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/1.081, allocations: 0 / 1.305 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/1.081, allocations: 10.09 kB / 1.305 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/1.081, allocations: 7.859 kB / 1.305 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006624/1.082, allocations: 267.7 kB / 1.306 GB, free: 0.7383 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.002425/1.085, allocations: 1.337 MB / 1.307 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005238/1.085, allocations: 245.2 kB / 1.307 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/1.085, allocations: 124 kB / 1.307 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005253/1.086, allocations: 0.498 MB / 1.308 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/1.086, allocations: 40.48 kB / 1.308 GB, free: 15.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.984e-06/1.086, allocations: 1.375 kB / 1.308 GB, free: 15.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.00191/1.088, allocations: 0.5581 MB / 1.308 GB, free: 14.81 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/1.088, allocations: 56.2 kB / 1.308 GB, free: 14.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005932/1.088, allocations: 466.2 kB / 1.309 GB, free: 14.53 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.262e-05/1.089, allocations: 32.2 kB / 1.309 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/1.089, allocations: 251.6 kB / 1.309 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.729e-05/1.089, allocations: 91.91 kB / 1.309 GB, free: 14.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/1.089, allocations: 71.61 kB / 1.309 GB, free: 14.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001886/1.089, allocations: 358.2 kB / 1.31 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/1.09, allocations: 124.3 kB / 1.31 GB, free: 13.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/1.09, allocations: 183.1 kB / 1.31 GB, free: 13.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006623/1.091, allocations: 275.7 kB / 1.31 GB, free: 13.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.091, allocations: 0 / 1.31 GB, free: 13.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001603/1.092, allocations: 0.4908 MB / 1.311 GB, free: 13.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.092, allocations: 5.156 kB / 1.311 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/1.092, allocations: 1.906 kB / 1.311 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003538/1.093, allocations: 54.23 kB / 1.311 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/1.093, allocations: 70.27 kB / 1.311 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005327/1.093, allocations: 0.562 MB / 1.311 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004972/1.094, allocations: 53.03 kB / 1.311 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/1.094, allocations: 20.03 kB / 1.311 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004714/1.094, allocations: 243.6 kB / 1.312 GB, free: 12.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000369/1.095, allocations: 180.8 kB / 1.312 GB, free: 12.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005846/1.095, allocations: 255.7 kB / 1.312 GB, free: 12.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/1.095, allocations: 1.531 kB / 1.312 GB, free: 12.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008546/1.096, allocations: 366 kB / 1.312 GB, free: 12.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/1.096, allocations: 6.172 kB / 1.312 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/1.096, allocations: 4 kB / 1.312 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/1.096, allocations: 10.31 kB / 1.312 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/1.097, allocations: 82.02 kB / 1.312 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/1.097, allocations: 2.156 kB / 1.312 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/1.097, allocations: 46.72 kB / 1.312 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/1.097, allocations: 16.11 kB / 1.312 GB, free: 12.32 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001915/1.097, allocations: 201.4 kB / 1.313 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.256e-05/1.097, allocations: 51.2 kB / 1.313 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/1.099, allocations: 427.4 kB / 1.313 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/1.099, allocations: 4.953 kB / 1.313 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.099, allocations: 0 / 1.313 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/1.099, allocations: 1.359 kB / 1.313 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/1.1, allocations: 0.9515 MB / 1.314 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/1.1, allocations: 1.531 kB / 1.314 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/1.1, allocations: 48.22 kB / 1.314 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001803/1.101, allocations: 38.28 kB / 1.314 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/1.101, allocations: 12.55 kB / 1.314 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004532/1.101, allocations: 0.5638 MB / 1.315 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.101, allocations: 1.156 kB / 1.315 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008911/1.102, allocations: 491.8 kB / 1.315 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/1.102, allocations: 164.3 kB / 1.315 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/1.102, allocations: 8.156 kB / 1.315 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/1.103, allocations: 31.45 kB / 1.315 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/1.103, allocations: 21.55 kB / 1.315 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/1.103, allocations: 14.14 kB / 1.315 GB, free: 10.31 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003997/1.103, allocations: 321.8 kB / 1.316 GB, free: 10.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/1.103, allocations: 3.938 kB / 1.316 GB, free: 10.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008891/1.104, allocations: 254 kB / 1.316 GB, free: 10.1 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001734/1.106, allocations: 1.182 MB / 1.317 GB, free: 9.215 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001231/1.107, allocations: 435.4 kB / 1.318 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.107, allocations: 0 / 1.318 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004235/1.107, allocations: 168.3 kB / 1.318 GB, free: 9.062 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/1.109, allocations: 212.8 kB / 1.318 GB, free: 8.996 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007211/1.116, allocations: 4.047 MB / 1.322 GB, free: 6.727 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/1.116, allocations: 0.8563 MB / 1.323 GB, free: 6.012 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005498/1.117, allocations: 115.5 kB / 1.323 GB, free: 5.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/1.117, allocations: 177.9 kB / 1.323 GB, free: 5.852 MB / 1.029 GB Notification: Performance of SimCode: time 8.12e-07/1.117, allocations: 0 / 1.323 GB, free: 5.852 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05143/1.169, allocations: 15.17 MB / 1.338 GB, free: 2.508 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/13.38, allocations: 5.281 kB / 1.338 GB, free: 2.504 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.FixedResistances.Examples.CheckValve_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_CheckValve.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.57559037298779] Failed to read output from testmodel.py, exit status != 0: 13.485085431981133 13.512697771000001 12.430806565 Calling exit ...