Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_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.007751/0.00775, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001963/0.001964, allocations: 193.8 kB / 16.67 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003414/0.003414, allocations: 286.8 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.068/1.068, allocations: 178.6 MB / 0.5074 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002746, allocations: 95.86 kB / 0.6943 GB, free: 3.637 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.4587, allocations: 89.14 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1866/0.6453, allocations: 161.3 MB / 0.9389 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.001993/0.6474, allocations: 0.9564 MB / 0.9398 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.6476, allocations: 7.938 kB / 0.9398 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005596/0.6482, allocations: 167 kB / 0.94 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.6497, allocations: 0.6301 MB / 0.9406 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.6503, allocations: 226.5 kB / 0.9408 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0006305/0.651, allocations: 0.511 MB / 0.9413 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.6513, allocations: 180.1 kB / 0.9415 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000414/0.6517, allocations: 239.1 kB / 0.9417 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.652, allocations: 151.4 kB / 0.9419 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.652, allocations: 16 kB / 0.9419 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009297/0.6529, allocations: 0.5455 MB / 0.9424 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.6531, allocations: 79.78 kB / 0.9425 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.6532, allocations: 115.4 kB / 0.9426 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0007367/0.6539, allocations: 497.8 kB / 0.9431 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.654, allocations: 0 / 0.9431 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.213e-06/0.654, allocations: 0 / 0.9431 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.654, allocations: 0 / 0.9431 GB, free: 9.078 MB / 0.7012 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.001386/0.6554, allocations: 0.6073 MB / 0.9437 GB, free: 8.422 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.6554, allocations: 12.03 kB / 0.9437 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.758e-05/0.6555, allocations: 46.55 kB / 0.9437 GB, free: 8.355 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/0.6557, allocations: 59.77 kB / 0.9438 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.6562, allocations: 290.5 kB / 0.944 GB, free: 7.973 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.6562, allocations: 16.31 kB / 0.9441 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.6562, allocations: 12 kB / 0.9441 GB, free: 7.945 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/0.6568, allocations: 239.1 kB / 0.9443 GB, free: 7.707 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.6568, allocations: 0 / 0.9443 GB, free: 7.707 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.6568, allocations: 11.92 kB / 0.9443 GB, free: 7.695 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.6568, allocations: 8 kB / 0.9443 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006014/0.6574, allocations: 251.8 kB / 0.9446 GB, free: 7.441 MB / 0.7012 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.001282/0.6587, allocations: 0.8355 MB / 0.9454 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/0.6591, allocations: 150.5 kB / 0.9455 GB, free: 6.375 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.6593, allocations: 116.9 kB / 0.9456 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/0.6596, allocations: 186.2 kB / 0.9458 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.6597, allocations: 38.44 kB / 0.9458 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.6597, allocations: 4 kB / 0.9458 GB, free: 5.988 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14): time 0.0008685/0.6606, allocations: 301.4 kB / 0.9461 GB, free: 5.688 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.6606, allocations: 51.41 kB / 0.9462 GB, free: 5.625 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.6609, allocations: 245 kB / 0.9464 GB, free: 5.379 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.6609, allocations: 25.7 kB / 0.9464 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.661, allocations: 144.3 kB / 0.9466 GB, free: 5.203 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.661, allocations: 43.58 kB / 0.9466 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.483e-05/0.6611, allocations: 37.7 kB / 0.9467 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6613, allocations: 326.8 kB / 0.947 GB, free: 4.789 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.6615, allocations: 71.94 kB / 0.947 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.6617, allocations: 102.5 kB / 0.9471 GB, free: 4.609 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.6621, allocations: 167.6 kB / 0.9473 GB, free: 4.438 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6621, allocations: 0 / 0.9473 GB, free: 4.438 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004954/0.6626, allocations: 220.4 kB / 0.9475 GB, free: 4.219 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.6626, allocations: 17.56 kB / 0.9475 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.6626, allocations: 0 / 0.9475 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.6627, allocations: 0 / 0.9475 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.6629, allocations: 35.86 kB / 0.9476 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.6629, allocations: 0 / 0.9476 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.663, allocations: 23.88 kB / 0.9476 GB, free: 4.145 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.6631, allocations: 11.98 kB / 0.9476 GB, free: 4.133 MB / 0.7012 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.0001387/0.6632, allocations: 137.8 kB / 0.9477 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.6633, allocations: 31.8 kB / 0.9478 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.242e-05/0.6634, allocations: 33.83 kB / 0.9478 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.6634, allocations: 0 / 0.9478 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.6634, allocations: 0 / 0.9478 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.6634, allocations: 7.875 kB / 0.9478 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.6645, allocations: 0.6796 MB / 0.9485 GB, free: 3.156 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.6645, allocations: 0 / 0.9485 GB, free: 3.156 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.6647, allocations: 31.98 kB / 0.9485 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.6647, allocations: 7.984 kB / 0.9485 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.6647, allocations: 0 / 0.9485 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.6647, allocations: 8.156 kB / 0.9485 GB, free: 3.109 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6647, allocations: 8 kB / 0.9485 GB, free: 3.102 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.6653, allocations: 349.2 kB / 0.9488 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.6654, allocations: 113 kB / 0.949 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.6654, allocations: 7.984 kB / 0.949 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.6656, allocations: 12 kB / 0.949 GB, free: 2.574 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.6657, allocations: 15.97 kB / 0.949 GB, free: 2.559 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.6657, allocations: 19.97 kB / 0.949 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001711/0.6659, allocations: 176.5 kB / 0.9492 GB, free: 2.367 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6659, allocations: 4 kB / 0.9492 GB, free: 2.363 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003493/0.6662, allocations: 55.94 kB / 0.9492 GB, free: 2.309 MB / 0.7012 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.001102/0.6674, allocations: 0.9413 MB / 0.9501 GB, free: 1.324 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004679/0.6678, allocations: 179.8 kB / 0.9503 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6678, allocations: 0 / 0.9503 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.6681, allocations: 103.8 kB / 0.9504 GB, free: 1.047 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007371/0.6688, allocations: 114.8 kB / 0.9505 GB, free: 0.9375 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.672, allocations: 2.464 MB / 0.9529 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.6724, allocations: 0.7557 MB / 0.9537 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002055/0.6726, allocations: 69.89 kB / 0.9537 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.6728, allocations: 67.41 kB / 0.9538 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.6728, allocations: 0 / 0.9538 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.7014, allocations: 6.944 MB / 0.9606 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.605, allocations: 6.312 kB / 0.9606 GB, free: 6.691 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)