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.001341/0.001341, allocations: 109 kB / 16.45 MB, free: 6.391 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.001435/0.001435, allocations: 211.3 kB / 19.43 MB, free: 3.73 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.445/1.445, allocations: 230.6 MB / 252.8 MB, free: 9 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002698/0.002698, allocations: 280.8 kB / 309.1 MB, free: 3.988 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.211/1.211, allocations: 180.9 MB / 0.5333 GB, free: 13.9 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 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.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.002876/0.002876, allocations: 96.16 kB / 0.7342 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1524, allocations: 95.35 MB / 0.8273 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6575/0.81, allocations: 164.7 MB / 0.9882 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002002/0.812, allocations: 0.9628 MB / 0.9891 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003214/0.8123, allocations: 14.81 kB / 0.9892 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005942/0.8129, allocations: 161.4 kB / 0.9893 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.8147, allocations: 0.6631 MB / 0.99 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007029/0.8154, allocations: 220.7 kB / 0.9902 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007194/0.8161, allocations: 0.5201 MB / 0.9907 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003497/0.8164, allocations: 154.2 kB / 0.9908 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000519/0.8169, allocations: 246.2 kB / 0.9911 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.8172, allocations: 173.3 kB / 0.9912 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.8172, allocations: 14.5 kB / 0.9912 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.8183, allocations: 0.5784 MB / 0.9918 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.8184, allocations: 86.83 kB / 0.9919 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.8185, allocations: 113.1 kB / 0.992 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007579/0.8193, allocations: 490.1 kB / 0.9925 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.8193, allocations: 4.891 kB / 0.9925 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8193, allocations: 0 / 0.9925 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.8193, allocations: 0.9062 kB / 0.9925 GB, free: 3.191 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.001765/0.8211, allocations: 0.6055 MB / 0.9931 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.8211, allocations: 9.281 kB / 0.9931 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.213e-05/0.8212, allocations: 52.66 kB / 0.9931 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002848/0.8215, allocations: 50 kB / 0.9932 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005302/0.822, allocations: 289.9 kB / 0.9934 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.822, allocations: 10.17 kB / 0.9934 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.8221, allocations: 21.53 kB / 0.9935 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00058/0.8226, allocations: 237.6 kB / 0.9937 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.8227, allocations: 0.8438 kB / 0.9937 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.8227, allocations: 6.25 kB / 0.9937 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.8227, allocations: 11.36 kB / 0.9937 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006217/0.8233, allocations: 255.5 kB / 0.994 GB, free: 18.44 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.001398/0.8247, allocations: 0.8375 MB / 0.9948 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.8251, allocations: 137 kB / 0.9949 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.8253, allocations: 105.7 kB / 0.995 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003146/0.8256, allocations: 187.5 kB / 0.9952 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.8257, allocations: 33.98 kB / 0.9952 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.954e-06/0.8257, allocations: 0 / 0.9952 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0009459/0.8266, allocations: 307.2 kB / 0.9955 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.8266, allocations: 54.84 kB / 0.9956 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.8269, allocations: 241.7 kB / 0.9958 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.827, allocations: 30.73 kB / 0.9958 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.176e-05/0.827, allocations: 137.1 kB / 0.996 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.8271, allocations: 54.7 kB / 0.996 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.921e-05/0.8272, allocations: 34.44 kB / 0.996 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.8273, allocations: 336.8 kB / 0.9964 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.8275, allocations: 69.75 kB / 0.9964 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.8278, allocations: 107.1 kB / 0.9965 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.8281, allocations: 164.4 kB / 0.9967 GB, free: 17 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.8282, allocations: 0 / 0.9967 GB, free: 17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005597/0.8287, allocations: 222 kB / 0.9969 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.8287, allocations: 8.062 kB / 0.9969 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8287, allocations: 1.625 kB / 0.9969 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.8288, allocations: 5.781 kB / 0.9969 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.829, allocations: 31.98 kB / 0.9969 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.829, allocations: 1.781 kB / 0.9969 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.8292, allocations: 22.81 kB / 0.997 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.8292, allocations: 9.031 kB / 0.997 GB, free: 16.94 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.0001603/0.8293, allocations: 142.9 kB / 0.9971 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.8294, allocations: 22.7 kB / 0.9971 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.336e-05/0.8295, allocations: 37.8 kB / 0.9972 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.8295, allocations: 6.031 kB / 0.9972 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.8295, allocations: 1.062 kB / 0.9972 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.8295, allocations: 0 / 0.9972 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.8306, allocations: 0.6738 MB / 0.9978 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.8306, allocations: 1.719 kB / 0.9978 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.8308, allocations: 35.92 kB / 0.9979 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.8308, allocations: 4.234 kB / 0.9979 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.8308, allocations: 3.094 kB / 0.9979 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.8308, allocations: 3.344 kB / 0.9979 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.8309, allocations: 5.938 kB / 0.9979 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005692/0.8314, allocations: 357.5 kB / 0.9982 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.8316, allocations: 116 kB / 0.9983 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.8316, allocations: 5.297 kB / 0.9983 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.8318, allocations: 13.36 kB / 0.9984 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.8318, allocations: 21.14 kB / 0.9984 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.8319, allocations: 5 kB / 0.9984 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002309/0.8321, allocations: 179.7 kB / 0.9986 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8321, allocations: 0.875 kB / 0.9986 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004599/0.8325, allocations: 60.8 kB / 0.9986 GB, free: 16.05 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.001142/0.8337, allocations: 0.9314 MB / 0.9995 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005437/0.8342, allocations: 169.2 kB / 0.9997 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.8342, allocations: 0.5 kB / 0.9997 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.8345, allocations: 96.09 kB / 0.9998 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/0.8353, allocations: 123.6 kB / 0.9999 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/0.8391, allocations: 2.468 MB / 1.002 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.8395, allocations: 0.7576 MB / 1.003 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002358/0.8397, allocations: 65.39 kB / 1.003 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.8398, allocations: 64.83 kB / 1.003 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of SimCode: time 9.92e-07/0.8398, allocations: 0 / 1.003 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03893/0.8787, allocations: 6.939 MB / 1.01 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.32/9.198, allocations: 3.438 kB / 1.01 GB, free: 12.7 MB / 0.7325 GB " [Timeout remaining time 651] (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: 13.39905117964372] Failed to read output from testmodel.py, exit status != 0: 9.268199676182121 9.278552802 8.456919732 Calling exit ...