Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Validation.LosslessPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",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.001248/0.001248, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 185.8 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 69.08 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2234, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.573/0.7964, allocations: 161.3 MB / 0.9412 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.7982, allocations: 0.9439 MB / 0.9421 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002525/0.7985, allocations: 10.72 kB / 0.9421 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005275/0.7991, allocations: 162.5 kB / 0.9423 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.8006, allocations: 0.6273 MB / 0.9429 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006764/0.8012, allocations: 219.2 kB / 0.9431 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000725/0.802, allocations: 0.5046 MB / 0.9436 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003649/0.8024, allocations: 170.3 kB / 0.9437 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.8029, allocations: 241.7 kB / 0.944 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.8031, allocations: 157.2 kB / 0.9441 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.8032, allocations: 13.75 kB / 0.9441 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.8042, allocations: 0.5429 MB / 0.9447 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.8044, allocations: 76.53 kB / 0.9447 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.8045, allocations: 117.5 kB / 0.9448 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008451/0.8054, allocations: 499.7 kB / 0.9453 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8054, allocations: 0 / 0.9453 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.245e-06/0.8054, allocations: 1.125 kB / 0.9453 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.8054, allocations: 3.938 kB / 0.9453 GB, free: 1.68 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001428/0.8068, allocations: 0.5999 MB / 0.9459 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.8069, allocations: 9.094 kB / 0.9459 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.426e-05/0.8069, allocations: 52.09 kB / 0.946 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002587/0.8072, allocations: 47.45 kB / 0.946 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.8076, allocations: 293.5 kB / 0.9463 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.8077, allocations: 13.73 kB / 0.9463 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.8077, allocations: 14.88 kB / 0.9463 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/0.8082, allocations: 244.2 kB / 0.9466 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.8083, allocations: 2.406 kB / 0.9466 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.8083, allocations: 5.5 kB / 0.9466 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.8083, allocations: 7.062 kB / 0.9466 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006072/0.8089, allocations: 255.8 kB / 0.9468 GB, free: 16.92 MB / 0.7325 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.001486/0.8104, allocations: 0.8345 MB / 0.9476 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.8108, allocations: 150.2 kB / 0.9478 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.8111, allocations: 109.4 kB / 0.9479 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003135/0.8114, allocations: 186 kB / 0.9481 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.8115, allocations: 35.88 kB / 0.9481 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.8115, allocations: 4 kB / 0.9481 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.001006/0.8125, allocations: 301.9 kB / 0.9484 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.8126, allocations: 57.56 kB / 0.9484 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.8129, allocations: 246.7 kB / 0.9487 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.8129, allocations: 26.7 kB / 0.9487 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.813, allocations: 140.6 kB / 0.9488 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.8131, allocations: 49.45 kB / 0.9489 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.8132, allocations: 35.25 kB / 0.9489 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.8133, allocations: 333.6 kB / 0.9492 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.8135, allocations: 67.03 kB / 0.9493 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.8138, allocations: 99.44 kB / 0.9494 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.8142, allocations: 173 kB / 0.9496 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.8142, allocations: 0 / 0.9496 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004858/0.8147, allocations: 208.5 kB / 0.9498 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.8147, allocations: 18.58 kB / 0.9498 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.8147, allocations: 1.375 kB / 0.9498 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.8148, allocations: 2.562 kB / 0.9498 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.815, allocations: 26.48 kB / 0.9498 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.815, allocations: 4.141 kB / 0.9498 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.8152, allocations: 25.94 kB / 0.9498 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.8152, allocations: 11.97 kB / 0.9498 GB, free: 15.37 MB / 0.7325 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 (15): * Single equations (assignments): 15 * 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.0001316/0.8153, allocations: 145.8 kB / 0.95 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.8154, allocations: 25.56 kB / 0.95 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.672e-05/0.8155, allocations: 32.02 kB / 0.95 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.8155, allocations: 2.031 kB / 0.95 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.8155, allocations: 1.828 kB / 0.95 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8155, allocations: 1.203 kB / 0.95 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009532/0.8165, allocations: 0.6791 MB / 0.9507 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.8165, allocations: 1.562 kB / 0.9507 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.8166, allocations: 34.59 kB / 0.9507 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.8167, allocations: 2.406 kB / 0.9507 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.8167, allocations: 5.438 kB / 0.9507 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.8167, allocations: 7.281 kB / 0.9507 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8167, allocations: 1.406 kB / 0.9507 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004894/0.8172, allocations: 364.4 kB / 0.9511 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.8173, allocations: 113.1 kB / 0.9512 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.8174, allocations: 2.844 kB / 0.9512 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.8175, allocations: 9.719 kB / 0.9512 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.8176, allocations: 26.81 kB / 0.9512 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.8176, allocations: 7.406 kB / 0.9512 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001563/0.8178, allocations: 178.6 kB / 0.9514 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8178, allocations: 0 / 0.9514 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003742/0.8182, allocations: 54.66 kB / 0.9515 GB, free: 14.44 MB / 0.7325 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 (14): * Single equations (assignments): 14 * 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.000982/0.8191, allocations: 0.9311 MB / 0.9524 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004518/0.8196, allocations: 184.7 kB / 0.9526 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8196, allocations: 0 / 0.9526 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.8198, allocations: 94.23 kB / 0.9526 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007419/0.8206, allocations: 129.5 kB / 0.9528 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.8234, allocations: 2.469 MB / 0.9552 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.8237, allocations: 0.7551 MB / 0.9559 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002181/0.824, allocations: 61.95 kB / 0.956 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.8241, allocations: 68.06 kB / 0.956 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.8241, allocations: 0 / 0.956 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.8468, allocations: 6.874 MB / 0.9628 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.776/8.623, allocations: 7.828 kB / 0.9628 GB, free: 10.75 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)