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.001062/0.001063, allocations: 108 kB / 15.61 MB, free: 152 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.001855/0.001855, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.532/1.532, allocations: 205.1 MB / 222.4 MB, free: 4.648 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.699/1.699, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001468/0.001468, allocations: 70.2 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2365, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6047/0.8413, allocations: 161.3 MB / 0.941 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.843, allocations: 0.9567 MB / 0.942 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002647/0.8433, allocations: 10.33 kB / 0.942 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005356/0.8439, allocations: 156.4 kB / 0.9421 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.8457, allocations: 0.6205 MB / 0.9427 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006877/0.8463, allocations: 217.5 kB / 0.9429 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007488/0.8471, allocations: 0.5086 MB / 0.9434 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003891/0.8475, allocations: 166.6 kB / 0.9436 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005158/0.848, allocations: 239.5 kB / 0.9438 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.8483, allocations: 157.7 kB / 0.944 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.8483, allocations: 15.06 kB / 0.944 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008687/0.8492, allocations: 0.5386 MB / 0.9445 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.8493, allocations: 81.8 kB / 0.9446 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.8495, allocations: 112.8 kB / 0.9447 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006729/0.8501, allocations: 496.1 kB / 0.9452 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.8502, allocations: 7.188 kB / 0.9452 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8502, allocations: 0 / 0.9452 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.918e-06/0.8502, allocations: 0 / 0.9452 GB, free: 1.602 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.001539/0.8517, allocations: 0.5967 MB / 0.9458 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.8518, allocations: 11.09 kB / 0.9458 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.184e-05/0.8519, allocations: 48.75 kB / 0.9458 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002668/0.8521, allocations: 50.72 kB / 0.9459 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.8524, allocations: 280.1 kB / 0.9461 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.8525, allocations: 19.62 kB / 0.9461 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.8525, allocations: 17.06 kB / 0.9462 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/0.853, allocations: 238.4 kB / 0.9464 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.853, allocations: 4.75 kB / 0.9464 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.853, allocations: 5.766 kB / 0.9464 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.8531, allocations: 13.84 kB / 0.9464 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006217/0.8537, allocations: 247.8 kB / 0.9466 GB, free: 16.84 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.001249/0.8549, allocations: 0.8368 MB / 0.9475 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.8553, allocations: 139.6 kB / 0.9476 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.8556, allocations: 118.2 kB / 0.9477 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/0.8558, allocations: 191.1 kB / 0.9479 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.8559, allocations: 38.27 kB / 0.9479 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.8559, allocations: 0.5312 kB / 0.9479 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0009317/0.8568, allocations: 299.4 kB / 0.9482 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.8569, allocations: 56.59 kB / 0.9483 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.8572, allocations: 240.5 kB / 0.9485 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.8572, allocations: 26.8 kB / 0.9485 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.121e-05/0.8573, allocations: 136.8 kB / 0.9487 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.8573, allocations: 48.91 kB / 0.9487 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.583e-05/0.8574, allocations: 34.33 kB / 0.9487 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.8575, allocations: 334.8 kB / 0.9491 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.8577, allocations: 68.34 kB / 0.9491 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.858, allocations: 107.5 kB / 0.9492 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.8584, allocations: 170.9 kB / 0.9494 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8584, allocations: 0 / 0.9494 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004448/0.8589, allocations: 211.9 kB / 0.9496 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.8589, allocations: 9.031 kB / 0.9496 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.8589, allocations: 1.375 kB / 0.9496 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.8589, allocations: 1 kB / 0.9496 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.8591, allocations: 33.94 kB / 0.9496 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.8591, allocations: 6.609 kB / 0.9496 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.8593, allocations: 30.66 kB / 0.9497 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.8593, allocations: 5.469 kB / 0.9497 GB, free: 15.29 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.0001172/0.8595, allocations: 138.8 kB / 0.9498 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.8595, allocations: 29.2 kB / 0.9498 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.059e-05/0.8596, allocations: 31.44 kB / 0.9499 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.8596, allocations: 6 kB / 0.9499 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.8596, allocations: 0.625 kB / 0.9499 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8596, allocations: 0.9062 kB / 0.9499 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009488/0.8606, allocations: 0.6849 MB / 0.9505 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8606, allocations: 1.188 kB / 0.9505 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.8608, allocations: 30.47 kB / 0.9506 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.8608, allocations: 2.281 kB / 0.9506 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.8608, allocations: 7.125 kB / 0.9506 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.8608, allocations: 6.406 kB / 0.9506 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8608, allocations: 4.531 kB / 0.9506 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.8613, allocations: 356.7 kB / 0.9509 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.916e-05/0.8614, allocations: 113 kB / 0.951 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.8614, allocations: 11.09 kB / 0.951 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.8616, allocations: 7.938 kB / 0.9511 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.8617, allocations: 17.83 kB / 0.9511 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.8617, allocations: 5.281 kB / 0.9511 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001474/0.8618, allocations: 177.5 kB / 0.9512 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8619, allocations: 0 / 0.9512 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003642/0.8622, allocations: 58.11 kB / 0.9513 GB, free: 14.36 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.0009485/0.8632, allocations: 0.9354 MB / 0.9522 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000453/0.8636, allocations: 187.3 kB / 0.9524 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.8637, allocations: 0.875 kB / 0.9524 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.8639, allocations: 99.25 kB / 0.9525 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007377/0.8646, allocations: 134.4 kB / 0.9526 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.8675, allocations: 2.468 MB / 0.955 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.8678, allocations: 0.7498 MB / 0.9558 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002468/0.868, allocations: 59.69 kB / 0.9558 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.8681, allocations: 68.59 kB / 0.9559 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of SimCode: time 4.4e-07/0.8681, allocations: 0 / 0.9559 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.8907, allocations: 6.853 MB / 0.9626 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.778, allocations: 9.25 kB / 0.9626 GB, free: 10.68 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)