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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002196/0.002196, allocations: 212.6 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002527/0.002527, allocations: 280.3 kB / 312.7 MB, free: 2.652 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.25/1.25, allocations: 180.6 MB / 0.5369 GB, free: 14.59 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002952/0.002952, allocations: 101 kB / 0.7395 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1926, allocations: 95.39 MB / 0.8326 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1847/0.3773, allocations: 142.2 MB / 0.9715 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.3793, allocations: 0.9353 MB / 0.9724 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.3795, allocations: 15.88 kB / 0.9724 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005934/0.3801, allocations: 151 kB / 0.9725 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.3817, allocations: 0.6497 MB / 0.9732 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006074/0.3823, allocations: 226.5 kB / 0.9734 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006903/0.383, allocations: 0.5226 MB / 0.9739 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.3833, allocations: 144.3 kB / 0.974 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004256/0.3837, allocations: 235.1 kB / 0.9743 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.3839, allocations: 159.3 kB / 0.9744 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.384, allocations: 16 kB / 0.9744 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008197/0.3848, allocations: 470.6 kB / 0.9749 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3849, allocations: 91.72 kB / 0.975 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.385, allocations: 87.61 kB / 0.975 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007044/0.3857, allocations: 478.3 kB / 0.9755 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3857, allocations: 0 / 0.9755 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3857, allocations: 0 / 0.9755 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.3857, allocations: 0 / 0.9755 GB, free: 5.512 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.001387/0.3871, allocations: 0.5243 MB / 0.976 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.3872, allocations: 17.92 kB / 0.976 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.943e-05/0.3872, allocations: 50.53 kB / 0.9761 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000242/0.3875, allocations: 47.83 kB / 0.9761 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.3879, allocations: 232.6 kB / 0.9763 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3879, allocations: 16.27 kB / 0.9764 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.388, allocations: 16 kB / 0.9764 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/0.3885, allocations: 247.7 kB / 0.9766 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3885, allocations: 0 / 0.9766 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.3885, allocations: 8 kB / 0.9766 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.3885, allocations: 11.98 kB / 0.9766 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005798/0.3891, allocations: 247.8 kB / 0.9769 GB, free: 4.043 MB / 0.7169 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.001303/0.3904, allocations: 0.693 MB / 0.9775 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.3907, allocations: 142.4 kB / 0.9777 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.391, allocations: 104.9 kB / 0.9778 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/0.3912, allocations: 31.98 kB / 0.9778 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.3912, allocations: 34.5 kB / 0.9778 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.3912, allocations: 0 / 0.9778 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0008569/0.3921, allocations: 307.2 kB / 0.9781 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.3921, allocations: 55.41 kB / 0.9782 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.3924, allocations: 241.1 kB / 0.9784 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.3924, allocations: 33.62 kB / 0.9785 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.3925, allocations: 136.3 kB / 0.9786 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.3925, allocations: 51.52 kB / 0.9786 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-05/0.3926, allocations: 37.7 kB / 0.9787 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.3928, allocations: 338.8 kB / 0.979 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.393, allocations: 63.94 kB / 0.9791 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.3932, allocations: 179.6 kB / 0.9792 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.3936, allocations: 166.4 kB / 0.9794 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3936, allocations: 0 / 0.9794 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004688/0.3941, allocations: 219.5 kB / 0.9796 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3941, allocations: 10.12 kB / 0.9796 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3941, allocations: 3.938 kB / 0.9796 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3941, allocations: 0 / 0.9796 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.3943, allocations: 31.97 kB / 0.9796 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.3943, allocations: 4 kB / 0.9796 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.3945, allocations: 27.88 kB / 0.9797 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.3945, allocations: 8.062 kB / 0.9797 GB, free: 1.012 MB / 0.7169 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.000146/0.3946, allocations: 153.7 kB / 0.9798 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.3947, allocations: 23.8 kB / 0.9798 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.16e-05/0.3948, allocations: 29.78 kB / 0.9799 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3948, allocations: 0 / 0.9799 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3948, allocations: 0 / 0.9799 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3948, allocations: 7.922 kB / 0.9799 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.3959, allocations: 0.6319 MB / 0.9805 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3959, allocations: 0 / 0.9805 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.396, allocations: 31.92 kB / 0.9805 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3961, allocations: 0 / 0.9805 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.3961, allocations: 11.98 kB / 0.9805 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3961, allocations: 4 kB / 0.9805 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3961, allocations: 0 / 0.9805 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3597/0.7558, allocations: 359.5 kB / 0.9809 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.756, allocations: 36.7 kB / 0.9809 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.756, allocations: 6.5 kB / 0.9809 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.7562, allocations: 8.344 kB / 0.9809 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/0.7563, allocations: 18.27 kB / 0.981 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.7563, allocations: 5.953 kB / 0.981 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002084/0.7565, allocations: 183.3 kB / 0.9811 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.7565, allocations: 0 / 0.9811 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004595/0.757, allocations: 59.2 kB / 0.9812 GB, free: 151.6 MB / 0.7169 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.0008516/0.7578, allocations: 0.922 MB / 0.9821 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005901/0.7584, allocations: 177.5 kB / 0.9823 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7584, allocations: 0.7812 kB / 0.9823 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.7586, allocations: 95.2 kB / 0.9823 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007879/0.7594, allocations: 115.5 kB / 0.9825 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.7625, allocations: 2.47 MB / 0.9849 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.7627, allocations: 145 kB / 0.985 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002114/0.7629, allocations: 60.91 kB / 0.9851 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.763, allocations: 66.69 kB / 0.9851 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.763, allocations: 0.7812 kB / 0.9851 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04587/0.8089, allocations: 7.873 MB / 0.9928 GB, free: 147.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.98, allocations: 8.484 kB / 0.9928 GB, free: 147.7 MB / 0.7169 GB " [Timeout remaining time 648] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.372432542964816] Failed to read output from testmodel.py, exit status != 0: 12.090593291912228 12.103766807 11.715809024 Calling exit ...