Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.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.001374/0.001374, allocations: 110.5 kB / 17.12 MB, free: 6.008 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.001491/0.001491, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.558/1.558, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.025/1.025, allocations: 150 MB / 459.5 MB, free: 5.668 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001967/0.001967, allocations: 73.2 kB / 0.6361 GB, free: 30.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.185, allocations: 89.13 MB / 0.7232 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.8179/1.003, allocations: 243.9 MB / 0.9613 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01221/1.015, allocations: 7.245 MB / 0.9684 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002441/1.018, allocations: 73.41 kB / 0.9685 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002617/1.02, allocations: 0.7326 MB / 0.9692 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0065/1.027, allocations: 2.163 MB / 0.9713 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005572/1.032, allocations: 2.056 MB / 0.9733 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005269/1.038, allocations: 3.28 MB / 0.9765 GB, free: 9.328 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/1.039, allocations: 0.9251 MB / 0.9774 GB, free: 8.719 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005853/1.045, allocations: 2.16 MB / 0.9795 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002843/1.048, allocations: 0.9962 MB / 0.9805 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003428/1.048, allocations: 121.8 kB / 0.9806 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006408/1.055, allocations: 2.608 MB / 0.9832 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008574/1.056, allocations: 473.3 kB / 0.9836 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001874/1.058, allocations: 0.7223 MB / 0.9843 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0084/1.066, allocations: 2.701 MB / 0.9869 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/1.066, allocations: 0 / 0.9869 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.845e-06/1.066, allocations: 0 / 0.9869 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001209/1.066, allocations: 0 / 0.9869 GB, free: 2.633 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.005764/1.072, allocations: 1.771 MB / 0.9887 GB, free: 0.8086 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.927e-05/1.072, allocations: 8.031 kB / 0.9887 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001953/1.072, allocations: 122.8 kB / 0.9888 GB, free: 0.6719 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003003/1.075, allocations: 434.7 kB / 0.9892 GB, free: 252 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/1.078, allocations: 1.039 MB / 0.9902 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.919e-05/1.078, allocations: 62 kB / 0.9903 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/1.078, allocations: 95.92 kB / 0.9904 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/1.08, allocations: 0.8624 MB / 0.9912 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/1.08, allocations: 0 / 0.9912 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.61e-05/1.08, allocations: 32 kB / 0.9913 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-05/1.08, allocations: 29.98 kB / 0.9913 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/1.082, allocations: 0.812 MB / 0.9921 GB, free: 13.27 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.006177/1.088, allocations: 3.733 MB / 0.9957 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/1.09, allocations: 1.062 MB / 0.9968 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006735/1.09, allocations: 343.5 kB / 0.9971 GB, free: 7.711 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007715/1.091, allocations: 408.9 kB / 0.9975 GB, free: 7.238 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/1.091, allocations: 39.12 kB / 0.9975 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 2.474e-06/1.091, allocations: 0 / 0.9975 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.002457/1.094, allocations: 0.9629 MB / 0.9985 GB, free: 6.219 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/1.094, allocations: 59.97 kB / 0.9985 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/1.095, allocations: 0.8484 MB / 0.9993 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.491e-05/1.095, allocations: 41.7 kB / 0.9994 GB, free: 5.23 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/1.096, allocations: 484.8 kB / 0.9998 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/1.096, allocations: 230 kB / 1 GB, free: 4.523 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/1.096, allocations: 110.2 kB / 1 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001587/1.096, allocations: 330 kB / 1 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005515/1.097, allocations: 255 kB / 1.001 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006651/1.098, allocations: 371.4 kB / 1.001 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/1.099, allocations: 0.5891 MB / 1.002 GB, free: 2.828 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/1.099, allocations: 0 / 1.002 GB, free: 2.828 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001638/1.1, allocations: 0.7482 MB / 1.002 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/1.101, allocations: 4 kB / 1.002 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/1.101, allocations: 0 / 1.002 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/1.101, allocations: 4 kB / 1.002 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/1.101, allocations: 127.9 kB / 1.003 GB, free: 1.945 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/1.101, allocations: 10.36 kB / 1.003 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009409/1.102, allocations: 71.7 kB / 1.003 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/1.102, allocations: 27.94 kB / 1.003 GB, free: 1.844 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009356/1.103, allocations: 0.4932 MB / 1.003 GB, free: 1.344 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006315/1.104, allocations: 363.4 kB / 1.003 GB, free: 0.957 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001116/1.105, allocations: 0.5813 MB / 1.004 GB, free: 368 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.254e-06/1.105, allocations: 0 / 1.004 GB, free: 368 kB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001567/1.106, allocations: 0.7286 MB / 1.005 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/1.106, allocations: 4.781 kB / 1.005 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/1.106, allocations: 4.125 kB / 1.005 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/1.106, allocations: 4 kB / 1.005 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005873/1.107, allocations: 131.8 kB / 1.005 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/1.107, allocations: 3.984 kB / 1.005 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009245/1.108, allocations: 59.7 kB / 1.005 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/1.108, allocations: 23.98 kB / 1.005 GB, free: 15.4 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * 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.0002599/1.108, allocations: 221 kB / 1.005 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/1.109, allocations: 107.3 kB / 1.005 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/1.11, allocations: 0.7354 MB / 1.006 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/1.11, allocations: 8 kB / 1.006 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.11, allocations: 0 / 1.006 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001401/1.112, allocations: 0.8994 MB / 1.007 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004179/1.116, allocations: 2.263 MB / 1.009 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/1.116, allocations: 4 kB / 1.009 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006997/1.117, allocations: 136.8 kB / 1.009 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/1.117, allocations: 4 kB / 1.009 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.567e-05/1.117, allocations: 16 kB / 1.009 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.425e-05/1.117, allocations: 8 kB / 1.009 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.117, allocations: 352 / 1.009 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/1.119, allocations: 1.242 MB / 1.01 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008683/1.12, allocations: 268.5 kB / 1.011 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002801/1.12, allocations: 20.94 kB / 1.011 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000874/1.121, allocations: 39.89 kB / 1.011 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/1.121, allocations: 48.33 kB / 1.011 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.167e-05/1.121, allocations: 23.98 kB / 1.011 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001154/1.123, allocations: 0.5904 MB / 1.011 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.123, allocations: 3.938 kB / 1.011 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001812/1.124, allocations: 0.538 MB / 1.012 GB, free: 7.914 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * 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.003078/1.127, allocations: 1.906 MB / 1.014 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002282/1.13, allocations: 0.8923 MB / 1.015 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.13, allocations: 0 / 1.015 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006933/1.13, allocations: 330.1 kB / 1.015 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003485/1.134, allocations: 0.6076 MB / 1.016 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/1.149, allocations: 7.667 MB / 1.023 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/1.15, allocations: 1.128 MB / 1.024 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001211/1.151, allocations: 300.1 kB / 1.024 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007321/1.152, allocations: 411.3 kB / 1.025 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of SimCode: time 1.653e-06/1.152, allocations: 0 / 1.025 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07434/1.226, allocations: 29.53 MB / 1.054 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/11.47, allocations: 4 kB / 1.054 GB, free: 13.25 MB / 0.7637 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.536129927029833] Failed to read output from testmodel.py, exit status != 0: 11.562813007971272 11.583959151 10.513784475 Calling exit ...