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.001317/0.001317, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001407/0.001407, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 8.027 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.002475/0.002475, allocations: 289.6 kB / 312.7 MB, free: 2.934 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.203/1.203, allocations: 180.6 MB / 0.5369 GB, free: 13.11 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.002826/0.002826, allocations: 110.8 kB / 0.7396 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1557, allocations: 95.39 MB / 0.8327 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5924/0.7481, allocations: 164.8 MB / 0.9937 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.75, allocations: 0.9774 MB / 0.9947 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.7503, allocations: 12 kB / 0.9947 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006259/0.7509, allocations: 166.3 kB / 0.9948 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.7527, allocations: 0.6665 MB / 0.9955 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006089/0.7533, allocations: 243.1 kB / 0.9957 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005819/0.7539, allocations: 0.5347 MB / 0.9962 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.7542, allocations: 134.9 kB / 0.9964 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004148/0.7546, allocations: 242.7 kB / 0.9966 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.7548, allocations: 168 kB / 0.9968 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.7548, allocations: 15.92 kB / 0.9968 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009313/0.7558, allocations: 0.5956 MB / 0.9974 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.7559, allocations: 85.14 kB / 0.9974 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.756, allocations: 116.7 kB / 0.9975 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007183/0.7567, allocations: 496.4 kB / 0.998 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7567, allocations: 0 / 0.998 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7567, allocations: 0.875 kB / 0.998 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.7567, allocations: 0 / 0.998 GB, free: 3.426 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.001517/0.7583, allocations: 0.5349 MB / 0.9985 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.7583, allocations: 10.5 kB / 0.9986 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.358e-05/0.7584, allocations: 54.3 kB / 0.9986 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/0.7586, allocations: 48.94 kB / 0.9987 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.7591, allocations: 228.8 kB / 0.9989 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.7591, allocations: 10.48 kB / 0.9989 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.7591, allocations: 17.2 kB / 0.9989 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.7596, allocations: 240.5 kB / 0.9991 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.7596, allocations: 0 / 0.9991 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.7596, allocations: 6.422 kB / 0.9991 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.7596, allocations: 11.31 kB / 0.9991 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005684/0.7602, allocations: 251.5 kB / 0.9994 GB, free: 18.83 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.001277/0.7615, allocations: 0.8041 MB / 1 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.7618, allocations: 139.2 kB / 1 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.762, allocations: 105.7 kB / 1 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002016/0.7622, allocations: 30.05 kB / 1 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.7622, allocations: 36.91 kB / 1 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.7623, allocations: 0 / 1 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0008131/0.7631, allocations: 309.8 kB / 1.001 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.7631, allocations: 54.44 kB / 1.001 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.7633, allocations: 247.6 kB / 1.001 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.7634, allocations: 27.55 kB / 1.001 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.7635, allocations: 135 kB / 1.001 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.7635, allocations: 58.86 kB / 1.001 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.7635, allocations: 37.61 kB / 1.001 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.7637, allocations: 330.4 kB / 1.002 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.7639, allocations: 69.83 kB / 1.002 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.7641, allocations: 104.1 kB / 1.002 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.7644, allocations: 168 kB / 1.002 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7644, allocations: 1.5 kB / 1.002 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004359/0.7649, allocations: 221.5 kB / 1.002 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.7649, allocations: 6.25 kB / 1.002 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.7649, allocations: 1.344 kB / 1.002 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.7649, allocations: 6.344 kB / 1.002 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.7651, allocations: 29.12 kB / 1.002 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.7651, allocations: 7.234 kB / 1.002 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.7653, allocations: 23.36 kB / 1.002 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.7653, allocations: 6.344 kB / 1.002 GB, free: 17.55 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.0001424/0.7654, allocations: 145.9 kB / 1.002 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.7655, allocations: 22.36 kB / 1.002 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.93e-05/0.7655, allocations: 34.19 kB / 1.002 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.7655, allocations: 0.6875 kB / 1.002 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7655, allocations: 2.906 kB / 1.002 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.7656, allocations: 0 / 1.002 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.7666, allocations: 0.6558 MB / 1.003 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.7666, allocations: 2.469 kB / 1.003 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.7668, allocations: 28.78 kB / 1.003 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.7668, allocations: 3.25 kB / 1.003 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.872e-05/0.7668, allocations: 9.594 kB / 1.003 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.7668, allocations: 6.719 kB / 1.003 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.7668, allocations: 5.938 kB / 1.003 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004996/0.7673, allocations: 353.7 kB / 1.003 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.7674, allocations: 38.17 kB / 1.003 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.7674, allocations: 4.984 kB / 1.003 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.7676, allocations: 13.22 kB / 1.004 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.7677, allocations: 16.08 kB / 1.004 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.7677, allocations: 8.031 kB / 1.004 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001886/0.7679, allocations: 184.1 kB / 1.004 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7679, allocations: 0.5938 kB / 1.004 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003925/0.7683, allocations: 60.92 kB / 1.004 GB, free: 16.79 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.0009723/0.7692, allocations: 0.9232 MB / 1.005 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004662/0.7697, allocations: 171.8 kB / 1.005 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7697, allocations: 1.594 kB / 1.005 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.7699, allocations: 94.28 kB / 1.005 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007241/0.7707, allocations: 125.2 kB / 1.005 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.7739, allocations: 2.469 MB / 1.007 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.7742, allocations: 0.7543 MB / 1.008 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002163/0.7744, allocations: 62.09 kB / 1.008 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.7745, allocations: 65.91 kB / 1.008 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.7745, allocations: 0 / 1.008 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/0.8076, allocations: 7.106 MB / 1.015 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.32, allocations: 7.109 kB / 1.015 GB, free: 13.4 MB / 0.7325 GB " [Timeout remaining time 649] (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: 15.357850500000495] Failed to read output from testmodel.py, exit status != 0: 11.41806423899834 11.429126255 10.67003117 Calling exit ...